Discover Ligo
smart contracts made easy
A simple smart-contract language
built for Mavryk, made for developers.
Ligo Loves Everyone
So, we built it with multi-syntax.
- JsLIGO
- CameLIGO
try jsligo onlinetype storage = int;type ret = [list<operation>, storage];// Three entrypoints@entryconst increment = (delta: int, store: storage): ret =>[[], store + delta];@entryconst decrement = (delta: int, store: storage): ret =>[[], store - delta];@entryconst reset = (_p: unit, _s: storage): ret => [[], 0]
try cameligo onlinetype storage = inttype ret = operation list * storage(* Three entrypoints *)[@entry]let increment (delta : int) (store : storage) : ret = [], store + delta[@entry]let decrement (delta : int) (store : storage) : ret = [], store - delta[@entry]let reset (() : unit) (_ : storage) : ret = [], 0
Build it with Ligo
Discover everything you need to safely interact with the Mavryk blockchain.
Static Analysis
Ligo use static analysis and strong typing to help you write safer code.
Multi-syntax
Ligo brings syntaxes that fit your preferences: TypeScript-inspired or OCaml-inspired.
Optimized by Design
Ligo is a high-level language that compiles to optimized Mavryk bytecode.
Testing System
Ligo uses a robust testing system to simulate the Mavryk blockchain, as if you were inside.
Community
Ligo's community is here to help. Join us on Discord, or let's learn by doing on our Registry.
First Class Tooling
Ligo cares about Developer Experience, so we've developed a set of tools made just for you.
What's New in Ligo ?
We're constantly evolving. Keep in touch.
Take a look
at the Changelog
The Ligo team and the community are improving the smart-contract language every day. See the recent changes on our up-to-date Changelog.
Go to Ligo ChangelogGitLab
Ligo sources are available on our GitLab. Feel free to open an issue or contribute.
Contribute to Ligo