Ankr is excited to announce its part in one of the best Web3 development resources at the moment: Ethers.js. The ethers.js library “aims to be a complete and compact library for interacting with the Ethereum Blockchain and its ecosystem.” This library has expanded into a powerful general-purpose library for building on Ethereum.
Ethers.js is comprised of four modules that create an inclusive Application Programming Interface (API). These modules are:
- Ethers.provider — Connect to the Ethereum chain via a node infrastructure provider (like Ankr) without needing to set up or run their own Ethereum nodes.
- Ethers.contract — Deploy and interact with smart contracts.
- Ethers.utils — Creates utility functions to easily format specific user inputs to make building custom Web3 applications easier.
- Ethers.wallets — Connect to Web3 wallets (Ethereum addresses), create new wallets, and sign transactions.
Below is an example of how developers can use the Ankr API provider function as the safest, easiest way to begin developing on Ethereum, while robust enough for use in production and dApp operation.
Ankr’s Ethers.js Supported Networks
- Homestead — Homestead (Mainnet)
- Matic — Polygon
- Arbitrum — Arbitrum’s L2; optimistic roll-up
Ankr equips builders with a standard JSON-RPC interface and gives them incredibly high capacity to use the public and freely available RPC layer for 12+ blockchains without the need for an API key early on in the development cycle.
From there, Ankr helps developers scale projects like no other with our decentralized infrastructure.
Benefits of Using Ankr as a Provider
- High volumes of blockchain requests via the public RPC
- Dedicated endpoints for Polygon, Arbitrum, and Ethereum (premium)
- Extremely fast connections as users reach globally distributed node clusters
- Customer usage metrics and other blockchain data
- Access to archive data
- Access to WebSockets (premium)
Website | Twitter | Telegram Announcements | Telegram English Chat| LinkedIn | Instagram | Ankr Staking | Discord