- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
82 lines
1.5 KiB
Markdown
82 lines
1.5 KiB
Markdown
# Testnet Deployment Guide
|
|
|
|
**Purpose**: Guide for deploying and testing on testnets
|
|
|
|
---
|
|
|
|
## 🧪 Testnet Options
|
|
|
|
### Recommended Testnets
|
|
|
|
1. **Sepolia** (Ethereum testnet)
|
|
2. **Mumbai** (Polygon testnet)
|
|
3. **BSC Testnet**
|
|
4. **Avalanche Fuji**
|
|
|
|
---
|
|
|
|
## 📋 Testnet Deployment Steps
|
|
|
|
### 1. Configure Testnet RPC
|
|
|
|
Add testnet RPC URLs to `.env`:
|
|
```bash
|
|
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/YOUR_KEY
|
|
MUMBAI_RPC_URL=https://polygon-mumbai.infura.io/v3/YOUR_KEY
|
|
BSC_TESTNET_RPC_URL=https://data-seed-prebsc-1-s1.binance.org:8545
|
|
```
|
|
|
|
### 2. Deploy Contracts
|
|
|
|
```bash
|
|
# Deploy to Sepolia
|
|
forge script script/DeployCCIPWETH9Bridge.s.sol:DeployCCIPWETH9Bridge \
|
|
--rpc-url $SEPOLIA_RPC_URL \
|
|
--broadcast \
|
|
--verify
|
|
```
|
|
|
|
### 3. Configure Destinations
|
|
|
|
```bash
|
|
# Configure testnet destinations
|
|
bash scripts/configure-bridge-destinations.sh --testnet
|
|
```
|
|
|
|
### 4. Test Transfers
|
|
|
|
```bash
|
|
# Test small transfer
|
|
bash scripts/test-bridge-transfers.sh sepolia 0.01 weth9
|
|
```
|
|
|
|
---
|
|
|
|
## ✅ Testnet Checklist
|
|
|
|
- [ ] Deploy contracts to testnet
|
|
- [ ] Configure destination chains
|
|
- [ ] Test small transfers
|
|
- [ ] Verify cross-chain messages
|
|
- [ ] Test error scenarios
|
|
- [ ] Monitor testnet activity
|
|
|
|
---
|
|
|
|
## 🔄 Testnet Maintenance
|
|
|
|
### Regular Testing
|
|
- Run test suite weekly
|
|
- Test new features on testnet first
|
|
- Monitor testnet for issues
|
|
|
|
### Testnet Monitoring
|
|
- Monitor testnet bridge activity
|
|
- Track testnet gas prices
|
|
- Review testnet transactions
|
|
|
|
---
|
|
|
|
**Last Updated**: $(date)
|
|
|