diff --git a/bot.mainnet.toml b/bot.mainnet.toml new file mode 100644 index 0000000..a1c129d --- /dev/null +++ b/bot.mainnet.toml @@ -0,0 +1,26 @@ +propose-time-window = 3600 +challenge-time-window = 604800 + +[rpcs] +l1-rpc = "$OPBNB_BRIDGE_BOT_L1_RPC" +l2-rpc = "$OPBNB_BRIDGE_BOT_L2_RPC" + +[tx-signer] +privkey = "$OPBNB_BRIDGE_BOT_PRIVKEY" +gas-price = 9000000000 + +[db] +host = "0.0.0.0" +port = 5434 +user = "db_username" +password = "db_password" +name = "db_name" + +[l1-contracts] +optimism-portal = "0x1876EA7702C0ad0C6A2ae6036DE7733edfBca519" +l2-output-oracle = "0x153CAB79f4767E2ff862C94aa49573294B13D169" +l1-cross-domain-messenger = "0xd95D508f13f7029CCF0fb61984d5dfD11b879c4f" + +[l2-standard-bridge-bot] +contract_address = "$OPBNB_BRIDGE_BOT_L2_STANDARD_BRIDGE_BOT" +log-filter-block-range = 1000 diff --git a/bot.testnet.toml b/bot.testnet.toml new file mode 100644 index 0000000..7099c88 --- /dev/null +++ b/bot.testnet.toml @@ -0,0 +1,26 @@ +propose-time-window = 240 +challenge-time-window = 3 + +[rpcs] +l1-rpc = "$OPBNB_BRIDGE_BOT_L1_RPC" +l2-rpc = "$OPBNB_BRIDGE_BOT_L2_RPC" + +[tx-signer] +privkey = "$OPBNB_BRIDGE_BOT_PRIVKEY" +gas-price = 9000000000 + +[db] +host = "0.0.0.0" +port = 5434 +user = "db_username" +password = "db_password" +name = "db_name" + +[l1-contracts] +optimism-portal = "0x4386c8abf2009ac0c263462da568dd9d46e52a31" +l2-output-oracle = "0xff2394bb843012562f4349c6632a0ecb92fc8810" +l1-cross-domain-messenger = "0xd506952e78eecd5d4424b1990a0c99b1568e7c2c" + +[l2-standard-bridge-bot] +contract-address = "0x69Da49E2cD911490CD9c58441D1f8456135930F1" +log-filter-block-range = 1000 diff --git a/bot.toml b/bot.toml deleted file mode 100644 index 05852ee..0000000 --- a/bot.toml +++ /dev/null @@ -1,25 +0,0 @@ -[rpcs] -l1-rpc = -l2-rpc = - -[db] -host = "0.0.0.0" -port = 5434 -user = "db_username" -password = "db_password" -name = "db_name" - -[l1-contracts] -address-manager = "0x1111111111111111111111111111111111111111" -system-config = "0x406ac857817708eaf4ca3a82317ef4ae3d1ea23b" -optimism-portal = "0x4386c8abf2009ac0c263462da568dd9d46e52a31" -l2-output-oracle = "0xff2394bb843012562f4349c6632a0ecb92fc8810" -l1-cross-domain-messenger = "0xd506952e78eecd5d4424b1990a0c99b1568e7c2c" -l1-standard-bridge = "0x1111111111111111111111111111111111111111" -# l1-erc721-bridge = "0x17e1454015bfb3377c75be7b6d47b236fd2ddbe7" -l1-erc721-bridge = "0x1111111111111111111111111111111111111111" - -[misc] -l2-standard-bridge-bot = "0x4c3171982cd7f62690f4d6e086b91f434b97332f" -propose-time-window = 60 -challenge-time-window = 60