Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 680 Bytes

quick-start.md

File metadata and controls

29 lines (19 loc) · 680 Bytes

Quick Start

Following steps will assume that the shell can find the executable ckb, see how to get CKB.

Start Node

ckb run

It will start a node using the default configurations and store files in data/dev in current directory. If you want to customize the configurations, see how to configure CKB.

Use RPC

Find RPC port in the log output, the following command assumes 8114 is used:

curl -d '{"id": 1, "jsonrpc": "2.0", "method":"get_tip_header","params": []}' \
  -H 'content-type:application/json' 'http://localhost:8114'

Run Miner

Run miner, gets a block template to mine.

ckb miner