Transaction Mirroring Service
Off-chain service to monitor ChainID 138 transactions and mirror them to TransactionMirror contract on Ethereum Mainnet.
Configuration
Create .env file:
CHAIN138_RPC_URL=https://rpc-http-pub.d-bis.org
MAINNET_RPC_URL=https://eth.llamarpc.com
PRIVATE_KEY=<wallet-private-key>
MIRROR_ADDRESS=0x4CF42c4F1dBa748601b8938be3E7ABD732E87cE9
BATCH_INTERVAL_MS=60000
Installation
npm install
npm run build
Usage
npm start
Development
npm run dev
See Implementation Guide
See docs/deployment/TASK3_TRANSACTION_MIRRORING_SERVICE.md for detailed implementation guide.