@obkenobi/indy-client

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @obkenobi/indy-client

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

58.4 kB

Total Files

19

Last publish

Collaborators

  • obkenobi