Dag4.js Javascript API
The dag4.js typescript library provides secure wallet functionality in javascript and convenient wrappers for interacting with Constellation Network APIs. The library is platform agnostic and can be used to build apps in browsers, NodeJS, or React Native.
View Dag4.js on Github
You can find the dag4 repo and additional documentation on Github.
Installation
NPM
npm install @stardust-collective/dag4
or Yarn
yarn add @stardust-collective/dag4
Usage
Node
const { dag4 } = require('@stardust-collective/dag4');
ES6
import { dag4 } from '@stardust-collective/dag4';