alephium-js
A JavaScript/TypeScript library for building decentralized applications on the Alephium platform.
Install
npm ci
Development
Update schemas
One first needs to update the version number of alephium
and explorer-backend
in package.json
. Kindly note that one needs to check the compatibility of both OpenAPI files manually.
Typings can automatically generated using the following command:
npm run update-schemas
Compile
Compile the TypeScript files into JavaScript:
npm run compile
Testing
npm test
or, to watch for changes:
npm run test:watch