Smart Contracts

Streembit contracts are approved JavaScript modules, hash-verified by every node before each execution. A contract never writes state itself: it returns a proposal of storage changes and SBRIT movements, and the consensus engine validates and applies it. Because block producers are identified companies, a contract on Streembit can be enforced in court as well as on the chain.

Use cases

Deed contract

Working draft

Register wills and property deeds as encrypted, attested documents with controlled disclosure and optional SBRIT payments.

Read about the Deed contract

Vote contract

Working draft

Run ballots with a confirmed electorate, one counted vote per entitlement and a result anyone can verify.

Read about the Vote contract

Betting contract

Working draft

Peer-to-peer sports wagers in SBRIT, fully collateralised, settled by validator-reported results with no house.

Read about the Betting contract

System contracts

The Treasury, Governance, Accountable Node and Validator contracts implement the protocol itself: genesis allocations, the ruleset, the participant registry and the locked deposits. Their reference pages are generated from the contract sources and arrive with the contract catalogue.

The execution model is described in the Protocol Specification, section Smart Contract Execution. Each use case links to its own protocol document, which is the normative text.