v0.4.0
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, andstartLedger
is optional (if using acursor
). 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 operationsauth
andfootprint
fields with the result. This should be used to prepare a transaction for signing and sending. Docs - Reimplemented
getAccount
method to use Soroban-RPC'sgetLedgerEntry
under the hood. Should not be a noticeable change. - Changed
getAccount
return type from{id: string, sequence: string}
, to anAccount
class, which hasaccountId
, andsequenceNumber
methods. This class can be passed directly toTransactionBuilder
as asource
. Docs