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

1.0.18 • 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.

/@decentralized-identity/ion-pow-sdk/

    Package Sidebar

    Install

    npm i @decentralized-identity/ion-pow-sdk

    Weekly Downloads

    996

    Version

    1.0.18

    License

    apache-2.0

    Unpacked Size

    16.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • shamilovtim
    • mistermoe
    • csuwildcat
    • henrytsai
    • symorton
    • ci_identity_foundation