Optimism testnet deploy (#1661)
* ethereum: add optimism testnet
* sdk/js: add optimism testnet
* ethereum: put back network id
* Revert "ethereum: put back network id"
This reverts commit 71f68c50d2
.
* ethereum: put back network id
* ethereum: file cleanup
This commit is contained in:
parent
97617cb5ce
commit
0f7ddda602
|
@ -7,3 +7,12 @@ INIT_CHAIN_ID=24
|
|||
INIT_GOV_CHAIN_ID=0x1
|
||||
INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004
|
||||
INIT_EVM_CHAIN_ID=420
|
||||
|
||||
# Bridge Migrations
|
||||
BRIDGE_INIT_CHAIN_ID=24
|
||||
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
|
|
@ -18,10 +18,7 @@ module.exports = {
|
|||
},
|
||||
ethereum: {
|
||||
provider: () =>
|
||||
new HDWalletProvider(
|
||||
process.env.MNEMONIC,
|
||||
"https://rpc.ankr.com/eth",
|
||||
),
|
||||
new HDWalletProvider(process.env.MNEMONIC, "https://rpc.ankr.com/eth"),
|
||||
network_id: 1,
|
||||
confirmations: 1,
|
||||
timeoutBlocks: 200,
|
||||
|
@ -31,7 +28,7 @@ module.exports = {
|
|||
provider: () =>
|
||||
new HDWalletProvider(
|
||||
process.env.MNEMONIC,
|
||||
"https://rpc.ankr.com/eth_rinkeby",
|
||||
"https://rpc.ankr.com/eth_rinkeby"
|
||||
),
|
||||
network_id: 4,
|
||||
gas: 5500000,
|
||||
|
@ -91,7 +88,7 @@ module.exports = {
|
|||
provider: () => {
|
||||
return new HDWalletProvider(
|
||||
process.env.MNEMONIC,
|
||||
"https://rpc.ankr.com/polygon_mumbai",
|
||||
"https://rpc.ankr.com/polygon_mumbai"
|
||||
);
|
||||
},
|
||||
network_id: "80001",
|
||||
|
@ -230,7 +227,10 @@ module.exports = {
|
|||
klaytn: {
|
||||
// Note that Klaytn works with version 5.3.14 of truffle, but not some of the newer versions.
|
||||
provider: () => {
|
||||
return new KLAYHDWalletProvider(process.env.MNEMONIC, "https://public-node-api.klaytnapi.com/v1/cypress");
|
||||
return new KLAYHDWalletProvider(
|
||||
process.env.MNEMONIC,
|
||||
"https://public-node-api.klaytnapi.com/v1/cypress"
|
||||
);
|
||||
},
|
||||
network_id: "8217", //Klaytn mainnet's network id
|
||||
gas: "8500000",
|
||||
|
@ -300,7 +300,8 @@ module.exports = {
|
|||
gas: 3000000000,
|
||||
gasPrice: 443065000000,
|
||||
},
|
||||
arbitrum: { // 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: {
|
||||
// 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)
|
||||
provider: () => {
|
||||
return new HDWalletProvider(
|
||||
process.env.MNEMONIC,
|
||||
|
@ -331,7 +332,8 @@ module.exports = {
|
|||
provider: () => {
|
||||
return new HDWalletProvider(
|
||||
process.env.MNEMONIC,
|
||||
"https://goerli.optimism.io"
|
||||
"https://rpc.ankr.com/optimism_testnet"
|
||||
// "https://goerli.optimism.io" <== This didn't work for testnet
|
||||
);
|
||||
},
|
||||
network_id: 420,
|
||||
|
|
|
@ -346,9 +346,9 @@ const TESTNET = {
|
|||
nft_bridge: "0xEe3dB83916Ccdc3593b734F7F2d16D630F39F1D0",
|
||||
},
|
||||
optimism: {
|
||||
core: "0xE4eacc10990ba3308DdCC72d985f2a27D20c7d03",
|
||||
token_bridge: undefined,
|
||||
nft_bridge: undefined,
|
||||
core: "0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35",
|
||||
token_bridge: "0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e",
|
||||
nft_bridge: "0x23908A62110e21C04F3A4e011d24F901F911744A",
|
||||
},
|
||||
gnosis: {
|
||||
core: "0xE4eacc10990ba3308DdCC72d985f2a27D20c7d03",
|
||||
|
|
Loading…
Reference in New Issue