How to use @ethersproject/hardware-wallets - 1 common examples

To help you get started, we’ve selected a few @ethersproject/hardware-wallets examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ethereum-optimism / optimism / packages / contracts / tasks / chugsplash-deploy.ts View on Github external
.setAction(async (args, hre: any) => {
    const l2Provider = new ethers.providers.JsonRpcProvider(args.l2NodeUrl)
    const signer = new LedgerSigner(
      l2Provider,
      'default',
      args.ledgerHdPath
    )

    return await executeActionsFromConfig({
      hre,
      signer,
      chugsplashDeployerAddress: args.chugsplashDeployerAddress,
      upgradeConfigPath: args.upgradeConfigPath,
      timeoutInMs: args.timeoutInMs,
      retryIntervalInMs: args.retryIntervalInMs
    })
})

@ethersproject/hardware-wallets

Hardware Wallet support for ethers.

MIT
Latest version published 3 months ago

Package Health Score

72 / 100
Full package analysis

Popular @ethersproject/hardware-wallets functions