Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

The sCrypt Language Reference

sCrypt logo

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.

.. toctree::
   :maxdepth: 2
   :caption: Introduction

   intro
   ide

.. toctree::
   :maxdepth: 2
   :caption: Language Specification

   syntax
   loop
   functions
   contracts
   ctc
   state

.. toctree::
   :maxdepth: 1
   :caption: sCrypt by Example

   p2pkh
   rpuzzle
   ackermann
   rabin
   multipartyhashpuzzles

.. toctree::
   :maxdepth: 1
   :caption: Advanced

   asm

Contact

scrypt.io

Slack

Telegram

Contributing

See CONTRIBUTING.md at our GitHub for more information on what we're looking for and how to get started.