diff options
| author | Adam Soltys <[email protected]> | 2021-08-09 20:55:17 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-09 20:55:17 -0700 |
| commit | 56559c7b9749fe62fe2fe0ba90725391d83b8bf7 (patch) | |
| tree | 48d6a0630d05d6787b4410708a5efceff472636b /doc/fund-server-bitcoin-cli.md | |
| parent | 803ecab2b5c3a00d107372ea6757cd6ce0f8224d (diff) | |
| parent | 8d6f65079868ae6134f593752e3380180591623d (diff) | |
| download | coinos-server-56559c7b9749fe62fe2fe0ba90725391d83b8bf7.tar.gz coinos-server-56559c7b9749fe62fe2fe0ba90725391d83b8bf7.zip | |
Merge branch 'v1.0.0'
Diffstat (limited to 'doc/fund-server-bitcoin-cli.md')
| -rw-r--r-- | doc/fund-server-bitcoin-cli.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/fund-server-bitcoin-cli.md b/doc/fund-server-bitcoin-cli.md index 3c5b6ef5..5b096f0f 100644 --- a/doc/fund-server-bitcoin-cli.md +++ b/doc/fund-server-bitcoin-cli.md @@ -14,11 +14,19 @@ docker exec -it bitcoin bash bitcoin-cli -regtest -datadir=/config -rpcwallet=coinosdev getnewaddress # mine a block to the new address -bitcoin-cli -regtest -datadir=/config generatetoaddress 101 theaddressgneratedabove +bitcoin-cli -regtest -datadir=/config generatetoaddress 101 theaddressgeneratedabove # verify you got the reward: bitcoin-cli -regtest -datadir=/config -conf=./bitcoin.conf -rpcwallet=coinosdev getbalance > 50.00000000 + +# send 10 bitcoin to your account on the server +# get the address to send to from ./receive, select 'Bitcoin' +bitcoin-cli -regtest -datadir=/config -rpcwallet=coinosdev sendtoaddress [account-address] 10 + +# confirm the transaction +# (do the mining command again) +bitcoin-cli -regtest -datadir=/config generatetoaddress 101 theaddressgeneratedabove ```  |
