@artela/aspect-libs
TypeScript icon, indicating that this package has built-in type declarations

0.0.33 • Public • Published

Aspect TypeScript Library (aspect-libs)

TypeScript/AssemblyScript library for writing aspect to be deployed to Artela.

Usage

For a detailed guide on how to create an Aspect, please see the Aspect Dev Book.

One step of creating the subgraph is writing mappings that will process blockchain events and will write entities into the store. These mappings are written in TypeScript/AssemblyScript.

The aspect-libs provides Host APIs to interact with the Aspect runtime, with this set of APIs, you can access blockchain data, smart contracts, cryptographic functions, invoking system calls and more. To use it, all you have to do is add a dependency on it:

npm install --dev @artela/aspect-libs # NPM
yarn add --dev @artela/aspect-libs    # Yarn

! code example to be added:

License

Copyright © 2023 Artela Network, Inc. and contributors.

The Aspect TypeScript library is dual-licensed under the MIT license and the Apache License, Version 2.0.

Readme

Keywords

none

Package Sidebar

Install

npm i @artela/aspect-libs

Weekly Downloads

5

Version

0.0.33

License

none

Unpacked Size

6.68 MB

Total Files

273

Last publish

Collaborators

  • jack-artela
  • gene.ye
  • eric.artela
  • yuan90