# hashkeydid

> TypeScript module to work with HashKey DID Protocol.

Latest version **2.0.0** (published 2023-04-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install hashkeydid
pnpm add hashkeydid
yarn add hashkeydid
bun add hashkeydid
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-04-19 |
| First published | 2023-04-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 309.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | hashkeydid |
| Keywords | HashKeyDID |

## Links

- npm: https://www.npmjs.com/package/hashkeydid
- Repository: https://github.com/hashkeydid/hashkeydid-ts
- Homepage: https://github.com/hashkeydid/hashkeydid-ts#readme
- Issues: https://github.com/hashkeydid/hashkeydid-ts/issues
- npm.io page: https://npm.io/package/hashkeydid

## Dependencies (4)

- [chai](https://npm.io/package/chai.md) ^4.3.7
- [axios](https://npm.io/package/axios.md) ^1.2.2
- [mocha](https://npm.io/package/mocha.md) ^10.2.0
- [ethers](https://npm.io/package/ethers.md) ^5.7.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2023-04-19

## README

# HashKey DID SDK - NPM

[![License](https://img.shields.io/badge/License-MIT-yellow)](LICENSE)

TypeScript module to work with HashKey DID Protocol.

## Installation

`npm install hashkeydid`

## Usage

`hashkeydid` provides simple access to the [HashKey DID](https://hashkey.id) Contracts.

## Basic

### HashKeyDID

`HashKeyDID` is the Basic object to send transactions
with [HashKey DID](https://github.com/hashkeydid/hashkeydid-contracts) Contracts.

```typescript
import {NewHashKeyDID} from "hashkeydid";

HashKeyDIDOnlyRead = await NewHashKeyDID("rpc url");

HashKeyDIDByPrivateKey = await NewHashKeyDID("rpc url", {privateKey: "private_key"});

HashKeyDIDByMnemonic = await NewHashKeyDID("rpc url", {mnemonic: "mnemonic"});
```

---
_Source: https://npm.io/package/hashkeydid · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
