The core library to write substrate wasm smart contracts in AssemblyScript.
Collection of library used in developing smart contracts including:
contract runtime api- Host functions of substrate contract runtime.env- Contract envionment interface for interacting with contract executor.types- Basic types defined for contract primitive.context- The information of the contract context.crypto- Hash funtions utils.
Install all dependencies
yarn
To run the unit test:
yarn test
subscript/core is distributed under the terms of the Apache License (Version 2.0).
See LICENSE-APACHE for details.