Submitting Batches to Initia L1
Batch Submitter
The Batch Submitter is a background process that submits transaction batches to the L1 BatchInbox module.
Step 1: Set Batch Submitter Mnemonic on .env.batch
.env.batch
BATCH_SUBMITTER_MNEMONIC and BRIDGE_ID can be found in $HOME/.minitia/artifacts/config.json
L2_CHAIN_ID
is your minitia's chain ID and bridge executor menmonic found in$HOME/.minitia/artifacts/config.json
BRIDGE_ID
can be found in$HOME/.minitia/artifacts/artifacts.json
Name | Description | Default |
---|---|---|
L1_LCD_URI | L1 node LCD URI | |
L1_RPC_URI | L1 node RPC URI | |
L2_LCD_URI | L2 node LCD URI | |
L2_RPC_URI | L2 node RPC URI | |
BRIDGE_ID | Bridge ID | '' |
BATCH_PORT | Batch submitter port | 5001 |
BATCH_SUBMITTER_MNEMONIC | Mnemonic seed for submitter | '' |
SLACK_WEB_HOOK | Slack web hook for notification (optional) | '' |
BATCH_CHAIN_ID | DA chain's chain-id | |
BATCH_CHAIN_RPC_URI | DA chain node RPC URI | L1_RPC_URI if target is l1 |
BATCH_LCD_URI | DA chain node LCD URI | |
BATCH_GAS_PRICES | Gas prices for DA chain | |
BATCH_DENOM | Fee denom for DA chain | |
CELESTIA_NAMESPACE_ID | Celestia namespace id (optional) | '' |
PUBLISH_BATCH_TARGET | Target chain to publish batch (supports: ['l1', 'celestia']) | 'l1' |
ENABLE_API_ONLY | Enable API only mode (optional) | false |
Step 2: Run the Batch Submitter Bot
Last updated