Modules

SignumJS is maintained in a monorepo and splitted in several modules.

  • @signumjs/core The main module providing an extense API for blockchain interaction

  • @signumjs/contracts The module especifically relevant for smart contracts

  • @signumjs/crypto The cryptographic functions

  • @signumjs/util This is the tool belt around SignumJS providing most useful functions, e.g. conversions

  • @signumjs/http A thin Http wrapper, with consistent response types, and exception handling. It wraps the famous axios library.

  • @signumjs/monitor A module providing a class to execute recurring async operations with de/serialization feature, good for listening to blockchain transactions. This is still experimental and the only one that is not used by @signumjs/core.

Install packages

The installation of the packages always follows the same pattern

npm i @signumjs/core
npm i @signumjs/contracts
npm i @signumjs/crypto
npm i @signumjs/util
npm i @signumjs/http
npm i @signumjs/monitor

Last updated