Build

Developers and node operators

Build BitcoinII Core, run a node safely, and use the explorer API.

Source code

Most of BitcoinII Core is MIT-licensed. The ShockWave difficulty code in src/pow.cpp is published on GitHub for review under its own proprietary source-review license, not MIT. Read the file header before reusing it.

Build from source

BitcoinII Core uses CMake, like current Bitcoin Core. On Linux, after installing the dependencies listed in doc/build-unix.md:

git clone https://github.com/Bitcoin-II/BitcoinII-Core.git
cd BitcoinII-Core
git checkout v31.1.0
cmake -B build
cmake --build build -j 4

macOS and Windows instructions are in the doc folder.

Release history

BitcoinII Core releases
VersionDateStatus
v31.1.0Aug 29, 2026Current. ShockWave difficulty, data limits and replay protection from block 57,750; fork-aware header sync.
v29.1.0Nov 27, 2025Deprecated. Pre-ShockWave: do not run on mainnet.

Ports, data folder and config file

Default ports
NetworkP2P portRPC port
Mainnet83388337
Testnet44833848337
Signet3833838337
Regtest1844818447

These differ from Bitcoin’s ports, so BitcoinII and Bitcoin nodes can run on the same machine.

RPC safety

Never expose the RPC port to the internet. Anyone who can reach it with valid credentials can control the node and, with a loaded wallet, spend your coins.

Solo mining with your own node

A fully synced node can serve block templates through the getblocktemplate RPC. Point solo-mining software or a self-hosted stratum server at it, set a payout address you control, and keep RPC local as described above. Most home miners will find a pool simpler.

Explorer API

The explorer is mempool-based and offers a public REST API. Examples:

# Current block height
curl https://explorer.bitcoin-ii.org/api/blocks/tip/height

# Hash of the genesis block
curl https://explorer.bitcoin-ii.org/api/block-height/0

# Latest blocks (JSON)
curl https://explorer.bitcoin-ii.org/api/v1/blocks

# Hashrate and difficulty, last 3 days (JSON)
curl https://explorer.bitcoin-ii.org/api/v1/mining/hashrate/3d

Please be gentle with request rates. The same API is also served at https://bc2mempool.com/api/.

Next: Stay safe →