Skip to content

Commit

Permalink
deploy on linea
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Nov 21, 2023
1 parent 4ea9a68 commit 7fce85f
Show file tree
Hide file tree
Showing 2 changed files with 9 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 @@ -35,6 +35,9 @@
},
"op": {
"LayerZeroMessager": "0x61B6B8c7C00aA7F060a2BEDeE6b11927CC9c3eF1"
},
"linea": {
"LayerZeroMessager": "0x61B6B8c7C00aA7F060a2BEDeE6b11927CC9c3eF1"
}
},
"ProxyAdmin": {
Expand Down Expand Up @@ -73,7 +76,8 @@
"zkSync": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
"scroll": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
"bsc": "0x55d398326f99059fF775485246999027B3197955",
"op": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"
"op": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
"linea": "0xA219439258ca9da29E9Cc4cE5596924745e12B93"
},
"usdc": {
"arbitrum": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
Expand Down
6 changes: 4 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,8 @@ async function deployCreate2Deployer(networkUrl, version) {
from: w.address,
to: "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7",
data: `${salt}${bytecode.slice(2)}`,
gasPrice: 10000000,
gasPrice: 2100000000,
nonce: 0,
};
const tx = await w.sendTransaction(unsignedTransaction);
console.log(`deploy create2 tx: ${tx.hash}, salt: ${salt}`);
Expand All @@ -39,7 +40,8 @@ async function main() {
//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');
//await deployCreate2Deployer('https://optimism.llamarpc.com', 'v1.0.0');
await deployCreate2Deployer('https://rpc.linea.build', 'v1.0.0');
}

main()
Expand Down

0 comments on commit 7fce85f

Please sign in to comment.