BigNumber Issues
#4216
-
Ethers Version6.6.2 Search TermsBigNumber Describe the ProblemBigNumber is not showing in ethers latest version until you downgrade to 5.7.2. It is not found in the ethers package Code Snippetimport { BigNumber} from 'ethers' Contract ABINo response ErrorsNot Found in the Package Environmentnode.js (v12 or newer) Environment (Other)No response |
Beta Was this translation helpful? Give feedback.
Answered by
ricmoo
Jul 5, 2023
Replies: 1 comment 1 reply
-
There is no longer a need for the BigNumber class in ethers v6 as it uses the JavaScript built-in ES2020 BigInt; see BigInt on MDN for more info. It reduces the code size quite a bit and allows JavaScript syntax when doing maths. :) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Amity808
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no longer a need for the BigNumber class in ethers v6 as it uses the JavaScript built-in ES2020 BigInt; see BigInt on MDN for more info.
It reduces the code size quite a bit and allows JavaScript syntax when doing maths. :)