2021-07-20 10:59:56 -07:00
|
|
|
# Network Config
|
2022-05-20 06:16:24 -07:00
|
|
|
MIGRATIONS_DIR= # ./migrations/prod
|
|
|
|
MIGRATIONS_NETWORK= # xyz
|
|
|
|
|
|
|
|
# IF network needs it
|
2021-07-20 10:59:56 -07:00
|
|
|
INFURA_KEY=
|
|
|
|
|
|
|
|
# Verification
|
|
|
|
ETHERSCAN_KEY=
|
|
|
|
|
2022-05-20 06:16:24 -07:00
|
|
|
# Wormhole Receiver (if needed) # Example Format
|
|
|
|
INIT_SIGNERS= # ["0x0000000000000000000000000000000000000000"]
|
|
|
|
INIT_GOV_CHAIN_ID= # 0x1
|
|
|
|
INIT_GOV_CONTRACT= # 0x000000000000000000000000000000000000000000000000000000000000004
|
2021-08-03 07:53:47 -07:00
|
|
|
|
|
|
|
# Pyth Migrations # Example Format
|
2022-05-20 06:16:24 -07:00
|
|
|
WORMHOLE_BRIDGE_ADDRESS # 0x68605AD7b15c732a30b1BbC62BE8F2A509D74b4D (only if wormhole exists)
|
2022-09-06 04:03:21 -07:00
|
|
|
SOLANA_CHAIN_ID= # 0x1
|
|
|
|
SOLANA_EMITTER= # 0xf346195ac02f37d60d4db8ffa6ef74cb1be3550047543a4a9ee9acf4d78697b0
|
|
|
|
PYTHNET_CHAIN_ID= # 0x1a
|
|
|
|
PYTHNET_EMITTER= # 0xa27839d641b07743c0cb5f68c51f8cd31d2c0762bec00dc6fcd25433ef1ab5b6
|
2022-08-22 11:13:13 -07:00
|
|
|
|
|
|
|
# The duration that a price feed stored in the contract is considered to be
|
|
|
|
# valid, after this duration, the price feed is stale and will be invalid.
|
|
|
|
# This value should derive from Pyth to wormhole latency, and target chain blocktime and latency.
|
|
|
|
VALID_TIME_PERIOD_SECONDS= # 60
|
2022-09-20 09:24:57 -07:00
|
|
|
|
|
|
|
GOVERNANCE_CHAIN_ID= # 0x1
|
2022-09-23 10:19:02 -07:00
|
|
|
GOVERNANCE_EMITTER= # 0xa27839d641b07743c0cb5f68c51f8cd31d2c0762bec00dc6fcd25433ef1ab5b6
|
|
|
|
|
|
|
|
WORMHOLE_CHAIN_NAME= # ethereum, defined in https://github.com/wormhole-foundation/wormhole/blob/dev.v2/sdk/js/src/utils/consts.ts
|