Skip to main content

A friendly Smart Contract Language for Tezos

Smart contracts were never so easy

namespace IncDec {
type storage = int;
type ret = [list<operation>, storage];
// Three entrypoints
@entry
const increment = (delta : int, store : storage) : ret =>
[list([]), store + delta];
@entry
const decrement = (delta : int, store : storage) : ret =>
[list([]), store - delta];
@entry
const reset = (_ : unit, _ : storage) : ret =>
[list([]), 0];
};

Strong, Static Type System

Write types, then code. Benefit from the safety of type systems.

Polyglot

Code in your language. Write in CameLIGO, JsLIGO or add your own syntax.

Easy Integration

You can use LIGO as a Node.js library with Truffle.

Our Partners