Skip to content

v1.0.0

Compare
Choose a tag to compare
@polarker polarker released this 20 Jun 14:55
· 319 commits to master since this release

The main changes introduced in v1.0.0:

  1. Easy Contract Interaction: The SDK generates view and transact methods for calling contract methods offchain and onchain without TxScripts. Documentation
  2. Method Selector Enabled by Default: For better interoperability, the method selector is now enabled by default for interfaces. The index-based selector is deprecated.
  3. Backward Compatibility for Bytecodes: The CLI compiler now maintains backward compatibility for bytecodes if your contracts were deployed on mainnet or testnet. This change simplifies contract upgrades.
  4. Removal of Project.build: The Project.build method has been removed from the core package and is no longer recommended. You should use the compiler to compile the entire TypeScript project.

Action Required: If you are building a new project and haven’t deployed yet, we highly recommend upgrading to 1.x.x. Remove the artifacts folder and re-compile everything to take advantage of the latest full node features.