Skip to content

v0.12.0

Latest
Compare
Choose a tag to compare
@rkalis rkalis released this 02 Oct 10:01
· 2 commits to master since this release

CashScript SDK

  • ✨ Add getVmResourceUsage method to TransactionBuilder.
  • ✨ Add maximumFeeSatsPerByte and allowImplicitFungibleTokenBurn options to TransactionBuilder constructor.
  • ✨ Add a configurable vmTarget option to MockNetworkProvider.
  • ✨ Add support for ECDSA signatures in contract unlockers for sig and datasig parameters.
  • ✨ Add signMessageHash() method to SignatureTemplate to allow for signing of non-transaction messages.
  • 💥 BREAKING: Remove deprecated "old" transaction builder (contract.functions).
  • 💥 BREAKING: Make provider a required option in Contract constructor.
  • 💥 BREAKING: Set updateUtxoSet to true by default for MockNetworkProvider.
  • 💥 BREAKING: No longer seed the MockNetworkProvider with any test UTXOs.
  • 💥 BREAKING: Replace setMaxFee() method on TransactionBuilder with maximumFeeSatoshis option.
  • 💥 BREAKING: Rename bitauthUri() method on TransactionBuilder to getBitauthUri() for consistency.
  • 🛠️ Improve libauth template generation.
  • 🐛 Fix bug where SignatureTemplate would not accept private key hex strings as a signer.