Skip to content

Commit

Permalink
deploy on op & bsc
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Nov 21, 2023
1 parent 8299a5b commit 4ea9a68
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion helix-contract/address/ln-product.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
},
"base": {
"LayerZeroMessager": "0x61B6B8c7C00aA7F060a2BEDeE6b11927CC9c3eF1"
},
"op": {
"LayerZeroMessager": "0x61B6B8c7C00aA7F060a2BEDeE6b11927CC9c3eF1"
}
},
"ProxyAdmin": {
Expand Down Expand Up @@ -69,7 +72,8 @@
"mantle": "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE",
"zkSync": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
"scroll": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
"bsc": "0x55d398326f99059fF775485246999027B3197955"
"bsc": "0x55d398326f99059fF775485246999027B3197955",
"op": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"
},
"usdc": {
"arbitrum": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
Expand Down
8 changes: 6 additions & 2 deletions helix-contract/deploy/deploy_ln_create2.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function deployCreate2Deployer(networkUrl, version) {
from: w.address,
to: "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7",
data: `${salt}${bytecode.slice(2)}`,
gasPrice: 100000000,
gasPrice: 10000000,
};
const tx = await w.sendTransaction(unsignedTransaction);
console.log(`deploy create2 tx: ${tx.hash}, salt: ${salt}`);
Expand All @@ -35,7 +35,11 @@ async function main() {
//await deployCreate2Deployer('https://rpc.testnet.mantle.xyz', 'v1.0.0');
//await deployCreate2Deployer('https://rpc.goerli.linea.build', 'v1.0.0');
//await deployCreate2Deployer('https://arb1.arbitrum.io/rpc', 'v1.0.0');
await deployCreate2Deployer('https://rpc.mantle.xyz', 'v1.0.0');
//await deployCreate2Deployer('https://rpc.mantle.xyz', 'v1.0.0');
//await deployCreate2Deployer('https://crab-rpc.darwinia.network', 'v1.0.0');
//await deployCreate2Deployer('https://binance.llamarpc.com', 'v1.0.0');
//await deployCreate2Deployer('https://mainnet.base.org', 'v1.0.0');
await deployCreate2Deployer('https://optimism.llamarpc.com', 'v1.0.0');
}

main()
Expand Down

0 comments on commit 4ea9a68

Please sign in to comment.