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