Files
darkfi/contrib/localnet/darkfid-single-node/sync-wallet.sh
2024-12-30 18:36:30 +02:00

17 lines
195 B
Bash
Executable File

#!/bin/sh
set -e
set -x
# Path to `drk` binary
DRK="../../../drk -c drk.toml"
while true; do
if $DRK ping 2> /dev/null; then
break
fi
sleep 1
done
$DRK scan
$DRK subscribe