{
 "kind": "tool",
 "slug": "ethers",
 "path": "tools/ethers/",
 "name": "ethers.js",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Crypto and web3",
   "tools/web3/"
  ]
 ],
 "lead": "Complete Ethereum library for building dapps, wallets and blockchain tools.",
 "chips": [
  {
   "label": "Crypto and web3",
   "path": "tools/web3/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install ethers"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/ethers-io/ethers.js"
  },
  {
   "label": "Website",
   "href": "https://ethers.org"
  }
 ],
 "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/ethers-io/ethers.js"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Jun 18, 2026",
   "note": "Latest GitHub release Jun 18, 2026. ",
   "src": "https://github.com/ethers-io/ethers.js"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "30 projects",
   "status": "info",
   "sub": "#2 of 155 in its category",
   "note": "Dependency in 30 public GitHub projects set up for AI coding agents that we scanned (0.5%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "yes",
   "sub": "llms.txt",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": "https://ethereum.org/llms.txt"
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What ethers.js does",
   "parts": [
    {
     "t": "prose",
     "text": "ethers puts key handling (the README says it keeps \"your private keys in your client\"), contract objects built from an ABI and node connections in one TypeScript package, and it ships shared default provider keys so <code>ethers.getDefaultProvider()</code> works before you sign up for any service."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "ethers.js popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "69",
       "of": "/ 100",
       "l": "Gid Score, #420 overall"
      },
      {
       "n": "5.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "8,727",
       "l": "GitHub stars"
      },
      {
       "n": "30",
       "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 ethers.js is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "ethers.js is a dependency in 30 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.6% of the 4,867 JavaScript/TypeScript ones), #2 of 155 in crypto and web3.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 705; those are left out of every share on this page.",
      "The most used alternative in our scan is viem (47 projects).",
      "Projects that use it most often also use dotenv (56.7%), Hardhat (30.0%), Solana Web3.js (20.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "15 projects, 0.5%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "14 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "12 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 56.7% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 30.0% of its projects",
       "v": "Hardhat",
       "path": "tools/hardhat/"
      },
      {
       "l": "In 20.0% of its projects",
       "v": "Solana Web3.js",
       "path": "tools/solana-web3-js/"
      },
      {
       "l": "In 20.0% of its projects",
       "v": "OpenZeppelin Contracts",
       "path": "tools/openzeppelin/"
      },
      {
       "l": "In 20.0% of its projects",
       "v": "Hardhat Toolbox",
       "path": "tools/nomicfoundation-hardhat-toolbox/"
      },
      {
       "l": "In 20.0% of its projects",
       "v": "viem",
       "path": "tools/viem/"
      },
      {
       "l": "In 23.3% of its projects",
       "v": "Axios",
       "path": "tools/axios/"
      },
      {
       "l": "In 20.0% of its projects",
       "v": "Express",
       "path": "tools/express/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "ethers.js in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Wallet import and export in the client",
       "v": "The README says private keys stay in your client. It lists JSON wallet import and export for Geth, Parity and crowdsale files. It also lists BIP 39 mnemonic phrases in nine languages: English plus Czech, French, Italian, Japanese, Korean, Simplified Chinese, Spanish and Traditional Chinese."
      },
      {
       "l": "Contract objects from a Human-Readable ABI",
       "v": "Meta-classes build a JavaScript object from any contract ABI. The README says this includes ABIv2 and the Human-Readable ABI format."
      },
      {
       "l": "ENS names accepted in place of addresses",
       "v": "The README says ENS names \"are first-class citizens\". It says they \"can be used anywhere an Ethereum addresses can be used\"."
      },
      {
       "l": "Default provider keys for a quick start",
       "v": "The README says ethers provides default keys to each service in an \"ever-growing list of third-party providers\". It says this lets you call <code>ethers.getDefaultProvider()</code> and start developing right away."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Default keys are shared and throttled",
       "v": "The README says the built-in provider keys are shared and are throttled on purpose. It says your own keys give \"faster responses, more capacity, analytics and other features like archival data.\""
      },
      {
       "l": "Batching and Ledger sit outside the core",
       "v": "The README lists MulticallProvider, MulticoinPlugin for extra ENS coin types, a Ganache provider, Optimism Utilities and LedgerSigner as extension packages. It says the <code>ethers</code> package itself only includes the most common and most core functionality."
      },
      {
       "l": "No official token",
       "v": "The website warns that ethers has no token. It says any token or website claiming to be affiliated with ethers is a scam."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Load the bundled build in the browser"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Html",
       "code": "<script type=\"module\">\n  import { ethers } from \"./dist/ethers.min.js\";\n</script>"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about ethers.js",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/ethers-io",
        "Own page: https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2",
        "Own page: https://www.buymeacoffee.com/ricmoo",
        "Buy Me a Coffee: https://www.buymeacoffee.com/ricmoo",
        "5 GitHub sponsors"
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "viem: TypeScript Ethereum interface",
        "wagmi: React hooks for Ethereum",
        "@tanstack/react-query: Async data fetching and caching",
        "axios: HTTP client",
        "react: UI library",
        "eslint: JavaScript linter"
       ]
      },
      {
       "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": "OpenZeppelin Contracts",
         "path": "tools/openzeppelin/"
        },
        {
         "text": "Solana SPL Token",
         "path": "tools/solana-spl-token/"
        },
        {
         "text": "Hardhat Toolbox",
         "path": "tools/nomicfoundation-hardhat-toolbox/"
        },
        {
         "text": "Metaplex",
         "path": "tools/metaplex-foundation/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "ethers.js",
       "me": true,
       "facts": [
        "MIT",
        "Gid 69",
        "5.1M/wk"
       ]
      },
      {
       "name": "viem",
       "why": "TypeScript interface for Ethereum with type-safe interactions.",
       "path": "tools/viem/",
       "facts": [
        "MIT",
        "Gid 73",
        "10.7M/wk"
       ]
      },
      {
       "name": "Solana Kit",
       "why": "Solana JavaScript SDK for building web3 applications on the Solana blockchain.",
       "path": "tools/solana-kit/",
       "facts": [
        "MIT",
        "Gid 55",
        "3.7M/wk"
       ]
      }
     ],
     "more": "Compare ethers.js with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install ethers"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## ethers.js\n- Install with `npm install ethers`. In the browser, import from the bundled ESM build in `./dist/ethers.min.js`.\n- Use the v6 docs at docs.ethers.org/v6 for Getting Started and the full API.\n- Treat `ethers.getDefaultProvider()` as a starting point. The README says its keys are shared and intentionally throttled, so set up the project's own provider keys.\n- ENS names can be passed wherever an Ethereum address can be used, per the README.\n- For call batching, extra ENS coin types, Ganache, Optimism utilities or Ledger signing, use the extension packages the README lists rather than looking for them in the core `ethers` package.\n- Pass coinType as a `bigint`; the releases page lists \"Use bigint for coinType instead of number values\".\n- Do not add or trust any token claiming affiliation with ethers. The website says ethers has none.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm ethers"
  ],
  [
   "Category",
   "Crypto and web3"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "v6.17.0, June 18, 2026"
  ],
  [
   "On GitHub since",
   "July 2016"
  ],
  [
   "Gid Score",
   "69.3"
  ],
  [
   "Rank in category",
   "#2 of 155"
  ],
  [
   "GitHub",
   "ethers-io/ethers.js"
  ],
  [
   "Last change",
   "Jun 18, 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/ethers-io.png"
}