Wallet Best Practices for Development
Recommended Wallet Setup
✅ Use Separate Wallets
For Local Testing:
- Use a test wallet with testnet tokens only
- Create a new MetaMask account or use a separate wallet
- Fund it with Sepolia ETH from a faucet
- Never use your main wallet or deployment wallet
For Deployment:
- Use a dedicated deployment wallet
- Keep private keys secure (hardware wallet recommended)
- Separate from testing wallet
- Separate from personal wallet
For Personal Use:
- Use your main wallet only for production interactions
- Never use for testing or deployment
Why Separate Wallets?
- Security: If test wallet is compromised, main funds are safe
- Organization: Clear separation of test vs production
- Safety: Prevents accidental transactions on wrong network
- Best Practice: Industry standard for development
Setting Up Test Wallet
Option 1: New MetaMask Account
- Open MetaMask
- Click account icon (top right)
- Click "Create Account"
- Name it "CR8 Testing" or "Sepolia Test"
- Switch to this account for testing
- Get Sepolia ETH from faucet:
Option 2: Import Test Wallet
- Create a new wallet (write down seed phrase)
- Import into MetaMask
- Use only for testing
- Fund with testnet tokens only
Network Configuration Warnings
The warnings you're seeing are MetaMask network validation warnings. They're usually safe to ignore for testing, but here's how to fix them:
Fix Network Warnings
Add Sepolia Network Properly:
- Network Name:
Sepolia - RPC URL:
https://sepolia.infura.io/v3/YOUR_INFURA_KEYorhttps://rpc.sepolia.org - Chain ID:
11155111 - Currency Symbol:
ETH - Block Explorer:
https://sepolia.etherscan.io
- Network Name:
Or Use MetaMask's Built-in Sepolia:
- MetaMask has Sepolia pre-configured
- Go to Settings → Networks → Add Network
- Search for "Sepolia" and add it
Current Setup Recommendations
For Local Testing:
- ✅ Use test wallet with Sepolia ETH
- ✅ Use Sepolia network (Chain ID: 11155111)
- ✅ Test all features before deployment
- ✅ Use test tokens only
For Deployment:
- ✅ Use deployment wallet (separate from test wallet)
- ✅ Use same Sepolia network
- ✅ Verify all contract addresses
- ✅ Test deployment on testnet first
Security Checklist
- [ ] Test wallet separate from main wallet
- [ ] Test wallet separate from deployment wallet
- [ ] Test wallet only has testnet tokens
- [ ] Never share test wallet seed phrase
- [ ] Deployment wallet uses hardware wallet (if possible)
- [ ] Main wallet never used for testing
Testing Workflow
Setup:
- Create test wallet
- Fund with Sepolia ETH
- Configure network properly
Test Locally:
- Connect test wallet to
localhost:3000 - Test all features
- Verify transactions work
- Connect test wallet to
Deploy to Testnet:
- Use deployment wallet
- Deploy contracts
- Test with test wallet
Production:
- Use main wallet (if needed)
- Only after thorough testing