37 releases (24 breaking)

0.27.1 Dec 2, 2023
0.26.0 Oct 13, 2023
0.24.0 May 12, 2023
0.23.0 Feb 8, 2023
0.4.1 Nov 19, 2020

#347 in Magic Beans

Download history 8/week @ 2023-12-09 14/week @ 2023-12-16 111/week @ 2023-12-23 18/week @ 2024-02-17 45/week @ 2024-02-24 13/week @ 2024-03-02 20/week @ 2024-03-09 12/week @ 2024-03-16 14/week @ 2024-03-23

67 downloads per month
Used in 8 crates (7 directly)

CC0 license

2MB
45K 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

~13–28MB
~460K SLoC