What's new
- Operator methods (#49).
RwaAssetClientgainssetIssuer,setPaused,updateMetadataandsetCompliance, plusadmin,complianceContractandminComplianceLevelreads.ComplianceClientgainssetKyc,revokeKyc,getKycandadmin. Each write has abuild*Txform for a wallet and a submitting form. - Sponsored writes (#50). One account can source and pay for a write that another address authorizes, so an issuer can cover its holders' fees. Build with a
buildSponsored*Txmethod, sign the authorization entries withauthorizeEntries(possibly on another machine), then submit withsubmitSponsoredTx. Signed entries are checked before submission, and their expiry must fall between 40 and 17,280 ledgers ahead. buildTransferAdminTxon every client makes handing over an admin role possible from the SDK. The contract requires both the current and the incoming admin to authorize.
Worth knowing
An account that authorizes a sponsored write must already exist on the network, even though it pays no fee. So holder accounts still need creating, for example sponsored by the issuer; only the ongoing fees can be covered.
Upgrading from 0.2.0
No changes are needed. Nothing was removed or changed incompatibly.
The read and write smoke tests pass on testnet against this release, including every operator method, a sponsored transfer and a sponsored admin handover (#52). The full list is in CHANGELOG.md.