Skip to main content

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.

type storage = int;
type ret = [list<operation>, storage];
// Three entrypoints
@entry
const increment = (delta: int, store: storage): ret =>
[[], store + delta];
@entry
const decrement = (delta: int, store: storage): ret =>
[[], store - delta];
@entry
const reset = (_p: unit, _s: storage): ret => [[], 0]
try jsligo online

Build it with Ligo

Discover everything you need to safely interact with the Mavryk blockchain.

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 Changelog

GitLab

Ligo sources are available on our GitLab. Feel free to open an issue or contribute.

Contribute to Ligo

Follow-us
on X

Mavryk Dynamics team shares news on X. Don't miss them and follow us.

Follow-us on Follow Ligo on X