Skip to content

sdk 0.0.0-20220503070442-26cc281

Install from the command line:
Learn more about npm packages
$ npm install @nextdotid/sdk@0.0.0-20220503070442-26cc281
Install via package.json:
"@nextdotid/sdk": "0.0.0-20220503070442-26cc281"

About this version

@nextdotid/sdk

Publish

Next.ID JavaScript SDK

Features

Installation

# Stable channel
npm install @nextdotid/sdk@latest
# Unstable channel
npm install @nextdotid/sdk@latest --registry https://npm.next.id

Usage

import { NextIDService } from '@nextdotid/sdk'

const service = NextIDService.development()
const platforms = await service.getAvaiabilePlatformList()
const binder = service.createBinder({
  platform: 'platform code',
  identity: 'identity',
  public_key: 'your public key',
})
const proof = await binder.bindProof('create')

LICENSE

MIT