dripverse
TypeScript icon, indicating that this package has built-in type declarations

1.6.6 • Public • Published

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

npm node-current NPM npm bundle size Snyk Vulnerabilities for npm package Libraries.io SourceRank

npm npm jsDelivr hits (npm)

Install

npm install dripverse --save

Use

import { DripSDK, ethers } from 'dripverse'

or

const { DripSDK, ethers } = require('dripverse')

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

Package Sidebar

Install

npm i dripverse

Weekly Downloads

181

Version

1.6.6

License

Apache-2.0

Unpacked Size

221 kB

Total Files

60

Last publish

Collaborators

  • hellskater
  • anistark