Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 2.86 KB

CHANGELOG.md

File metadata and controls

36 lines (28 loc) · 2.86 KB

Mosaic JS Change Log

Version 0.10.0 ⚓️ Anchor

You can use mosaic.js to interact with contracts on mosaic chains.

It requires mosaic-contracts for ABIs and BINs of contracts.

Notable Changes

  • Library is provided via npm package @openstfoundation/mosaic.js
  • Now provides a Mosaic "super" provider to access both chains and their contract addresses (#44).
  • Now provides a Facilitator class for easier interaction (#42, #51, #56).
  • Now provides contract classes to interact with the contracts:
    • Anchor (#42).
    • EIP20Gateway and EIP20CoGateway (#42).
    • EIP20Token (#42).
    • OSTPrime (#51).
    • UtilityToken (#117).
    • Libraries (#62, #115).
  • New Setup module simplifies deployment (see also documentation) (#119).
  • ProofGenerator is now exposed to consumers (#124).
  • Non-private functions no longer start with an underscore (#97).
  • ABIs and BINs are now accessed as a dependency on mosaic-contracts (#39).
  • web3 and web3-eth-accounts are now peer dependencies (#85).
  • Utils.sendTransaction() is now exposed to the consumer (#135).
  • Stake helper now accepts value token in the constructor (#140).

Deprecations

  • ChainSetup and setup helpers are now deprecated (#62).
    • See (#57) for help on how to migrate.
  • StakeHelper is now deprecated (#87).
    • See (#86) for help on how to migrate.