ion-pow-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.16 • Public • Published

ion-pow-sdk

This repo contains the sdk for ION proof of work.

How To Use It

  1. npm install ion-pow-sdk
  2. const IonProofOfWork = require('ion-pow-sdk'); or import IonProofOfWork from 'ion-pow-sdk'
  3. call IonProofOfWork.submitIonRequestUntilSuccess(getChallengeUri, solveChallengeUri, JSON.stringify(requestBody))
  4. The SDK will get the challenge, solve it, and submit the request for you.

Readme

Keywords

none

Package Sidebar

Install

npm i ion-pow-sdk

Weekly Downloads

18

Version

1.0.16

License

ISC

Unpacked Size

4.71 kB

Total Files

4

Last publish

Collaborators

  • isaacjchen