mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
bitcoin-cli: add page (#3174)
This commit is contained in:
parent
c916836015
commit
d4922ade08
1 changed files with 25 additions and 0 deletions
25
pages/common/bitcoin-cli.md
Normal file
25
pages/common/bitcoin-cli.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# bitcoin-cli
|
||||
|
||||
> Command-line client to interact with the Bitcoin daemon via RPC calls.
|
||||
> Uses the configuration defined in `bitcoin.conf`.
|
||||
> More information: <https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments>.
|
||||
|
||||
- Send a transaction to a given address:
|
||||
|
||||
`bitcoin-cli sendtoaddress "{{address}}" {{amount}}`
|
||||
|
||||
- Generate one or more blocks:
|
||||
|
||||
`bitcoin-cli generate {{num_blocks}}`
|
||||
|
||||
- Print high-level information about the wallet:
|
||||
|
||||
`bitcoin-cli getwalletinfo`
|
||||
|
||||
- List all outputs from previous transactions available to fund outgoing transactions:
|
||||
|
||||
`bitcoin-cli listunspent`
|
||||
|
||||
- Export the wallet information to a text file:
|
||||
|
||||
`bitcoin-cli dumpwallet "{{path/to/file}}"`
|
Loading…
Add table
Reference in a new issue