@daonomic/trezor-wallet-provider

Trezor-enabled subprovider for Provider Engine

Stats

StarsIssuesVersionUpdatedCreatedSize
@daonomic/trezor-wallet-provider
830.0.93 years ago4 years agoMinified + gzip package size for @daonomic/trezor-wallet-provider in KB

Readme

trezor-wallet-provider

Trezor-enabled Web3 subprovider for metamask's provider engine. Use it to sign transactions with Trezor hardware wallet

Install

$ npm install @daonomic/trezor-wallet-provider

General Usage

You can use this subprovider to sign transaction using trezor hardware wallet.

var engine = new ProviderEngine();
engine.addProvider(new TrezorProvider("m/44'/1'/0'/0/0"));
engine.addProvider(new FiltersSubprovider());
engine.addProvider(new Web3Subprovider(new Web3.providers.HttpProvider("http://ropsten.infura.com/{key}")));
engine.start();

TrezorProvider will expose one address for specified path

Parameters:

  • path: string. derivation path for address

Truffle Usage

You can easily use this within a Truffle configuration

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.