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 easy to learn. Syntactically, sCrypt is similar to Javascript and Solidity, making it easier to be adopted by existing web and smart contract developers.
- It is statically typed. Type checking can help detect many errors at compile time.
Warning
sCrypt is still in experimental phase and is currently only intended for small amount usage.
Introduction
Language Specification
sCrypt by Example
Advanced
Contributing¶
See CONTRIBUTING.md at our GitHub for more information on what we’re looking for and how to get started.