sync-wallet.sh 199 B

12345678910111213141516
  1. #!/bin/sh
  2. set -e
  3. set -x
  4. # Path to `drk` binary
  5. DRK="../../../drk -vv -c drk.toml"
  6. while true; do
  7. if $DRK ping 2> /dev/null; then
  8. break
  9. fi
  10. sleep 1
  11. done
  12. $DRK scan
  13. $DRK subscribe