Update Code Examples from Using Web3.js to Ethers.js
- Dominant language
- C++
- Stars
- 25.7k
- Forks
- 6.2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 29
Description
## Page
[Introduction to Smart Contracts - A Simple Smart Contract - Subcurrency Example](https://docs.soliditylang.org/en/latest/introduction-to-smart-contracts.html#subcurrency-example)
## Abstract
Web3.js libraries are being sunset on March 4th, 2025, [as announced by the Web3.js team](https://blog.chainsafe.io/web3-js-sunset/). Considering this, I propose updating the current Solidity documentation code examples to use [Ethers.js](https://ethers.org/) instead of Web3.js.
## Pull request
#15760
Contributor guide
Research direction
Start with the linked Introduction to Smart Contracts page and inspect the Subcurrency Example's current Web3.js usage. Review pull request #15760 for the work already under way; done means the documented examples use Ethers.js consistently and remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, solidity
- Domain
- blockchain, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100