diff options
| author | Ran Guin <[email protected]> | 2021-07-29 13:11:19 -0700 |
|---|---|---|
| committer | Ran Guin <[email protected]> | 2021-07-29 13:11:19 -0700 |
| commit | a47eed15fe45387018929914f4f722acee0fe460 (patch) | |
| tree | c1fff4316ce1e3e34692e0b2eeb6197caedc28c3 | |
| parent | 1d28ac4a070cf87465d8cf9bb1263341b51e3672 (diff) | |
| parent | eeecdd5fae55fc32a8582ce8b77ea097bfdb2b53 (diff) | |
| download | coinos-server-a47eed15fe45387018929914f4f722acee0fe460.tar.gz coinos-server-a47eed15fe45387018929914f4f722acee0fe460.zip | |
Merge branch 'dev' of https://github.com/asoltys/coinos-server into dev
| -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 ```  |
