TypeScript module to work with HashKey DID Protocol.
npm install hashkeydid
hashkeydid provides simple access to the HashKey DID Contracts.
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"});