Skip to content

Releases: ergoplatform/sigma-rust

v0.4.4

20 Jan 08:46
ergo-lib-v0.4.4
6c8f979
Compare
Choose a tag to compare

[0.4.4] - 2021-01-20

Added

  • BlockValue, ValDef, ValUse, FuncValue, Apply IR nodes evaluation and serialization #171;
  • SimpleBoxSelector: sort inputs by target tokens and skip inputs that does not have target tokens #175;
  • Fold(collection), ExtractAmount(Box.value), SelectField(tuple field access) IR nodes evaluation and serialization #173

v0.4.3

15 Jan 14:04
ergo-lib-v0.4.3
6eb2859
Compare
Choose a tag to compare

[0.4.3] - 2021-01-15

Added

  • SType::STuple() and Value::Tup() types to store tuples. Implemented serialization, conversion between Rust types and Constant(Value, SType) #166;
  • EQ(==), NEQ(!=) implementation #166;

v0.4.2

21 Dec 09:50
ergo-lib-v0.4.2
cbb743e
Compare
Choose a tag to compare

[0.4.2] - 2020-12-21

Added

  • Interpreter: Box.Rx properties (get register value), OptionGet #163;
  • Interpreter: added global vars (INPUTS, OUTPUTS, SELF, HEIGHT), Context properties (dataInputs) #155;
  • Explorer API v1 format parsing for box.additionalRegisters #161;

v0.4.1

19 Nov 15:18
ergo-lib-v0.4.1
685046b
Compare
Choose a tag to compare

Added

  • Support for parsing ErgoBox transaction id from txId JSON field name;

v0.4.0

19 Nov 14:19
ergo-lib-v0.4.0
f3f7ef1
Compare
Choose a tag to compare

Added

  • Support for parsing ErgoBox id also from "id" JSON field name #134
  • Address::p2pk_from_pk_bytes to make an Address from serialized PK #136
  • Address::from_str to parse an Address without checking the network prefix #136
  • Address::recreate_from_ergo_tree to re-create the address from ErgoTree (built from the address) #146
  • NetworkAddress to store Address + NetworkPrefix #146

Changed

  • Move and changed the visibility of various modules(input, data_input, prover_result, etc.) #135
  • Add Context parameter to Prover::prove, Verifier::verify #139
  • Move all transaction-related parameters into TransactionContext parameter in Wallet::sign_transaction #139
  • Move Constant export from crate root to constant module (ast::constant) and made eval module private #142
  • Make SType public #142

v0.3.0

04 Nov 10:15
ergo-lib-v0.3.0
8c8ea4b
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

v0.2.1

16 Oct 14:43
873ea15
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Publish separate npm packages ergo-lib-wasm-nodejs and ergo-lib-wasm-browser.

v0.2.0

07 Oct 10:06
957add6
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

First alpha release.

Features:

  • Binary serialization;
  • JSON serialization;
  • Box, Transaction building;
  • Transaction signing (P2PK only);
  • ErgoTree constant values conversion.