2.1 KiB
2.1 KiB
Automated Deployment Ready
Date: 2025-12-11 Status: Scripts Ready - Awaiting RPC Configuration
🚀 Automated Deployment Script
A deployment script has been created that will automatically deploy both contracts once the RPC is configured:
Script: scripts/deployment/deploy-mainnet-tether-mirror.sh
Usage
cd /home/intlc/projects/smom-dbis-138
./scripts/deployment/deploy-mainnet-tether-mirror.sh
What It Does
-
Checks RPC Connection
- Tests connection to
ETHEREUM_MAINNET_RPC - Provides clear error message if connection fails
- Tests connection to
-
Deploys MainnetTether
- Uses deployer address as admin (EOA)
- Automatically verifies on Etherscan
- Updates
.envwith deployed address
-
Deploys TransactionMirror
- Uses deployer address as admin (EOA)
- Automatically verifies on Etherscan
- Updates
.envwith deployed address
-
Provides Summary
- Shows deployed addresses
- Provides Etherscan links
- Lists next steps
⚠️ Current Blocker
Infura RPC Authentication Issue
The script will automatically detect this and provide instructions:
❌ RPC connection failed!
Please fix the Infura RPC configuration:
1. Go to https://infura.io/
2. Project ID: (set in .env as INFURA_PROJECT_ID)
3. Settings → Disable 'Private Key Only'
4. Save and run this script again
✅ Once RPC is Fixed
Simply run the script again:
./scripts/deployment/deploy-mainnet-tether-mirror.sh
The script will:
- ✅ Test RPC connection
- ✅ Deploy MainnetTether
- ✅ Deploy TransactionMirror
- ✅ Update
.envwith addresses - ✅ Provide summary with Etherscan links
📋 Configuration
Deployer: 0x4A666F96fC8764181194447A7dFdb7d471b301C8
Admin: Deployer address (EOA - no multisig)
RPC: $ETHEREUM_MAINNET_RPC (from .env)
Verification: Automatic via --verify flag
📝 Deployment Logs
- MainnetTether:
/tmp/mainnet_tether_deploy.log - TransactionMirror:
/tmp/transaction_mirror_deploy.log
Last Updated: 2025-12-11 Status: Ready for Automated Deployment