diff options
| author | Derrick Schwabe <[email protected]> | 2022-04-26 09:18:25 -0600 |
|---|---|---|
| committer | Derrick Schwabe <[email protected]> | 2022-04-26 09:35:09 -0600 |
| commit | b7a3b0bc84a18265a5a90aba606c15094ca76c57 (patch) | |
| tree | ef1df71703f19b1b60b60c77e8f7f0d319137da4 | |
| parent | 3bbfee72b5c440f51c4568b65e52062484709774 (diff) | |
| download | coinos-server-b7a3b0bc84a18265a5a90aba606c15094ca76c57.tar.gz coinos-server-b7a3b0bc84a18265a5a90aba606c15094ca76c57.zip | |
Add fill-wallet.sh script for filling Bitcoin regtest wallet
| -rwxr-xr-x | sampleconfig/bitcoin/fill-wallet.sh | 2 |
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 |
