15 lines
431 B
Bash
Executable File
15 lines
431 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# This script submits a VAA to devnet
|
|
set -e
|
|
|
|
vaaHex=${1}
|
|
devnetRPC=http://localhost:8545
|
|
devnetCoreAddress=0xC89Ce4735882C9F0f0FE26686c53074E09B0D550
|
|
key=4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d # one of the Ganche defaults
|
|
|
|
cd ./clients/eth
|
|
|
|
go run main.go execute_governance --contract=${devnetCoreAddress} --rpc=${devnetRPC} --key=${key} ${vaaHex}
|
|
|
|
echo "done executing_governance."
|