ergo-lib 0.14.0

ErgoTree interpreter and wallet-like features for Ergo
Documentation

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:

  • Interpreter:
    • CThreshold conjecture in sigma protocol; #248
    • AVL trees; #368
    • Context.headers; #372
    • Context.preHeader; #373
    • Distributed signatures; #367
    • Rest of the unimplemented ops (a few not-so-popular ones, see ergotree-ir README);
    • Costing; #193
  • Swift bindings for iOS; #47
  • ErgoScript compiler; #370
  • 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.