aboutsummaryrefslogtreecommitdiffstats
path: root/sampleconfig
diff options
context:
space:
mode:
authorDerrick Schwabe <[email protected]>2022-04-26 09:18:25 -0600
committerDerrick Schwabe <[email protected]>2022-04-26 09:35:09 -0600
commitb7a3b0bc84a18265a5a90aba606c15094ca76c57 (patch)
treeef1df71703f19b1b60b60c77e8f7f0d319137da4 /sampleconfig
parent3bbfee72b5c440f51c4568b65e52062484709774 (diff)
downloadcoinos-server-b7a3b0bc84a18265a5a90aba606c15094ca76c57.tar.gz
coinos-server-b7a3b0bc84a18265a5a90aba606c15094ca76c57.zip
Add fill-wallet.sh script for filling Bitcoin regtest wallet
Diffstat (limited to 'sampleconfig')
-rwxr-xr-xsampleconfig/bitcoin/fill-wallet.sh2
1 files changed, 2 insertions, 0 deletions
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