Skip to content

A JS wrapper around dcent-web-connector libraries, to support the KeyringController protocol used by MetaMask

License

Notifications You must be signed in to change notification settings

DcentWallet/eth-dcent-keyring

Repository files navigation

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.

About

A JS wrapper around dcent-web-connector libraries, to support the KeyringController protocol used by MetaMask

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •