2.0.0 • Published 1 year ago
hashkeydid v2.0.0
HashKey DID SDK - NPM
TypeScript module to work with HashKey DID Protocol.
Installation
npm install hashkeydid
Usage
hashkeydid
provides simple access to the HashKey DID Contracts.
Basic
HashKeyDID
HashKeyDID
is the Basic object to send transactions
with HashKey DID Contracts.
import {NewHashKeyDID} from "hashkeydid";
HashKeyDIDOnlyRead = await NewHashKeyDID("rpc url");
HashKeyDIDByPrivateKey = await NewHashKeyDID("rpc url", {privateKey: "private_key"});
HashKeyDIDByMnemonic = await NewHashKeyDID("rpc url", {mnemonic: "mnemonic"});
2.0.0
1 year ago