npm.io
0.40.0 • Published 3 years ago

@huma-shan/types

Licence
MIT
Version
0.40.0
Deps
2
Size
278 kB
Vulns
0
Weekly
0
Stars
386

@huma-shan/types

@huma-shan/types is a typescript library part of the Request Network protocol. It is the collection of typescript types shared across @requestnetwork packages.

Installation

npm install @huma-shan/types --save-dev

Usage

import { IdentityTypes, SignatureTypes } from '@huma-shan/types';

const signatureMethod = SignatureTypes.REQUEST_SIGNATURE_METHOD.ECDSA;
const identityType = IdentityTypes.REQUEST_IDENTITY_TYPE.ETHEREUM_ADDRESS;

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Read the contributing guide

License

MIT