Contract Examples#
Contract Examples groups related pages inside Develop. Contract examples for FSMs, ICOs, MAST, reversible addresses, and games.
The table links to the next useful page or sub-hub, keeping the sidebar staged instead of fully expanded.
Map#
| Page | What you'll find |
|---|---|
| Context Enrichment | In Bitcoin and other existing UTXO systems, the context is just the UTXO being processed. |
| FSM Example | Finite State Machines (FSMs) are a computational model used to design systems that can be in one of a finite number of states at any given time. |
| ICO Contract | Another popular use case on Ethereum is an Initial Coin Offering (ICO) contract. |
| MAST Example | Merkleized Abstract Syntax Trees (MAST) are a technique used in blockchain protocols to improve privacy and efficiency for complex smart contracts with multiple spending... |
| Reversible Address | A reversible address is an example of a multi-stage contract designed with anti-theft features. |
| Rock-Paper-Scissor | Our next example of a multi-stage contract is the Rock-Paper-Scissors game, often used as an introductory example for smart contracts. |
| Microcredit Contract | A lot of blockchain-related news these days is telling us that a bank X or a corporation Y is going to use a "blockchain" to "reduce costs". |