Connecting Your Wallet
Lotto Balls uses Web3 wallet integration for secure, decentralized gameplay. This guide covers wallet setup and connection.
Supported Wallets
Lotto Balls supports any wallet compatible with WalletConnect and RainbowKit, including:
MetaMask - Browser extension and mobile app
Coinbase Wallet - Browser extension and mobile app
Rainbow - Mobile-first wallet
WalletConnect - Connect any compatible mobile wallet
Prerequisites
Before connecting, ensure you have:
A supported wallet installed
The wallet configured for the correct network
Sufficient funds for gameplay:
USDC or LTB tokens for betting
ETH for gas fees
A LAZER whitelist token for game access
Connection Steps
Desktop (Browser Extension)
Click "Connect Wallet" on the Lotto Balls app
Select your wallet from the modal
Approve the connection in your wallet extension
Your wallet address will appear in the app header
Mobile (WalletConnect)
Tap "Connect Wallet" on the Lotto Balls app
Select "WalletConnect"
Scan the QR code with your mobile wallet
Approve the connection request in your wallet app
Token Approvals
Before your first bet with each token type, you'll need to approve the Lotto Balls contract to spend your tokens:
USDC Approval
When placing your first USDC bet, your wallet will prompt you to approve USDC spending. You can approve:
The exact amount for one bet
An unlimited amount (more convenient, fewer transactions)
LTB Approval
Similarly, your first LTB bet requires approving the LTB token. The dynamic cost means you may want to approve a larger amount to avoid repeated approvals.
Troubleshooting
Wallet Not Connecting
Ensure your wallet extension is unlocked
Try refreshing the page
Check that you're on the correct network
Transaction Failing
Ensure sufficient ETH for gas
Check token approvals are in place
Verify you don't have a pending bet
Wrong Network
Switch to the correct network in your wallet
The app will prompt you if you're on the wrong network
Security Tips
Never share your seed phrase or private keys
Verify you're on the official Lotto Balls website
Review transaction details before confirming
Consider using a hardware wallet for large amounts
Last updated