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

#3 in #ergo-tree

Download history 26/week @ 2024-08-26 4/week @ 2024-09-02 3/week @ 2024-09-09 23/week @ 2024-09-16 97/week @ 2024-09-23 9/week @ 2024-09-30 1/week @ 2024-10-07 9/week @ 2024-10-14 1/week @ 2024-10-21 4/week @ 2024-10-28 22/week @ 2024-11-04 8/week @ 2024-11-18 6/week @ 2024-11-25 10/week @ 2024-12-02 58/week @ 2024-12-09

82 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–28MB
~455K SLoC