dcent-web-connector
This is package for connecting WEB and D'CENT biometric wallet.
dcent-web-connector
is modules for easy integration of D'CENT into 3rd party services.
User interface is presented in a popup window served from https://bridge.dcentwallet.com/v2
.
Installation
Node.js
npm i dcent-web-connector
Usage
const DcentWebConnector = require('dcent-web-connector')
var result
try{
result = await DcentWebConnector.info()
DcentWebConnector.popupWindowClose()
}catch(e){
result = e
}
Preparence
Test
Preparence
If you want to test tests/unit/1_bridge_test
,
npm run dev
Run
npm run test