Merge branch 'feat/aptos'
This commit is contained in:
commit
b44b7a4de1
|
@ -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
|
set -euo pipefail
|
||||||
|
|
||||||
# dev.v2 for now (until we make a release)
|
# 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="-p 7070:7070 -p 7071:7071 -p 6060:6060 -p 8999:8999/udp --add-host=host.docker.internal:host-gateway --platform linux/amd64"
|
DOCKER_FLAGS="-p 7070:7070 -p 7071:7071 -p 6060:6060 -p 8999:8999/udp --add-host=host.docker.internal:host-gateway --platform linux/amd64"
|
||||||
HOST="host.docker.internal"
|
HOST="host.docker.internal"
|
||||||
|
@ -43,3 +43,6 @@ docker run --rm --name guardiand $DOCKER_FLAGS --hostname guardian-0 --cap-add=I
|
||||||
--algorandAlgodToken "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
|
--algorandAlgodToken "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
|
||||||
--algorandAlgodRPC https://$HOST:4001 \
|
--algorandAlgodRPC https://$HOST:4001 \
|
||||||
--algorandAppID "4"
|
--algorandAppID "4"
|
||||||
|
--aptosRPC http://$HOST:8080
|
||||||
|
--aptosAccount "277fa055b6a73c42c0662d5236c65c864ccbf2d4abd21f174a30c8b786eab84b"
|
||||||
|
--aptosHandle "0x277fa055b6a73c42c0662d5236c65c864ccbf2d4abd21f174a30c8b786eab84b::state::WormholeMessageHandle"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"wormhole": "npm run setup && bash wormhole.bash",
|
"wormhole": "npm run setup && bash wormhole.bash",
|
||||||
"evm": "npm run setup && bash evm.bash",
|
"evm": "npm run setup && bash evm.bash",
|
||||||
"solana": "npm run setup && bash solana-binary-deploy.bash",
|
"solana": "npm run setup && bash solana-binary-deploy.bash",
|
||||||
|
"aptos": "npm run setup && bash aptos.bash",
|
||||||
"cleanup": "npx pm2 kill"
|
"cleanup": "npx pm2 kill"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|
|
@ -5,4 +5,7 @@
|
||||||
if [ ! -d "./wormhole" ]
|
if [ ! -d "./wormhole" ]
|
||||||
then
|
then
|
||||||
git clone https://github.com/wormhole-foundation/wormhole
|
git clone https://github.com/wormhole-foundation/wormhole
|
||||||
|
cd wormhole/clients/js
|
||||||
|
make install
|
||||||
|
cd ../../../
|
||||||
fi
|
fi
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue