Files
darkfi/contrib/localnet/darkfid-single-node/wallet-balance.sh

15 lines
186 B
Bash
Executable File

#!/bin/sh
# 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 wallet balance