added aptos support to WLV
This commit is contained in:
parent
12033d2911
commit
0a80df8165
|
@ -1,3 +1,4 @@
|
|||
test-ledger/
|
||||
wormhole/
|
||||
node_modules/
|
||||
node_modules/
|
||||
.aptos/
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Start EVM Chain 0
|
||||
npx pm2 delete aptos 2> /dev/null || true
|
||||
npx pm2 start 'aptos node run-local-testnet --with-faucet --force-restart --assume-yes' --name aptos
|
||||
sleep 15
|
||||
cd wormhole/aptos/scripts && bash deploy devnet && cd ../../../
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
# dev.v2 for now (until we make a release)
|
||||
DOCKER_IMAGE="ghcr.io/certusone/guardiand:dev.v2"
|
||||
DOCKER_IMAGE="ghcr.io/certusone/guardiand:main"
|
||||
|
||||
DOCKER_FLAGS=
|
||||
HOST=
|
||||
|
@ -51,3 +51,6 @@ docker run --rm --name guardiand $DOCKER_FLAGS --hostname guardian-0 --cap-add=I
|
|||
--algorandAlgodToken "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
|
||||
--algorandAlgodRPC https://$HOST:4001 \
|
||||
--algorandAppID "4"
|
||||
--aptosRPC http://$HOST:8080
|
||||
--aptosAccount "277fa055b6a73c42c0662d5236c65c864ccbf2d4abd21f174a30c8b786eab84b"
|
||||
--aptosHandle "0x277fa055b6a73c42c0662d5236c65c864ccbf2d4abd21f174a30c8b786eab84b::state::WormholeMessageHandle"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"wormhole": "npm run setup && bash wormhole.bash",
|
||||
"evm": "npm run setup && bash evm.bash",
|
||||
"solana": "npm run setup && bash solana-binary-deploy.bash",
|
||||
"aptos": "npm run setup && bash aptos.bash",
|
||||
"cleanup": "npx pm2 kill"
|
||||
},
|
||||
"keywords": [],
|
||||
|
|
|
@ -5,4 +5,7 @@
|
|||
if [ ! -d "./wormhole" ]
|
||||
then
|
||||
git clone https://github.com/wormhole-foundation/wormhole
|
||||
cd wormhole/clients/js
|
||||
make install
|
||||
cd ../../../
|
||||
fi
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue