Skip to content

0.2.0 - Ergo Node Interface Library

Compare
Choose a tag to compare
@robkorn robkorn released this 20 Nov 13:24
· 68 commits to master since this release

This release exposes breaking changes, and is thus v0.2.0.

Previous functions related to signing/submitting transactions use to target JSON. In v0.2.0, said functions now instead have json in their name, and the previous function names are instead used by functions which utilize ergo-lib datatypes for inputs/outputs.

These include:

  • fn submit_transaction(&self, signed_tx: &Transaction) -> Result<TxId>
  • fn sign_transaction(&self, unsigned_tx: &UnsignedTransaction) -> Result<Transaction>
  • fn sign_and_submit_transaction(&self, unsigned_tx: &UnsignedTransaction) -> Result<TxId>