Skip to content

v0.2.2

Pre-release
Pre-release

Choose a tag to compare

@rkalis rkalis released this 08 Nov 20:11
· 721 commits to master since this release

CashScript SDK

  • 🐛 Remove minimaldata encoding in OP_RETURN outputs that caused incompatibility with SLP.
  • 📛 Renamed Contract.fromCashFile to Contract.compile.
    • The new function allows to pass in a path to a .cash file, or a string of the contract source code.
    • Contract.fromCashFile still exists for backward compatibility, but is deprecated and will be removed in a later release.
  • 📛 Renamed Contract.fromArtifact to Contract.import.
    • The new function allows to pass in a path to a .json artifact file, or a JSON object of the artifact.
    • Contract.fromArtifact still exists for backward compatibility, but is deprecated and will be removed in a later release.
  • 🛠️ instance.export's fn argument is now optional.
    • If it is provided, the artifact is written to the file, if not, it is returned as an object.

https://twitter.com/RoscoKalis/status/1192900277105389568