Skip to main content

Aspect Library

Introductionโ€‹

A AssemblyScript library for writing aspect to be deployed to Artela๏ผŒ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.

Installationโ€‹

The aspect-libs library provides APIs to access the Artela Node store, blockchain data, smart contracts, cryptographic functions and more. To use it, all you have to do is add a dependency on it:

  • If you're using npm install
npm install --dev @artela/aspect-libs # NPM

  • If you're using yarn install
yarn add --dev @artela/aspect-libs    # Yarn

Usageโ€‹


Structureโ€‹

Join-Pointsโ€‹

Operation Interfaceโ€‹

API referencesโ€‹

Versionsโ€‹

The Version in the subgraph manifest specifies the mapping Aspect-lib version which is run by Artela Blockchain Node for a given Version.

VersionArtela VersionRelease notes
0.0.33v0.4.7-rc6The first beta is available, where the Transaction Level Aspect feature has been released