All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
0.3.0 - 2020-11-04
- Add value extraction API for Constant (e.g i64::try_extract_from(constant)) #111.
- Implement From for DataInput #113.
- Add data inputs to TxBuilder #115.
- Read/Write register values in ErgoBox, ErgoBoxCandidate #116.
- Add tokens support in TxBuilder and ErgoBoxCandidateBuilder #118.
- Implement JSON encoding/decoding for UnsignedTransaction #123.
- Add TxBuilder::estimate_tx_size_bytes() to get estimated serialized transaction size in bytes after signing (assuming P2PK box spending); tx_builder::SUGGESTED_TX_FEE constant with "default" current tx fee used lately (1100000 nanoERGs); #128.
- Add checks when minting token for minting token exclusivity and registers overwrite #129.
- Add transaction validity checks in TxBuilder #130.
- Use TokenAmount instead of u64 in sum_tokens*() #130.
- Add TokenAmount::checked*() ops #130.
- Add I64::as_num() in WASM bindings #130
- box_id, box_value and register modules made private in ergo_box module and all types are re-exported from ergo_box module itself #131.
0.2.0 - 2020-10-06
- Binary serialization;
- JSON serialization;
- Box, Transaction building;
- Transaction signing (P2PK only);
- ErgoTree constant values conversion.