ethers-js
Installation
SKILL.md
ethers.js v6
ethers.js is a TypeScript/JavaScript library for interacting with EVM-compatible blockchains. Version 6 is a ground-up rewrite with native ES2020 bigint, tree-shakeable exports, and a cleaner API surface. It provides Providers (read-only chain access), Signers (transaction authorization), and Contract objects (typed on-chain interaction).
What You Probably Got Wrong
LLMs consistently produce v5 code when asked for ethers.js. Every pattern below is a v6 correction. If you see
BigNumber,ethers.utils, orethers.providersin your output, you are writing v5. Stop and use the v6 equivalents.