Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 776 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 776 Bytes

@requestnetwork/types

@requestnetwork/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 @requestnetwork/types --save-dev

Usage

import { IdentityTypes, SignatureTypes } from '@requestnetwork/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