Skip to content

aepp-sdk-go v8.0.0 "Final Fantasy"

Compare
Choose a tag to compare
@randomshinichi randomshinichi released this 21 Jan 15:30
· 63 commits to master since this release

Breaking Changes

Unfortunately, this will be the final release of aepp-sdk-go. I have written DESIGN.md to allow the community to support this work.

If you have any further requests, please redirect them to the forum instead.

TxReceipt now contains all information about a submitted transaction.
TxReceipt.Watch() returns a value thorugh a go channel when the transaction is mined.
aeternity.WaitSynchronous() enables the old synchronous wait behaviour, used in Context.SignBroadcastWait().
TTLer, Noncer has been deprecated in favour of a single TTLNoncer closure.
WaitTransactionForXBlocks() is now obsolete and removed.

Features

NamePointer previously only allowed one to point to an account_pubkey. Now, the NamePointer type can be anything, and it also supports the canonical types account_pubkey, oracle_pubkey, contract_pubkey, channel. This is to enable AENS to be used as an arbitrary key-value store.

aeternity.Contract higher level interface, handles contract deploying and calling. Beta quality.
aeternity.Oracle wraps around a func(query string) (response string, err error), and you can now Listen() - which means you can now build long-running oracles that will automatically respond to any incoming queries.
aeternity.AENS - unfinished. AENS operations are not complex enough to really require a higher level interface anyway.

Known Issues

aeternity.DefaultCallResultListener works, but may need further analysis before one can truly rely on it.

Fixes