xdapp-book/projects/wormhole-local-validator/setup.bash

14 lines
289 B
Bash
Raw Permalink Normal View History

2022-08-08 23:31:05 -07:00
#!/usr/bin/env bash
# Check if wormhole/ repo exists.
# If it doesn't then clone
if [ ! -d "./wormhole" ]
then
2022-08-26 15:38:36 -07:00
git clone https://github.com/wormhole-foundation/wormhole
2022-12-02 16:24:03 -08:00
cd wormhole/clients/js
make install
2022-12-18 22:27:59 -08:00
cd ../../scripts
2022-12-18 22:50:40 -08:00
bash guardian-set-init.sh 1
2022-12-18 22:27:59 -08:00
cd ../../
2022-08-08 23:31:05 -07:00
fi