Files
smom-dbis-138/docs/deployment/AUTOMATED_DEPLOYMENT_READY.md
2026-03-02 12:14:09 -08:00

98 lines
2.1 KiB
Markdown

# 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
```bash
cd /home/intlc/projects/smom-dbis-138
./scripts/deployment/deploy-mainnet-tether-mirror.sh
```
### What It Does
1. **Checks RPC Connection**
- Tests connection to `ETHEREUM_MAINNET_RPC`
- Provides clear error message if connection fails
2. **Deploys MainnetTether**
- Uses deployer address as admin (EOA)
- Automatically verifies on Etherscan
- Updates `.env` with deployed address
3. **Deploys TransactionMirror**
- Uses deployer address as admin (EOA)
- Automatically verifies on Etherscan
- Updates `.env` with deployed address
4. **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:
```bash
./scripts/deployment/deploy-mainnet-tether-mirror.sh
```
The script will:
- ✅ Test RPC connection
- ✅ Deploy MainnetTether
- ✅ Deploy TransactionMirror
- ✅ Update `.env` with 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