Files
proxmox/docs/testnet/TESTNET_DEPLOYMENT.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

86 lines
1.5 KiB
Markdown

# 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)