@yankeguo/hardhat-trezor
v0.1.4
Published
Hardhat plugin for integration with a Trezor hardware wallet
Downloads
11
Maintainers
Readme
hardhat-trezor
Hardhat plugin for integration with a Trezor hardware wallet
[!CAUTION]
This package comes with no warranty, use at your own risk
Requirements
- A Trezor hardware wallet
- Trezor Bridge installed and running
Usage
- install the plugin
npm install --save @yankeguo/hardhat-trezor
- import the plugin in your
hardhat.config.js
import "@yankeguo/hardhat-trezor";
- add the plugin configuration in your
hardhat.config.js
module.exports = {
solidity: "0.8.24",
networks: {
sepolia: {
url: "https://sepolia.base.org",
// standard ethereum derivation paths
trezorDerivationPaths: [
[44, 60, 0, 0, 0],
[44, 60, 0, 0, 1],
],
// this will bypass trezor derivation path validation, makes mainnet addresses usable on testnet
// see https://github.com/trezor/trezor-firmware/blob/main/docs/common/ethereum-definitions.md
trezorInsecureDerivation: true,
},
},
};
Example
See demo/hardhat.config.ts for a complete example.
Donation
Send me some ETH or tokens to yankeguo.eth
.
Credits
GUO YANKE, MIT License