From b7a3b0bc84a18265a5a90aba606c15094ca76c57 Mon Sep 17 00:00:00 2001 From: Derrick Schwabe Date: Tue, 26 Apr 2022 09:18:25 -0600 Subject: Add fill-wallet.sh script for filling Bitcoin regtest wallet --- sampleconfig/bitcoin/fill-wallet.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 sampleconfig/bitcoin/fill-wallet.sh diff --git a/sampleconfig/bitcoin/fill-wallet.sh b/sampleconfig/bitcoin/fill-wallet.sh new file mode 100755 index 00000000..6012c5b8 --- /dev/null +++ b/sampleconfig/bitcoin/fill-wallet.sh @@ -0,0 +1,2 @@ +#!/bin/bash +BTCADDRESS=$(bitcoin-cli -regtest -rpcuser=admin1 -rpcpassword=123 getnewaddress); bitcoin-cli -regtest -rpcuser=admin1 -rpcpassword=123 generatetoaddress 101 $BTCADDRESS \ No newline at end of file -- cgit v1.2.3