{
 "kind": "tool",
 "slug": "openzeppelin",
 "path": "tools/openzeppelin/",
 "name": "OpenZeppelin Contracts",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Crypto and web3",
   "tools/web3/"
  ]
 ],
 "lead": "Audited smart contract library for Solidity with secure reusable components.",
 "chips": [
  {
   "label": "Crypto and web3",
   "path": "tools/web3/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @openzeppelin/contracts"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/OpenZeppelin/openzeppelin-contracts"
  },
  {
   "label": "Website",
   "href": "https://openzeppelin.com/contracts/"
  }
 ],
 "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/OpenZeppelin/openzeppelin-contracts"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Jul 29, 2026. ",
   "src": "https://github.com/OpenZeppelin/openzeppelin-contracts"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "12 projects",
   "status": "info",
   "sub": "#7 of 155 in its category",
   "note": "Dependency in 12 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "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 OpenZeppelin Contracts does",
   "parts": [
    {
     "t": "prose",
     "text": "Audited smart contract library for Solidity with secure reusable components."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "OpenZeppelin Contracts popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "67",
       "of": "/ 100",
       "l": "Gid Score, #569 overall"
      },
      {
       "n": "1.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "27.4K",
       "l": "GitHub stars"
      },
      {
       "n": "12",
       "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 OpenZeppelin Contracts is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "OpenZeppelin Contracts is a dependency in 12 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 208 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is viem (47 projects).",
      "Projects that use it most often also use Hardhat (77.9%), viem (71.6%), ethers.js (50.5%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "10 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "7 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 77.9% of its projects",
       "v": "Hardhat",
       "path": "tools/hardhat/"
      },
      {
       "l": "In 71.6% of its projects",
       "v": "viem",
       "path": "tools/viem/"
      },
      {
       "l": "In 50.5% of its projects",
       "v": "ethers.js",
       "path": "tools/ethers/"
      },
      {
       "l": "In 55.3% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 37.5% of its projects",
       "v": "Hardhat Toolbox",
       "path": "tools/nomicfoundation-hardhat-toolbox/"
      },
      {
       "l": "In 29.3% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 27.4% of its projects",
       "v": "Hardhat ethers Plugin",
       "path": "tools/nomicfoundation-hardhat-ethers/"
      },
      {
       "l": "In 26.4% of its projects",
       "v": "wagmi",
       "path": "tools/wagmi/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about OpenZeppelin Contracts",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Crypto and web3",
       "path": "tools/web3/",
       "items": [
        {
         "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": "Solana SPL Token",
         "path": "tools/solana-spl-token/"
        },
        {
         "text": "Hardhat Toolbox",
         "path": "tools/nomicfoundation-hardhat-toolbox/"
        },
        {
         "text": "Metaplex",
         "path": "tools/metaplex-foundation/"
        },
        {
         "text": "web3.py",
         "path": "tools/web3-tool-pypi/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "OpenZeppelin Contracts",
       "me": true,
       "facts": [
        "MIT",
        "Gid 67",
        "1.6M/wk"
       ]
      },
      {
       "name": "viem",
       "why": "TypeScript interface for Ethereum with type-safe interactions.",
       "path": "tools/viem/",
       "facts": [
        "MIT",
        "Gid 73",
        "10.7M/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 OpenZeppelin Contracts with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @openzeppelin/contracts"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for OpenZeppelin Contracts yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @openzeppelin/contracts"
  ],
  [
   "Category",
   "Crypto and web3"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "66.7"
  ],
  [
   "Rank in category",
   "#7 of 155"
  ],
  [
   "GitHub",
   "OpenZeppelin/openzeppelin-contracts"
  ],
  [
   "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/openzeppelin.png"
}