linea: Added constants and env file
This commit is contained in:
parent
8624e5ae9a
commit
d46d6364b2
|
@ -0,0 +1,23 @@
|
|||
# Linea mainnet env
|
||||
# Rename to .env
|
||||
|
||||
# Common config for forge deployment
|
||||
RPC_URL=https://rpc.linea.build
|
||||
FORGE_ARGS="--slow"
|
||||
|
||||
# Wormhole Core Migrations
|
||||
INIT_SIGNERS=["0x58CC3AE5C097b213cE3c81979e1B9f9570746AA5"]
|
||||
INIT_CHAIN_ID=38
|
||||
INIT_GOV_CHAIN_ID=0x1
|
||||
INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004
|
||||
INIT_EVM_CHAIN_ID=59144
|
||||
|
||||
# Bridge Migrations
|
||||
BRIDGE_INIT_CHAIN_ID=38
|
||||
BRIDGE_INIT_GOV_CHAIN_ID=0x1
|
||||
BRIDGE_INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004
|
||||
|
||||
# https://github.com/Consensys/linea-token-list/blob/main/json/linea-mainnet-token-shortlist.json#L826
|
||||
BRIDGE_INIT_WETH=0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f
|
||||
BRIDGE_INIT_FINALITY=1
|
||||
|
|
@ -188,9 +188,9 @@ const Mainnet = {
|
|||
chain_id: undefined,
|
||||
},
|
||||
Linea: {
|
||||
rpc: undefined,
|
||||
key: undefined,
|
||||
chain_id: undefined,
|
||||
rpc: "https://rpc.linea.build",
|
||||
key: getEnvVar("ETH_KEY"),
|
||||
chain_id: 59144,
|
||||
},
|
||||
Berachain: {
|
||||
rpc: undefined,
|
||||
|
|
|
@ -331,8 +331,8 @@ const MAINNET = {
|
|||
nft_bridge: undefined,
|
||||
},
|
||||
linea: {
|
||||
core: undefined,
|
||||
token_bridge: undefined,
|
||||
core: "0x0C56aebD76E6D9e4a1Ec5e94F4162B4CBbf77b32",
|
||||
token_bridge: "0x167E0752de62cb76EFc0Fbb165Bd342c6e2Bb251",
|
||||
nft_bridge: undefined,
|
||||
},
|
||||
berachain: {
|
||||
|
|
Loading…
Reference in New Issue