Skip to content

Commit a02b89d

Browse files
committed
config: preconfigure mainnet and testnet
1 parent c75dfe7 commit a02b89d

File tree

3 files changed

+52
-25
lines changed

3 files changed

+52
-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 = "0.0.0.0"
14+
port = 5434
15+
user = "db_username"
16+
password = "db_password"
17+
name = "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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
propose-time-window = 240
2+
challenge-time-window = 3
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 = "0.0.0.0"
14+
port = 5434
15+
user = "db_username"
16+
password = "db_password"
17+
name = "db_name"
18+
19+
[l1-contracts]
20+
optimism-portal = "0x4386c8abf2009ac0c263462da568dd9d46e52a31"
21+
l2-output-oracle = "0xff2394bb843012562f4349c6632a0ecb92fc8810"
22+
l1-cross-domain-messenger = "0xd506952e78eecd5d4424b1990a0c99b1568e7c2c"
23+
24+
[l2-standard-bridge-bot]
25+
contract-address = "0x69Da49E2cD911490CD9c58441D1f8456135930F1"
26+
log-filter-block-range = 1000

bot.toml

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

0 commit comments

Comments
 (0)