Files
proxmox/docs/testnet/TESTNET_DEPLOYMENT.md

86 lines
1.5 KiB
Markdown
Raw Normal View History

# Testnet Deployment Guide
**Last Updated:** 2026-01-31
**Document Version:** 1.0
**Status:** Active Documentation
**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)