Deploy contracts to testnet

This commit is contained in:
Bruce Riley 2022-09-27 19:41:01 +00:00 committed by Evan Gray
parent 3177cf7eb5
commit 87d146a261
4 changed files with 17 additions and 8 deletions

View File

@ -247,7 +247,7 @@ const TESTNET = {
key: get_env_var("TERRA_MNEMONIC"),
},
arbitrum: {
rpc: "https://rinkeby.arbitrum.io/rpc",
rpc: "https://goerli-rollup.arbitrum.io/rpc",
key: get_env_var("ETH_KEY_TESTNET"),
},
optimism: {

View File

@ -6,4 +6,13 @@ INIT_SIGNERS=["0x13947Bd48b18E53fdAeEe77F3473391aC727C638"]
INIT_CHAIN_ID=23
INIT_GOV_CHAIN_ID=0x1
INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004
INIT_EVM_CHAIN_ID=421611
INIT_EVM_CHAIN_ID=421613
# Bridge Migrations
BRIDGE_INIT_CHAIN_ID=23
BRIDGE_INIT_GOV_CHAIN_ID=0x1
BRIDGE_INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004
# Not sure if there should be a WETH, confirm this before mainnet deploy!
BRIDGE_INIT_WETH=0x0000000000000000000000000000000000000000
# Not sure if this should be one, confirm this before mainnet deploy!
BRIDGE_INIT_FINALITY=1

View File

@ -300,14 +300,14 @@ module.exports = {
},
network_id: 42161,
},
arbitrum_testnet: { // Note that arbitrum did not work with our standard version of truffle (5.3.14), but it did work with the latest (5.5.22)
arbitrum_testnet: {
provider: () => {
return new HDWalletProvider(
process.env.MNEMONIC,
"https://rinkeby.arbitrum.io/rpc"
"https://goerli-rollup.arbitrum.io/rpc"
);
},
network_id: '*',
network_id: 421613,
},
optimism: {
provider: () => {

View File

@ -341,9 +341,9 @@ const TESTNET = {
nft_bridge: undefined,
},
arbitrum: {
core: "0xE4eacc10990ba3308DdCC72d985f2a27D20c7d03",
token_bridge: undefined,
nft_bridge: undefined,
core: "0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e",
token_bridge: "0x23908A62110e21C04F3A4e011d24F901F911744A",
nft_bridge: "0xEe3dB83916Ccdc3593b734F7F2d16D630F39F1D0",
},
optimism: {
core: "0xE4eacc10990ba3308DdCC72d985f2a27D20c7d03",