This is SDK for connecting D'CENT biometric wallet.
dcent-cli-connector
is modules for easy integration of D'CENT into 3rd party services.
npm i dcent-cli-connector
// in Node.js
const DcentCLIConnector = require('dcent-cli-connector')
var result
try{
DcentCLIConnector.initialize()
result = await DcentCLIConnector.info()
console.log('DcentConnector.info result - ', result)
}catch(e){
result = e
}
DcentCLIConnector.finalize() //
sample/index.js
is test program. You can run the program.
-
Connect D'CENT hardware wallet using USB cable. If you don't have the device, you can buy it in D'CENT Store. (https://store.dcentwallet.com/)
-
After connecting D'CENT Hardware wallet, power on the device and confirm user fingerprint or PIN.
git clone https://github.com/DcentWallet/dcent-cli-connector.git
cd dcent-cli-connector
npm i
node sample/index.js