Bitcoin Core CLI

This section describes what is Bitcoin Core CLI Programs.

Bitcoin Core CLI allows you to run commands on Bitcoin Core Daemon to interact with the Bitcoin network. Bitcoin Core CLI is included in the of Bitcoin Core package,

Here is how you can run Bitcoin Core CLI and see its command line options:

C:\>\local\bitcoin-0.15.1\bin\bitcoin-cli -? 

Bitcoin Core RPC client version v0.15.1

  bitcoin-cli [options] <command> [params]  Send command to Bitcoin Core
  bitcoin-cli [options] -named <command> [name=value] ... 
    Send command to Bitcoin Core (with named arguments)

  bitcoin-cli [options] help                List commands
  bitcoin-cli [options] help <command>      Get help for a command


       This help message

       Specify configuration file (default: bitcoin.conf)

       Specify data directory

       Use the test chain

       Enter regression test mode, which uses a special chain in which 
       blocks can be solved instantly. This is intended for regression 
       testing tools and app development.

       Send commands to node running on <ip> (default:

       Connect to JSON-RPC on <port> (default: 8332 or testnet: 18332)

       Username for JSON-RPC connections

       Password for JSON-RPC connections


Last update: 2017.

Table of Contents

 About This Book

 Introduction of Bitcoin

 Bitcoin Blockchain

 Bitcoin Wallet

Bitcoin Core

 Bitcoin Core Programs

 Bitcoin Core Daemon

Bitcoin Core CLI

 Bitcoin Core CLI Commands

 Access Bitcoin Test Network "-testnet"

 bitcoin-cli Network Commands

 "bitcoin-cli getclock" Command

 bitcoin-cli Transaction Commands

 bitcoin-cli Wallet Commands

 "bitcoin-cli encryptwallet" - Set Wallet Password

 "bitcoin-cli walletpassphrase" - Unlock Wallet

 "bitcoin-cli backupwallet" - Backup Wallet

 Bitcoin Transaction

 Bitcoin-Qt - Bitcoin Core GUI

 Bitcoin Mining

 Bitcoin Consensus Rules

 Bitcoin Block Data Structure

 Bitcoin Transaction Data Structure API

 Copay - Bitcoin Wallet


 PDF Printing Version