Skip to content

Commit b229abc

Browse files
committed
config: preconfigure mainnet and testnet
1 parent 5908c6b commit b229abc

File tree

3 files changed

+53
-25
lines changed

3 files changed

+53
-25
lines changed

bot.mainnet.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
propose-time-window = 3600
2+
challenge-time-window = 604800
3+
4+
[rpcs]
5+
l1-rpc = "$OPBNB_BRIDGE_BOT_L1_RPC"
6+
l2-rpc = "$OPBNB_BRIDGE_BOT_L2_RPC"
7+
8+
[tx-signer]
9+
privkey = "$OPBNB_BRIDGE_BOT_PRIVKEY"
10+
gas-price = 9000000000
11+
12+
[db]
13+
host = "$OPBNB_BRIDGE_BOT_DB_HOST"
14+
port = $OPBNB_BRIDGE_BOT_DB_PORT
15+
user = "$OPBNB_BRIDGE_BOT_DB_USER"
16+
password = "$OPBNB_BRIDGE_BOT_DB_PASSWORD"
17+
name = "$OPBNB_BRIDGE_BOT_DB_NAME"
18+
19+
[l1-contracts]
20+
optimism-portal = "0x1876EA7702C0ad0C6A2ae6036DE7733edfBca519"
21+
l2-output-oracle = "0x153CAB79f4767E2ff862C94aa49573294B13D169"
22+
l1-cross-domain-messenger = "0xd95D508f13f7029CCF0fb61984d5dfD11b879c4f"
23+
24+
[l2-standard-bridge-bot]
25+
contract_address = "$OPBNB_BRIDGE_BOT_L2_STANDARD_BRIDGE_BOT"
26+
log-filter-block-range = 1000

bot.testnet.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
propose-time-window = 240
2+
challenge-time-window = 3
3+
l2-starting-number = $OPBNB_BRIDGE_BOT_L2_STARTING_NUMBER
4+
5+
[rpcs]
6+
l1-rpc = "$OPBNB_BRIDGE_BOT_L1_RPC"
7+
l2-rpc = "$OPBNB_BRIDGE_BOT_L2_RPC"
8+
9+
[tx-signer]
10+
privkey = "$OPBNB_BRIDGE_BOT_PRIVKEY"
11+
gas-price = 9000000000
12+
13+
[db]
14+
host = "$OPBNB_BRIDGE_BOT_DB_HOST"
15+
port = $OPBNB_BRIDGE_BOT_DB_PORT
16+
user = "$OPBNB_BRIDGE_BOT_DB_USER"
17+
password = "$OPBNB_BRIDGE_BOT_DB_PASSWORD"
18+
name = "$OPBNB_BRIDGE_BOT_DB_NAME"
19+
20+
[l1-contracts]
21+
optimism-portal = "0x4386c8abf2009ac0c263462da568dd9d46e52a31"
22+
l2-output-oracle = "0xff2394bb843012562f4349c6632a0ecb92fc8810"
23+
l1-cross-domain-messenger = "0xd506952e78eecd5d4424b1990a0c99b1568e7c2c"
24+
25+
[l2-standard-bridge-bot]
26+
contract-address = "0x62fa6549e240076D466E1150ce587905c55f12F1"
27+
log-filter-block-range = 1000

bot.toml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)