added aptos support

This commit is contained in:
spacemandev 2022-10-24 13:45:07 -05:00
parent f02595b488
commit 842b806e52
4 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/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 11
cd wormhole/aptos/scripts && bash deploy && cd ../../../

View File

@ -52,3 +52,7 @@ 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"

View File

@ -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": [],

View File

@ -5,4 +5,7 @@
if [ ! -d "./wormhole" ]
then
git clone https://github.com/wormhole-foundation/wormhole
cd wormhole/clients/js
make install
cd ../../../
fi