0.2.2 • Published 2 years ago

eth-dcent-keyring v0.2.2

Weekly downloads
3
License
ISC
Repository
github
Last release
2 years ago

eth-dcent-keyring

An implementation of MetaMask's Keyring interface, that uses a D'CENT hardware wallet for all cryptographic operations.

In most regards, it works in the same way as eth-hd-keyring, but using a D'CENT device. However there are a number of differences:

  • Because the keys are stored in the device, operations that rely on the device will fail if there is no D'CENT device attached, or a different D'CENT device is attached.
  • It does not support exportAccount methods, because D'CENT devices do not support these operations.
  • It works the firmware version 1.3.0+ for D'CENT Biometric device
  • It returns only one account.

Install

Run the following command:

yarn add eth-dcent-keyring

Testing

Run the following command:

yarn 

yarn test

Attributions

This code was inspired by eth-ledger-keyring, eth-trezor-keyring and eth-hd-keyring.