38 releases (25 breaking)

0.28.0 Aug 9, 2024
0.27.1 Dec 2, 2023
0.26.0 Oct 13, 2023
0.24.0 May 12, 2023
0.4.1 Nov 19, 2020

#2 in #ergo-tree

36 downloads per month
Used in 10 crates (9 directly)

CC0 license

2MB
46K SLoC

Latest Version Documentation

Features

Implemented:

  • Binary serialization;
  • JSON serialization;
  • ErgoTree evaluation;
  • Box builder(with mint token support);
  • Transaction building and signing;
  • Box selection for funds and assets (with token burning support);
  • Box registers(R4-R9) access;

Roadmap:

  • Evaluation trace(debug) mode for the interpreter #625
  • no_std support to minimize Wasm binary size and for ZKRU support;
  • Explore ZKRU support (tx/block verification proof) #631
  • ErgoScript compiler; #370
  • JIT Costing; #193
  • ErgoTree pretty printer ("decompiler"); #371
  • Kotlin bindings for Android; #369

Bindings:

ErgoScript Language

ErgoScript Language Description

Crate features

json (default feature)

JSON serialization for chain types using serde.

compiler (default feature)

Compile ErgoTree from ErgoScript via Contract::compile.

Dependencies

~14–27MB
~451K SLoC