dripverse
v1.9.0
Published
DripVerse SDK
Downloads
791
Readme
DripVerse Legacy JS SDK
New SDK coming soon.
For more latest development updates, join DripVerse Discord or subscribe to Telegram Channel or follow DripVerse Twitter
Install
npm install dripverse --save
Use
import { DripSDK, ethers } from 'dripverse'
or
const { DripSDK, ethers } = require('dripverse')
Ethers Docs
Initialise:
Get your Unique Key Generated from DripVerse Web App Utility Page or Project Page. Checkout our documentation to learn more about configuring Utility.
const drip = new DripSDK('2bd97fd02911eb060b259167676800b2f15e3336');
Functionalities:
Get DripVerse Status:
await drip.status()
Types of Error:
- Error: base type for all errors. Never actually thrown by the engine.
- EvalError: thrown when an error occurs during execution of code via eval()
- RangeError: thrown when a number is outside the bounds of its range. For example, trying to create an array with -20 items (new Array(-20)). These occur rarely during normal execution.
- ReferenceError: thrown when an object is expected but not available, for instance, trying to call a method on a null reference.
- SyntaxError: thrown when the code passed into eval() has a syntax error.
- TypeError: thrown when a variable is of an unexpected type. For example, new 10 or "prop" in true.
- URIError: thrown when an incorrectly formatted URI string is passed into encodeURI, encodeURIComponent, decodeURI, or decodeURIComponent.
Flow:
- Call:
- DripVerse data
- Smart Contract Function
- MultiLink data
- Config:
- env