{
 "kind": "tool",
 "slug": "nomicfoundation-hardhat-viem",
 "path": "tools/nomicfoundation-hardhat-viem/",
 "name": "Hardhat viem",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Crypto and web3",
   "tools/web3/"
  ]
 ],
 "lead": "Hardhat plugin integrating viem for Ethereum development and testing.",
 "chips": [
  {
   "label": "Crypto and web3",
   "path": "tools/web3/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @nomicfoundation/hardhat-viem"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/NomicFoundation/hardhat"
  },
  {
   "label": "Website",
   "href": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-viem"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/NomicFoundation/hardhat"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 12, 2026. ",
   "src": "https://github.com/NomicFoundation/hardhat"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "2 projects",
   "status": "info",
   "sub": "#49 of 155 in its category",
   "note": "Dependency in 2 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Hardhat viem does",
   "parts": [
    {
     "t": "prose",
     "text": "Hardhat plugin integrating viem for Ethereum development and testing."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Hardhat viem popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "41",
       "of": "/ 100",
       "l": "Gid Score, #3057 overall"
      },
      {
       "n": "42.7K",
       "l": "downloads a week, npm"
      },
      {
       "n": "8,522",
       "l": "GitHub stars"
      },
      {
       "n": "2",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Hardhat viem is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Hardhat viem is a dependency in 2 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 25 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is ethers.js (30 projects).",
      "Projects that use it most often also use Hardhat (100.0%), viem (88.0%), OpenZeppelin Contracts (60.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "Hardhat",
       "path": "tools/hardhat/"
      },
      {
       "l": "In 88.0% of its projects",
       "v": "viem",
       "path": "tools/viem/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "OpenZeppelin Contracts",
       "path": "tools/openzeppelin/"
      },
      {
       "l": "In 56.0% of its projects",
       "v": "Hardhat Network Helpers",
       "path": "tools/nomicfoundation-hardhat-network-helpers/"
      },
      {
       "l": "In 52.0% of its projects",
       "v": "Hardhat Verify",
       "path": "tools/nomicfoundation-hardhat-verify/"
      },
      {
       "l": "In 56.0% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 44.0% of its projects",
       "v": "Chai",
       "path": "tools/chai/"
      },
      {
       "l": "In 44.0% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Hardhat viem",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Crypto and web3",
       "path": "tools/web3/",
       "items": [
        {
         "text": "viem",
         "path": "tools/viem/"
        },
        {
         "text": "Solana Web3.js",
         "path": "tools/solana-web3-js/"
        },
        {
         "text": "wagmi",
         "path": "tools/wagmi/"
        },
        {
         "text": "TweetNaCl.js",
         "path": "tools/tweetnacl/"
        },
        {
         "text": "Hardhat",
         "path": "tools/hardhat/"
        },
        {
         "text": "OpenZeppelin Contracts",
         "path": "tools/openzeppelin/"
        },
        {
         "text": "Solana SPL Token",
         "path": "tools/solana-spl-token/"
        },
        {
         "text": "Hardhat Toolbox",
         "path": "tools/nomicfoundation-hardhat-toolbox/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Hardhat viem",
       "me": true,
       "facts": [
        "MIT",
        "Gid 41",
        "42.7K/wk"
       ]
      },
      {
       "name": "ethers.js",
       "why": "Complete Ethereum library for building dapps, wallets and blockchain tools.",
       "path": "tools/ethers/",
       "facts": [
        "MIT",
        "Gid 69",
        "5.1M/wk"
       ]
      }
     ],
     "more": "Compare Hardhat viem with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @nomicfoundation/hardhat-viem"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Hardhat viem yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @nomicfoundation/hardhat-viem"
  ],
  [
   "Category",
   "Crypto and web3"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "40.7"
  ],
  [
   "Rank in category",
   "#49 of 155"
  ],
  [
   "GitHub",
   "NomicFoundation/hardhat"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/nomicfoundation.png"
}