# @decentralized-identity/ion-pow-sdk

> sdk to perform proof of work for ION

Latest version **1.0.18** (published 2023-11-29) · apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @decentralized-identity/ion-pow-sdk
pnpm add @decentralized-identity/ion-pow-sdk
yarn add @decentralized-identity/ion-pow-sdk
bun add @decentralized-identity/ion-pow-sdk
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.18 |
| Published | 2023-11-29 |
| First published | 2023-04-21 |
| Weekly downloads | 0 |
| License | apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 16.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | isaacjchen |
| Maintainers | mistermoe, csuwildcat, henrytsai, logangirvin, codeglobally, symorton, beejones, isaacjchen, tplooker, ci_identity_foundation |

## Links

- npm: https://www.npmjs.com/package/@decentralized-identity/ion-pow-sdk
- Repository: https://github.com/decentralized-identity/ion-pow-sdk
- Homepage: https://github.com/decentralized-identity/ion-pow-sdk#readme
- Issues: https://github.com/decentralized-identity/ion-pow-sdk/issues
- npm.io page: https://npm.io/package/@decentralized-identity/ion-pow-sdk

## Dependencies (3)

- [buffer](https://npm.io/package/buffer.md) 6.0.3
- [hash-wasm](https://npm.io/package/hash-wasm.md) 4.9.0
- [cross-fetch](https://npm.io/package/cross-fetch.md) 3.1.5

## Recent versions

- 1.0.18 (latest) — 2023-11-29
- 1.0.17 — 2023-04-21

## README

# ion-pow-sdk

This repo contains the sdk for ION proof of work.

### How To Use It

1. npm install ion-pow-sdk
1. `const IonProofOfWork = require('ion-pow-sdk');` or `import IonProofOfWork from 'ion-pow-sdk'`
1. call `IonProofOfWork.submitIonRequestUntilSuccess(getChallengeUri, solveChallengeUri, JSON.stringify(requestBody))`
1. The SDK will get the challenge, solve it, and submit the request for you.

---
_Source: https://npm.io/package/@decentralized-identity/ion-pow-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
