@microverse-dev/hardhat-kms-signer
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Hardhat Google Cloud KMS Signer

This plugin signs Ethereum transaction using KMS key during deployments.

Usage

It's assumed that you have AWS access configured and your role perform kms:sign using KMS key.

In hardhat.config.ts do:

import "@microverse-dev/hardhat-kms-signer";

...

const config: HardhatUserConfig = {
  ...
  networks: {
    goerli: {
      url: "https://goerli.infura.io/v3/{infura-key}",
      kmsResourceName: "projects/{project}/locations/asia1/keyRings/{key-ring-name}/cryptoKeys/{key-name}/cryptoKeyVersions/{version}",
      chainId: 5,
    },
  }
  ...
}

License

  • hardhat: MIT - See LICENSE for more information.
  • @microverse-dev/hardhat-gcp-kms-signer: MIT - See LICENSE for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @microverse-dev/hardhat-kms-signer

Weekly Downloads

8

Version

1.0.1

License

MIT

Unpacked Size

12.7 kB

Total Files

9

Last publish

Collaborators

  • konojunya