Works with viem, ethers and Ignition
The plugin answers at the JSON-RPC layer, so your scripts and deployments use KMS accounts unchanged.
A Hardhat 3 plugin that signs transactions, messages and typed data with keys in AWS KMS, Google Cloud KMS or Azure Key Vault. The private key never leaves the KMS.
hardhat-kms is a Hardhat 3 plugin that signs transactions, messages and typed data with secp256k1 keys held in AWS KMS, Google Cloud KMS and Azure Key Vault. The private key never leaves the KMS.
Each page except the generated API reference opens with an Audience: line that names who it is for and what it assumes. Release channels and versioning says which release to install and what a version promises.
| Page | Kind |
|---|---|
| Deploy a Hardhat contract to Sepolia with AWS KMS | Tutorial |
| Deploy a Hardhat contract to Sepolia with Google Cloud KMS | Tutorial |
| Deploy a Hardhat contract to Sepolia with Azure Key Vault | Tutorial |
Runnable projects for viem, ethers and Ignition are in examples/. Pages not written yet are listed under Planned pages.
| Page | What it covers |
|---|---|
| CONTRIBUTING.md | Setup, commands, workflow, issue-first rule |
| Architecture | Module map, code map, request flows, cloud access |
| Signing pipeline and security | Signature checks, key pinning, threat model |
| Security review | The checklist for signing, sending and release changes |
| Provider contract | The adapter interface for KMS and HSM providers |
| Transactions | Filling, nonces, the send lock, chain-id checks |
| Testing | Test layers and conventions |
| Live proof | Transactions of the latest live run on Sepolia |
| Tooling | Quality gates, hooks, CI |
| Releasing | Who releases, the signed tag, staging and promotion |
| Documentation | How the docs are organised and the rules for them |
| Decision records | Why the main decisions were made |
| Signing prior art | How other signers compare, and why each check exists |
| Roadmap | What ships in 1.0 and what comes after |
| 1.0.0 launch note | The 1.0.0 announcement text, and the template for the next major |
| Adoption metrics | The monthly check of downloads, search and referrers |
| SECURITY.md | Reporting vulnerabilities |
| CODE_OF_CONDUCT.md | Contributor Covenant 2.1 and how to report a breach |