subsembly-core

1.1.0 • Public • Published

License Unit Tests

This is the core library of Subsembly framework used for developing Substrate runtimes in AssemblyScript.

Usage

Install the package:

yarn add subsembly-core 

or

npm install subsembly-core

Folder Structure

Subsembly-Core project consists of following folders:

subsembly
    assembly/
    │
    └───models     <--- Models representing common Subsembly types
    |
    └───modules    <--- Core modules used in Runtime development
    │
    └───utils      <--- Utility functions used in Runtime development

Models

Folder consists of commonly used types in Subsembly, such as, Header, Extrinsic, Block, etc. All the models implement Codec interface from as-scale-codec and have corresponding SCALE encoding and decoding methods.

Modules

Folder consists of commonly used modules inside Subsembly runtime. For instance, Log class to display messages to the Host.

Utils

Folder consists of commonly used utility functions in Subsembly. For instance, it includes methods for serialising and deserialising data incoming from the Host.

Funding

The project is funded by Web3 Foundation via their General Grants Program 🙏 WEB3 Badge

Package Sidebar

Install

npm i subsembly-core

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

179 kB

Total Files

68

Last publish

Collaborators

  • dastansam