Skip to content
Developer Handbook

Glossary

A

Address
A shareable identifier a wallet decodes into a payment’s locking script, usually in CashAddr format on BCH. Read more

B

BCH
The currency unit of Bitcoin Cash, equal to 100,000,000 satoshis. Read more
BCHN (Bitcoin Cash Node)
A Bitcoin Cash full-node implementation that validates blocks and transactions and exposes peer-to-peer and RPC interfaces. Read more
BCMR (Bitcoin Cash Metadata Registries)
A standard for publishing and authenticating off-chain information about tokens and identities, such as names, symbols, and icons. Read more
BIP32
The standard for deriving a tree of keys from a seed and encoding the extended public and private keys. Read more
BIP39
A standard for representing wallet entropy as a mnemonic and deriving a seed from the words and an optional passphrase. Read more
BIP44
A convention for organizing derived keys by coin, account, receiving or change branch, and address index. Read more
Block
A batch of transactions and a header that nodes verify before accepting it into the chain. Read more
Block header
The 80-byte record that links a block to its predecessor and commits to its transactions and proof of work. Read more
Block height
A block’s position in its chain, counted from genesis at height zero. Read more
Block reward
The amount the miner can claim in the coinbase transaction, up to the block subsidy plus the fees of the included transactions. Read more
Broadcast
Submit a signed transaction to a node or relay service so it can propagate to other nodes. Read more
Bytecode
The bytes encoding a script’s instructions and the data they operate on. Read more

C

Cash Account
A human-readable name registered on-chain that a compatible wallet can resolve to payment information. Read more
CashAddr
The Bitcoin Cash address encoding, which uses a prefix, type, payload, and checksum to describe how to construct a locking script. Read more
CashCode
A reusable payment code that lets a compatible sender derive a fresh destination the recipient can recognize and spend. Read more
CashFusion
A collaborative transaction protocol that obscures the links between inputs and outputs while each participant keeps control of their keys. Read more
CashID
A sign-in protocol in which a wallet signs a challenge to prove control of a key or identity. Read more
CashScript
A high-level language and toolchain for writing contracts that compile to Bitcoin Cash Script. Read more
CashTokens
Bitcoin Cash’s native fungible token and NFT format, carried in transaction outputs and enforced by consensus. Read more
CashVM
The Bitcoin Cash virtual machine that executes the scripts authorizing an input to spend its UTXO. Read more
Chain code
A 32-byte BIP32 value stored in an extended key and used alongside the key to derive children. Read more
Chainwork
The cumulative proof of work represented by a chain’s headers, used to compare eligible valid chains. Read more
Change
A new output sent back to your wallet with value left over after the payment and fee. Read more
Change branch
The part of an HD wallet’s key tree used for addresses that receive its own change. Read more
Checksum
A value derived from data to help detect errors, such as a mistyped CashAddr. Read more
Child key
An HD wallet key derived from a parent key at a particular index. Read more
CHIP (Cash Improvement Proposal)
A document proposing a Bitcoin Cash rule change or ecosystem standard. Read more
Chipnet
A public Bitcoin Cash test chain that uses test coins and bchtest: addresses to exercise upgrades and applications. Read more
Coinbase transaction
The first transaction in a block, which pays the miner’s reward into outputs that must mature before they can be spent. Read more
CompactSize
A variable-length encoding used for nonnegative integers such as the number of transaction outputs or the byte length of a script. Read more
Compressed public key
A 33-byte secp256k1 public key encoding that stores the x-coordinate and a prefix indicating y-coordinate parity. Read more
Confirmation
A transaction has one confirmation when included in a block on the active chain and gains another for each subsequent block. Read more
Consensus rules
Rules validating nodes apply to decide whether a block and its transactions are valid. Read more
Covenant
A locking script that constrains how its UTXO may be spent, for example by requiring the spending transaction to pay a particular output. Read more
Cryptographically secure randomness
Random output designed to be infeasible to predict, used to make wallet keys and backup entropy. Read more

D

Dapp (decentralized application)
An application that uses a decentralized system such as BCH and can ask a wallet to authorize an action or payment. Read more
Derivation path
A sequence of child indices identifying a key or branch in a hierarchical deterministic wallet. Read more
Digital signature
A value made with a private key that lets someone with the corresponding public key verify authorization of the signed data. Read more
Double Spend Proof
Evidence a node can provide for certain conflicts between transactions trying to spend the same UTXO. Read more
Dust
A spendable output with a value small enough to fall below a node’s relay policy threshold. Read more

E

Extended key
A BIP32 public or private key bundled with a chain code and derivation metadata so a wallet can derive child keys. Read more

F

Fee rate
A transaction’s fee divided by its serialized size, usually expressed in satoshis per byte on BCH. Read more
Fulcrum
A wallet server that builds a script and transaction index from a full node for queries and notifications. Read more
Fulcrum protocol
The protocol wallets use to query Fulcrum for script history, UTXOs, and headers, subscribe to updates, and submit transactions. Read more
Full node
Software that independently verifies blocks and transactions and maintains a view of the active chain and its unspent outputs. Read more
Fungible token
An interchangeable unit within a token category that an output can carry alongside BCH and an NFT. Read more

G

Genesis block
The first block of a chain, at height zero. Read more

H

Hardened derivation
BIP32 child derivation that requires the parent private key and is usually marked with an apostrophe in the path. Read more
Hash
A fixed-length digest used to identify data or commit to its contents, such as a transaction ID or public-key hash. Read more
HASH160
SHA-256 followed by RIPEMD-160, producing the 20-byte public-key hash used by P2PKH. Read more
HD wallet
A wallet that derives a tree of keys from one seed, with separate branches for receiving and change addresses. Read more

I

Introspection
Script instructions that let CashVM read fields of the spending transaction and the UTXOs it spends. Read more

K

Key pair
The private key used to sign and the corresponding public key used to verify its signatures. Read more

L

Little-endian
An encoding that places the least significant byte of an integer first, as BCH does for serialized output amounts. Read more
Locking script
The program in an output that specifies the conditions required to spend it. Read more
Locktime
A transaction field that can restrict the first block height or time at which the transaction is eligible for inclusion. Read more

M

Mainnet
The public Bitcoin Cash blockchain on which payments use BCH. Read more
Mempool
A node’s local pool of transactions it has accepted and that are waiting to be included in a block. Read more
Merkle proof
A sequence of sibling hashes that lets a verifier show that a transaction contributes to a block’s Merkle root. Read more
Merkle root
The hash in a block header that commits to the block’s transactions and lets you verify inclusion using a Merkle proof. Read more
Metadata
Descriptive information such as a derived key’s depth and index or a token’s name and icon. Read more
Mnemonic
A sequence of words encoding wallet backup entropy that BIP39 combines with an optional passphrase to derive a seed. Read more
Mocknet
BCH Ninja’s isolated browser chain for building and inspecting transactions using its own keys and UTXOs. Read more

N

Network prefix
The part of a CashAddr before the colon that indicates the address network format and contributes to the checksum. Read more
Neutrino
A light-client approach that downloads compact filters, checks for wallet scripts locally, and fetches blocks when a filter matches. Read more
NFT (non-fungible token)
A token with its own commitment and capability that CashTokens stores in a transaction output. Read more

O

Opcode
An instruction identified by a byte in a script, such as OP_DUP to duplicate the top stack item. Read more
Outpoint
A transaction ID and zero-based output index that together identify the UTXO an input spends. Read more

P

P2P (peer-to-peer)
The network protocol nodes use to exchange information such as transactions, block headers, and blocks directly with peers. Read more
P2PKH (pay to public key hash)
A spending condition that checks a public key against a saved hash and verifies a signature made with the corresponding private key. Read more
P2S (pay to script)
Places the spending program directly in the output’s locking bytecode. Read more
P2SH (pay to script hash)
A spending condition that commits to the hash of a redeem script, which the spender supplies along with its arguments. Read more
P2SH32
A pay-to-script-hash form that commits to a 32-byte double-SHA-256 hash of the redeem script. Read more
Passphrase
An optional BIP39 input that changes the wallet seed derived from a mnemonic. Read more
Private key
A secret cryptographic value used to sign and derive the corresponding public key. Read more
Proof of work
Verifiable work represented by finding a block-header hash that meets the network’s difficulty target. Read more
Public key
A cryptographic value derived from a private key and used to verify its signatures. Read more

R

Redeem script
The spending program revealed when an input spends a pay-to-script-hash output. Read more
Regtest
A private node mode for running a local Bitcoin Cash chain and mining test blocks on demand. Read more
Relay policy
Node rules that determine which valid transactions it accepts into its mempool and relays to peers. Read more
Reorganization
The replacement of previously active blocks when a node adopts a competing branch, which can change which transactions are confirmed. Read more
RIPEMD-160
A 160-bit hash function that Bitcoin Cash applies after SHA-256 when computing HASH160. Read more
RPC (remote procedure call)
A request that calls a method on another service, such as asking a node to read a block or query an outpoint. Read more

S

Satoshi (sat)
The smallest unit of BCH, equal to 0.00000001 BCH. Read more
Schnorr signature
A signature scheme CashVM can verify, using 64 bytes for a BCH Schnorr signature before the transaction’s sighash byte. Read more
Script hash
The lookup key for a locking script in Fulcrum, computed by hashing its bytes with SHA-256, reversing the result, and encoding it as hex. Read more
secp256k1
The elliptic curve Bitcoin Cash uses for public keys and transaction signatures. Read more
Sequence number
A 32-bit input field that participates in transaction finality and can encode a relative delay in time or blocks. Read more
SHA-256
A 256-bit cryptographic hash function used in Bitcoin Cash transaction IDs, block hashes, and HASH160. Read more
Sighash
The signature hash type that selects which transaction fields the signer hashes and commits to. Read more
Signing serialization
The bytes assembled from transaction data according to the signature flag, then hashed to produce the signing digest. Read more
SPV (simple payment verification)
Verification of a transaction’s inclusion in a block using a Merkle proof and a validated block-header chain. Read more
Stack
An ordered collection of byte strings that CashVM instructions can add to or consume from the top. Read more
Status hash
A digest of a script’s ordered transaction history that changes when the server’s reported history changes. Read more

T

Token category
A 32-byte CashTokens identifier that groups related tokens and defines which fungible units are interchangeable. Read more
Transaction
A Bitcoin Cash record that defines new outputs and, for a payment, identifies the UTXOs being spent. Read more
Transaction fee
The difference between a transaction’s total input and output values, which the miner can claim in the block’s coinbase. Read more
Transaction ID (txid)
A transaction’s double-SHA-256 hash, displayed in reverse byte order and used to identify it in an outpoint. Read more
Transaction input
A transaction record that identifies a UTXO to spend and supplies its unlocking bytecode and sequence number. Read more
Transaction output
A record created by a transaction with a satoshi amount, a locking script, and optional CashTokens data. Read more

U

Unlocking script
The bytecode supplied by an input to satisfy the locking conditions of the UTXO it spends. Read more
UTXO (unspent transaction output)
The basic unit of spendable value on Bitcoin Cash, holding satoshis and any attached tokens under the spending rules defined by its locking bytecode. Read more

W

Wallet
Software or a device that manages addresses and tracks UTXOs, with signing wallets also holding private keys to authorize payments. Read more
Wallet seed
The starting secret from which an HD wallet derives its key tree, which BIP39 can derive from a mnemonic and passphrase. Read more
WIF (Wallet Import Format)
A secret Base58Check export of one private key that carries its network and compression settings. Read more

X

xprv
An encoded extended private key whose private key and chain code can derive descendant signing keys. Read more
xpub
An encoded extended public key that lets a watch-only wallet derive non-hardened public keys and link their addresses. Read more

Z

Zero-conf
A transaction has zero confirmations while it has yet to appear in a block on the active chain. Read more