Skip to content
Developer Handbook

Libraries and tools

On this page

Find maintained source repositories, node software, SDK documentation, and tools for building on Bitcoin Cash.

Protocol and standards

Application protocols

ResourceWhat it coversSource
AnyHedgeOracle-settled contracts for BCH-denominated hedging and leverage.
General Protocols Price OracleSigned oracle message format and price-feed conventions.
Memo protocolOn-chain social message formats.

CashVM and scripting

ResourceWhat it coversSource
Bitwise OperationsCHIP restoring Bitcoin Script bitwise and shift operations.
Bounded Looping OperationsBitcoin Script OP_BEGIN and OP_UNTIL CHIP.
Function Definition and InvocationBitcoin Script OP_DEFINE and OP_INVOKE CHIP.
High-Precision ArithmeticBigInt CHIP for arbitrary-precision Bitcoin Script integers within VM limits.
Pay to ScriptP2S CHIP for standard direct script outputs.
Targeted Virtual Machine LimitsCHIP for Script execution limits and operation costing.

Consensus and network upgrades

ResourceWhat it coversSource
Adaptive Blocksize Limit AlgorithmABLA specification, rationale and test vectors.
ASERTDifficulty adjustment algorithm and test vectors.
BCH upgrade specificationsNetwork upgrade requirements and technical specifications going back to the 2017 fork.
BCHN Faster Blocks commitmentBCHN maintainers’ November 2026 commitment, with Chipnet preview links and proposed May 2027 mainnet activation.
Cash Improvement ProposalsIndex of CHIPs for Bitcoin Cash protocol development.
Double Spend ProofsMessage format, validation and propagation of proofs of conflicting transactions.
Faster Blocks CHIPProposed one-minute blocks, activation rules and migration considerations.
May 2025 network upgradeActivation and deployment specification for VM limits and high-precision arithmetic.
May 2026 network upgradeActivation and deployment specification for loops, functions, bitwise operations and Pay to Script.

Network interfaces

ResourceWhat it coversSource
Electrum Cash protocolClient/server JSON-RPC for querying chain state and broadcasting transactions.

Payments and privacy

ResourceWhat it coversSource
BCH Payment Protocol CHIPProposed URI and web-based payment format for BCH and CashTokens.
CashAddrAddress encoding and checksum, including token-aware address context.
CashFusionNon-custodial multi-party transaction privacy protocol and implementation.
PayButtonOpen source interface for accepting BCH payments on websites.
Payment URI · BIP21Original Bitcoin URI scheme underlying BCH payment URI handling.
Reusable Payment AddressesStealth payment addresses and receiver scanning design for BCH.

Protocol references

ResourceWhat it coversSource
Bitcoin Cash Protocol ReferenceBCH Ninja’s 2026 edition combines Documentation.cash and Reference.cash with mainnet CHIP updates.
Bitcoin whitepaper (Historical)Original peer-to-peer electronic cash design.
Flowee BCH SpecificationP2P binary protocol, blockchain data formats and protocol upgrades.

Tokens and metadata

ResourceWhat it coversSource
BCMR specificationBitcoin Cash Metadata Registries for authenticated token and identity metadata.
CashTokens specificationNative fungible tokens and NFTs, transaction serialization and consensus.
Simple Ledger Protocol (Historical)Application-layer token protocol predating CashTokens.

Wallet connection and identity

ResourceWhat it coversSource
Cash AccountsHuman-readable names mapped to payment information through on-chain registrations.
CashAccounts v2CashTokens-backed identity, CashCode payments and CashID sign-in.Source
CashConnectWallet-executed Bitcoin Cash template actions and Nostr sessions.Source
CashIDChallenge-response authentication with Bitcoin Cash signatures.
WalletConnect for BCHBitcoin Cash session namespace, signing requests and address discovery.Source
WizardConnectEncrypted HD wallet sessions with named public-key derivation paths and signing.Source

Node implementations

Forks and historical implementations

ResourceWhat it coversSource
bchd · 2qx forkCommunity BCHD fork. Check its release notes for the target network.
Bitcoin ABC BCH history (Historical)Archived BCH-era releases through the 2020 chain split.

Full-node implementations

ResourceWhat it coversSource
bcash (Historical)JavaScript BCH full node derived from bcoin.
BCHDGo full node and gRPC services. Verify upgrade compatibility against the target network.
Bitcoin Cash NodeC++ validating and mining full node, operator docs and JSON-RPC reference.Source
Bitcoin Unlimited (Historical)BCH full-node implementation prior to the project’s move to Nexa.
Bitcoin VerdeJava full node, indexer and explorer with Electrum compatibility.
Flowee the HubC++ full node and database with JSON-RPC and a native application API.Source
KnuthC++ Bitcoin Cash node and library stack with language bindings.Source

Libraries and SDKs

Contract and DeFi libraries

ResourceWhat it coversSource
AnyHedge SDKJavaScript SDK for AnyHedge contract tooling.
CashLabTypeScript toolkit for BCH smart contract protocols and Cauldron.
CashScriptHigh-level smart contract language, compiler and TypeScript SDK.Source
XO StackBCH SDK for contract templates, invitations, and multi-party state.Source

Network client libraries

ResourceWhat it coversSource
CMF BindingsBindings for Flowee Compact Message Format.
electrum-cashTypeScript Electrum client with subscription and connection handling.

Transactions, addresses and signing

ResourceWhat it coversSource
bchutilGo helpers for BCH amounts, addresses, encodings and other primitives.
bitcore-lib-cashJavaScript BCH primitives in the Bitcore monorepo.
CashAddrJSJavaScript CashAddr address codec.
LibauthTypeScript cryptography, addresses, transactions, CashTokens, virtual machines and authentication templates.Source

Wallet and payment SDKs

ResourceWhat it coversSource
bch-jsJavaScript tools for BCH addresses, transactions and backend API integration.
bchwalletGo wallet daemon and packages for Bitcoin Cash.
BITBOX SDK (Historical)Older JavaScript SDK from Bitcoin.com, useful for reading legacy code.
BitCashPython Bitcoin Cash wallet library.
BitcoinCashClient.NET library for Bitcoin Cash JSON-RPC.Source
bitcoincashjJava Bitcoin Cash wallet and networking library.
CashPayServer JSJavaScript client for CashPayServer.Source
mainnet-jsJavaScript and TypeScript wallet API, transactions, token support and Electrum integration.Source

Developer tools

Developer documentation

ResourceWhat it coversSource
Flowee developer documentationProject notes and documentation for the Flowee platform.

Explorers and network analytics

ResourceWhat it coversSource
Coin DanceNetwork statistics, blocks, nodes and historical development news.
Melroy BCH ExplorerOpen-source BCH block explorer.Source
Selene ExplorerBlock, transaction and application activity on mainnet, Chipnet and Tempnet.

Indexers and chain data APIs

ResourceWhat it coversSource
ChaingraphOpen-source BCH indexer and GraphQL API.
Flowee IndexerIndex service for application queries against the Flowee Hub.
FulcrumC++ Electrum server for Bitcoin Cash.Source
FullStack.cashHosted APIs and supporting Bitcoin Cash stack.
Rostrum (Historical)Rust Electrum indexer originating in the BCH ecosystem. The upstream project moved to Nexa.
SLPDB (Historical)Legacy indexer for Simple Ledger Protocol tokens.
Watchtower.cashHosted BCH infrastructure, indexing and application APIs.

Payments and application infrastructure

ResourceWhat it coversSource
CashPayServerOpen-source Bitcoin Cash payment server.
Oracles.cashBCH price oracle feed and signed price data.
UnspentInspect and interact with CashTokens and BCH covenants.

Script development and debugging

ResourceWhat it coversSource
Bitauth IDEInteractive Script development and debugging environment for BCH authentication templates.
CashScript PlaygroundBrowser editor to compile and exercise CashScript contracts.
Libauth VM testsCross-implementation Bitcoin Cash virtual-machine test vectors.
meepBitcoin Cash Script interpreter and debugger from the BCHD ecosystem.

Test networks and labs

ResourceWhat it coversSource
Chipnet faucetBCH Ninja faucet for BCH test coins.
Tempnet labBCH Ninja’s Faster Blocks test network telemetry.

Token metadata tooling

ResourceWhat it coversSource
BCMR GeneratorCreate Bitcoin Cash Metadata Registry JSON.
OpenTokenRegistryOpen-source BCMR token registration and discovery tooling.
Paytaca BCMR IndexerLook up public CashTokens metadata and registries.

Products

Games and collectibles

ResourceWhat it coversSource
BCH GuruCashTokens collectibles and trading products.
Cash StampsOn-chain digital collectibles and stamps.

Trading and finance

ResourceWhat it coversSource
BCH BullAnyHedge-based BCH hedging and leverage application.
CauldronBitcoin Cash decentralized exchange for CashTokens.
FlipstarterAssurance-contract crowdfunding for Bitcoin Cash.

Wallets

ResourceWhat it coversSource
CashonizeCashTokens wallet with wallet-to-dapp connections.Source
Electron CashPython SPV wallet with CashTokens support and developer tooling.Source
Flowee PayFlowee’s open-source Bitcoin Cash wallet.Source
PaytacaBCH wallet and merchant tools with CashTokens support.
Selene WalletOpen-source, self-custodial mobile BCH wallet.
ZapItBCH wallet with CashTokens and payments.

Tutorials and development updates

Node operations

ResourceWhat it coversSource
BCHN setup guideInstall and run Bitcoin Cash Node.

Research and development updates

ResourceWhat it coversSource
BCH-1 repository activityDevelopment activity across BCH projects, with repository links.
BCHN NewsroomBitcoin Cash Node announcements, releases and upgrade statements.
Bitcoin Cash Open-Source PulseHistorical project updates, project links and development newsletters.
Bitcoincash ResearchProtocol research forum and CHIP discussion threads.

Resource indexes and project showcases

ResourceWhat it coversSource
Awesome Bitcoin CashCommunity-maintained directory of BCH projects and resources.Source
Bitcoin Cash developer toolsbch.info’s directory of development resources.
Developers.CashBCH ecosystem directory for SDKs, protocols and services.
txlab.cash projectsDeveloper-focused catalog with project and source links.

Tutorials and examples

ResourceWhat it coversSource
BCH Works builder guideHands-on BCH covenants, token tooling and tutorial links.
CashScript example contractsWorking contract source from the language project.
CashScript getting startedCreate a contract, compile it and interact using the SDK.
CashTokens guidesDocumentation on token primitives, metadata and ecosystem tooling.
Flowee P2P exampleCode demonstrating peer-to-peer communication with BCH nodes.
mainnet-js examplesWallet workflows using the mainnet-js JavaScript SDK.
txlab.cash builder guideBCH development starting points for covenants, test networks and chain data.