fixing wlv
This commit is contained in:
parent
e2afcdc4e3
commit
220922ce4e
|
@ -1 +1,2 @@
|
||||||
test-ledger/
|
test-ledger/
|
||||||
|
wormhole/
|
|
@ -9,9 +9,7 @@ To run EVM chains you will need [Ganache](https://github.com/trufflesuite/ganach
|
||||||
To run Solana chains you will need [Solana](https://docs.solana.com/cli/install-solana-cli-tools) installed.
|
To run Solana chains you will need [Solana](https://docs.solana.com/cli/install-solana-cli-tools) installed.
|
||||||
|
|
||||||
## Run EVM Chains
|
## Run EVM Chains
|
||||||
`npm run evm0` will start up an EVM chain with Wormhole Chain ID 2 (like ETH) and deploy the Wormhole Core Bridge (`0xC89Ce4735882C9F0f0FE26686c53074E09B0D550`), Token Bridge (`0x0290FB167208Af455bB137780163b7B7a9a10C16`), and NFT Bridge (`0x26b4afb60d6c903165150c6f0aa14f8016be4aec`) contracts to it.
|
`npm run evm` will start up two EVM chains with Wormhole Chain ID 2 (like ETH) and Wormhole Chain ID 4 (like BSC) and deploy the Wormhole Core Bridge (`0xC89Ce4735882C9F0f0FE26686c53074E09B0D550`), Token Bridge (`0x0290FB167208Af455bB137780163b7B7a9a10C16`), and NFT Bridge (`0x26b4afb60d6c903165150c6f0aa14f8016be4aec`) contracts to them. They'll also deploy a Test Token (TKN at `0x2D8BE6BF0baA74e0A907016679CaE9190e80dD0A`), test NFT (`0x5b9b42d6e4B2e4Bf8d42Eba32D46918e10899B66`), and WETH Contract (`0xDDb64fE46a91D46ee29420539FC25FD07c5FEa3E`)
|
||||||
`npm run evm1` will start up an EVM chain with Wormhole Chain ID 4 (like BSC) and deploy the Wormhole Core Bridge (`0xC89Ce4735882C9F0f0FE26686c53074E09B0D550`), Token Bridge (`0x0290FB167208Af455bB137780163b7B7a9a10C16`), and NFT Bridge (`0x26b4afb60d6c903165150c6f0aa14f8016be4aec`) contracts to it.
|
|
||||||
They'll also deploy a Test Token (TKN at `0x2D8BE6BF0baA74e0A907016679CaE9190e80dD0A`), test NFT (`0x5b9b42d6e4B2e4Bf8d42Eba32D46918e10899B66`), and WETH Contract (`0xDDb64fE46a91D46ee29420539FC25FD07c5FEa3E`)
|
|
||||||
|
|
||||||
They'll use the standard Wormhole test mnemonic (`myth like bonus scare over problem client lizard pioneer submit female collect`) and use the first key for deployment and payment (Public Key: `0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1`, Private Key: (`0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d`))
|
They'll use the standard Wormhole test mnemonic (`myth like bonus scare over problem client lizard pioneer submit female collect`) and use the first key for deployment and payment (Public Key: `0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1`, Private Key: (`0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d`))
|
||||||
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Start EVM Chain 0
|
|
||||||
npx pm2 kill -n evm0
|
|
||||||
npx pm2 start 'ganache -p 8545 -m "myth like bonus scare over problem client lizard pioneer submit female collect" --block-time 1' --name evm0
|
|
||||||
|
|
||||||
#Install Wormhole Eth Dependencies
|
|
||||||
cd wormhole/ethereum
|
|
||||||
npm i
|
|
||||||
cp .env.test .env
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
# Deploy Wormhole Contracts to EVM Chain 0
|
|
||||||
npm run migrate && npx truffle exec scripts/deploy_test_token.js && npx truffle exec scripts/register_solana_chain.js && npx truffle exec scripts/register_terra_chain.js && npx truffle exec scripts/register_bsc_chain.js && npx truffle exec scripts/register_algo_chain.js
|
|
|
@ -6,8 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"setup": "sh setup.sh",
|
"setup": "sh setup.sh",
|
||||||
"wormhole": "npm run setup && sh wormhole.sh",
|
"wormhole": "npm run setup && sh wormhole.sh",
|
||||||
"evm0": "npm run setup && sh evm0.sh",
|
"evm": "npm run setup && sh evm.sh",
|
||||||
"evm1": "npm run setup && sh evm1.sh",
|
|
||||||
"solana": "npm run setup && sh solana.sh",
|
"solana": "npm run setup && sh solana.sh",
|
||||||
"cleanup": "docker kill guardiand & docker rm guardiand & npx pm2 kill"
|
"cleanup": "docker kill guardiand & docker rm guardiand & npx pm2 kill"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue