v0.2.2
Pre-release
Pre-release
CashScript SDK
- 🐛 Remove minimaldata encoding in OP_RETURN outputs that caused incompatibility with SLP.
- 📛 Renamed
Contract.fromCashFiletoContract.compile.- The new function allows to pass in a path to a
.cashfile, or a string of the contract source code. Contract.fromCashFilestill exists for backward compatibility, but is deprecated and will be removed in a later release.
- The new function allows to pass in a path to a
- 📛 Renamed
Contract.fromArtifacttoContract.import.- The new function allows to pass in a path to a
.jsonartifact file, or a JSON object of the artifact. Contract.fromArtifactstill exists for backward compatibility, but is deprecated and will be removed in a later release.
- The new function allows to pass in a path to a
- 🛠️
instance.export'sfnargument is now optional.- If it is provided, the artifact is written to the file, if not, it is returned as an object.