The sCrypt Language Reference¶
sCrypt (pronounced “ess crypt”) is a high-level smart contract language for Bitcoin SV. Bitcoin supports smart contract with its Forth-like stack based Script language. However writing smart contract in native Script is cumbersome and error-prone. It quickly becomes intractable when the contract size and complexity grow.
sCrypt is designed to facilitate writing smart contract running on chain.
- It is statically typed. Type checking can help detect many errors at compile time.
sCrypt is still in experimental phase and is currently only intended for small amount usage.
- Syntax Specification
- Standard Contracts
- Compile Time Constant