Skip to content

v2.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Neylix Neylix released this 27 Dec 15:05

Archethic network is going to implement a new version of it's smart contract using Web Assembly (wasm).
As Archethic aims to push the Web Assembly language and deprecate the old interpreted language, the libjs includes breaking changes and remove the usability of transaction version 3.

Breaking changes

  • Transaction are only version 4
    • Can create or call WASM contracts
    • Cannot create or call interpreted contracts
  • TransactionBuilder.setCode() is removed
  • TransactionBuilder.addRecipient() args are now only object, args as list are is deprecated
  • Contract.newContractTransaction() now accept only new wasm contract

To develop new contract in Web Assembly you can start with https://github.com/archethic-foundation/create-ae-contract-as

Full Changelog: v1.21.3...v2.0.0-rc.0