Skip to content

Release v3.1.0

Compare
Choose a tag to compare
@0x31 0x31 released this 31 May 13:17
· 95 commits to master since this release
d9aa22f

BREAKING CHANGE - Solana.Account now treats amounts as being in the asset's native decimals rather than Solana's truncated decimals.

Changelog:

  • Solana's amounts now use the asset's native decimals - this affects all methods including .Account, .getBalance and .assetDecimals. A new method .splDecimals has been added to fetch the SPL token's decimals, will should be equal to Math.min(assetDecimals, 9).
  • ChainTransaction has been extended with the field explorerLink with a URL pointing to the transaction's explorer page. ChainTransaction's txidFormatted field is still deprecated in favour of txHash.
  • RenJS now checks the RenVM selector whitelist to prevent new gateways being created for asset/chain pairs that have been paused in RenVM.