#keepkey sdk
let config = {
apiKey: process.env['SERVICE_KEY'] || '123',
pairingInfo:{
name: process.env['SERVICE_NAME'] || 'KeepKey SDK Demo App',
imageUrl: process.env['SERVICE_IMAGE_URL'] || 'https://github.com/BitHighlander/keepkey-desktop/raw/master/electron/icon.png',
basePath:spec,
url:"http://localhost:1646"
}
}
// Initialize the SDK
const sdk = await KeepKeySdk.create(config);
apiKey: It is on the intergrator to store the pairing key
a user MUST approve every dApp to connect to the keepkey api. It is on the dApp to store this If the dApp fails to store this a user will be prompted EVERY TIME for a new pairing This is not a good UX, and we encourge storage (client side) for this!
Last updated on