1.0.0 • Published 5 years ago

@obkenobi/indy-client v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Hyperledger Indy Client

A small library which wraps the indy-sdk.

Installation

npm install @obkenobi/indy-client

Usage

import IndyClient from '@obkenobi/indy-client';

const indyClient = new IndyClient('faber', 'http://localhost:8080');

await indyClient.connectAsync();
await indyClient.useWalletAsync('myWallet', '123456', true);

//create a verinym
await indyClient.addDidAsync('steward_did', '000000000000000000000000Steward1');

Output should be { status: 'OK', message: 'wallet steward verinmy has been created.' }

Tests

npm run test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.