CashScript
A high-level language, compiler, and TypeScript SDK for building Bitcoin Cash UTXO contracts.
CashScript is an open-source high-level language for writing Bitcoin Cash smart contracts. Its compiler turns .cash source into contract artifacts and Bitcoin Cash VM bytecode, while its TypeScript SDK helps applications construct transactions that interact with those contracts.
CashScript syntax is influenced by Solidity, but its execution model is different. A contract controls one or more UTXOs, and each spend must satisfy the locking bytecode while explicitly consuming inputs and creating new outputs.
A higher-level language can improve readability and tooling, but it does not remove protocol limits or automatically make a contract safe. Developers still need to review generated artifacts, transaction construction, covenant state transitions, dependency versions, and adversarial test cases.
Related terms
Explore connected entries beyond the alphabetical index.
Smart Contract
→Blockchain-enforced program or script logic that controls how assets or state may change.
CashVM
→An ecosystem name for the stack-based virtual machine that evaluates Bitcoin Cash spending bytecode.
Unspent Transaction Output (UTXO)
→A discrete spendable output on a UTXO blockchain, similar to a digital coin that must be spent whole.
Transaction
→A serialized state transition that a blockchain can validate, relay, and include in a block.