Skip to content

v0.4.0

Compare
Choose a tag to compare
@paulbellamy paulbellamy released this 15 Feb 14:11
· 81 commits to main since this release
8737c5b

Note: This release requires Soroban-RPC server v0.6.0 or newer.

  • Support for "Auth-Next". The entirely new auth system for Soroban contracts. More Info
  • getEvents parameters have changed. endLedger is now gone, and startLedger is optional (if using a cursor). Docs
  • Added requestAirdrop method to create and fund a new account on testnet/futurenet. Docs
  • Added prepareTransaction method to simulate a transaction and update it's contract operations auth and footprint fields with the result. This should be used to prepare a transaction for signing and sending. Docs
  • Reimplemented getAccount method to use Soroban-RPC's getLedgerEntry under the hood. Should not be a noticeable change.
  • Changed getAccount return type from {id: string, sequence: string}, to an Account class, which has accountId, and sequenceNumber methods. This class can be passed directly to TransactionBuilder as a source. Docs