0.2.0 • Published 4 years ago

did-sdk-dev v0.2.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

DID-SDK

install

yarn add did-sdk

SANClient error

  • ok
{
  code: 0,
  message: 'ok',
  content: { issuers: [ [Object] ] },
  details: ''
}

code is 0, message is 'ok', content is the result.

  • error
{
  code: -10001,
  message: '请求参数无效',
  content: '',
  details: 'did invalid'
}

code not 0, message is a brief description of error, details is the detailed description of error.

SANClient op

example

const SANClient = require("./did-sdk/index");

const client = new SANClient();
var response = await client.did.create();
console.log(response);
0.2.0

4 years ago

0.1.9

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago