Skip to content

Sigma SDK v5.0.8 for Ergo mainnet v5.0.x

Compare
Choose a tag to compare
@aslesarenko aslesarenko released this 03 Jun 15:00
· 489 commits to develop since this release
50ce9da

What's Changed

This update brings a series of major changes, focusing on improving the performance, usability, and cross-platform compatibility of the library. We've introduced Scala.js compilation support for various modules, minimized consensus code, and restructured the codebase. With the implementation of new changes, Sigma SDK can now be directly utilized from Scala projects for transaction signing.

Important developments include:

  • The addition of the sigmajs-crypto-facade JS dependency and a new JS implementation for CryptoFacade.
  • Further separation of the consensus code from the compiler and removal of unused code.
  • The introduction of a new sdk module, moving some test and code modules, and improving their execution on both JVM and JS.
  • Code for EIP3 addresses implementation and some transaction signing is moved to the sdk module from the ergo-wallet repository and Appkit respectively.
  • More classes are now exposed to JS via the JSExport annotation.
  • ScalablyTyped is configured to import FleetSDK, and there's a new implementation for conversion between Fleet transaction JS object and ErgoLikeTransaction.
  • The equality of TokenId has been fixed, and a JS version of CryptoFacade.encodePoint has been implemented.
  • Comprehensive ScalaDocs have been added for all updated code, along with a series of refactorings and cleanups.

Releated PRs

  • Add files filter and reorganize package.json by @anon-br in #840
  • Export modules individually by @anon-br in #842
  • Add new publish approach by @anon-br in #843
  • Create dist directory on publish if it doesn't exist by @anon-br in #844
  • [Sigma.js] add TypeScript as a dev dependency by @anon-br in #849
  • Support Scala.js and further reorg (part1) by @aslesarenko in #878
  • Support Scala.js and further reorg (part2) by @aslesarenko in #879
  • Support Scala.js and further reorg (part3) by @aslesarenko in #882
  • Support Scala.js and further reorg (part4) by @aslesarenko in #883
  • [v5.x] Cross-compilation with Scala.js by @aslesarenko in #833

New Contributors

  • @anon-br made their first contribution in #840

Full Changelog: v5.0.7...v5.0.8