BidiPass NodeJS SDK
BidiPass is an identity authentication protocol designed to strengthen today’s KYC model that global businesses depend on.
This repository contains BidiPass NodeJS SDK.
- [ ]
- [ ]
- [ ]
npm install @bidipass/sdk
Command Line Tool
$(npm bin)/bidipass --help
alexanderc@MacBook-Pro:~/Desktop/Projects/exchange$ $(npm bin)/bidipass --help bidipass <command> Commands: bidipass admin <command> Manage admins bidipass fake-identity Fake an identity bidipass generate-account Generate new blockchain account bidipass info Show distribution information bidipass provider <command> Manage providers Options: --key, -k BidiPass private key -h, --help Show help [boolean] -v, --version Show version number [boolean] Copyright BidiPass 2018
Commands are nested, e.g.
$(npm bin)/bidipass provider manager add. You can write
--helpto see information about every command.
npm run rpc
In order to debug please add
npm test. This feature is using debug package; please refer to it when using.
Another option to generate dump QR code for an identity in working directory is adding
BIDIPASS_DUMP_QR=1environment variable when running tests.
- Deploy blockchain using
npm run migrate(production)
npm run init
npm run docs
npm run initsynchronizes network configuration file (
blockchain/truffle.json), which contains default network setup used by clients. Be very careful with this as it is being used in production!