Skip to content

a language optimized for state channels on blockchains.

Notifications You must be signed in to change notification settings

Zwilla/chalang

Repository files navigation

It is built for blockchain smart contracts.

This is a language make for state channels.

It is deterministic, so that every node of the blockchain gets the same result.

Functions are tail call optimized.

Has 2 types of gas, one for space, and one for time.

Instead of using goto for recursion, it uses function calls.

Example code is in this folder , hashlock has lots of documentation.

to install:

sh install.sh

to start a node with these libraries loaded:

sh start.sh

to run tests on a node:

1> test_chalang:test().

About

a language optimized for state channels on blockchains.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 77.6%
  • Scheme 13.6%
  • Forth 7.0%
  • Shell 1.3%
  • Other 0.5%