aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-03 01:52:53 -0700
committerAdam Soltys <[email protected]>2021-08-03 01:52:53 -0700
commit1344458e0cf3322253599524899b3cce565cf1af (patch)
treefd2eb66c71211f25f4e5e2ec209a78747a81e123 /doc
parentbca4fe152c83ab6a615a5e1601ca965187ee95e3 (diff)
parente5e2bcf015b128c71cacf125d6aea4a0dddd30c3 (diff)
downloadcoinos-server-1344458e0cf3322253599524899b3cce565cf1af.tar.gz
coinos-server-1344458e0cf3322253599524899b3cce565cf1af.zip
Merge branch 'dev' into v1.0.0
Diffstat (limited to 'doc')
-rw-r--r--doc/fund-server-bitcoin-cli.md10
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
```
![](./img/50-bitcoin-server-balance.gif)