SignumJS
Search…
⌃K

Modules

SignumJS is maintained in a monorepo and splitted in several modules.
The available modules and their dependencies in relation to @signumjs/core
​
  • ​@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
yarn
<script/>
npm i @signumjs/core
npm i @signumjs/contracts
npm i @signumjs/crypto
npm i @signumjs/util
npm i @signumjs/http
npm i @signumjs/monitor
​
yarn add @signumjs/core
yarn add @signumjs/contracts
yarn add @signumjs/crypto
yarn add @signumjs/util
yarn add @signumjs/http
yarn add @signumjs/monitor
<script src='https://cdn.jsdelivr.net/npm/@signumjs/core/dist/signumjs.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/@signumjs/contracts/dist/signumjs.contracts.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/@signumjs/crypto/dist/signumjs.crypto.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/@signumjs/http/dist/signumjs.http.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/@signumjs/util/dist/signumjs.util.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/@signumjs/monitor/dist/signumjs.monitor.min.js'></script>
Last modified 1yr ago