Should i use BigInt or BigNumber to develop wallet application using ethers ? #3040
-
SuggestionBeing a dev currently in starting phase of development of crypto wallet should i prefer using BigInt in my code since ethers-v6 is moving to bigInt or stick with BigNumber as the current ecosystem is mostly using bigNumber for handling crypto balances etc ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Even in v5, you can pass BigInt into anything that accepts a BigNumberish; but only BigNumber objects are returned from methods. I expect v6 to be production in a few months. I’m working on the docs right now for it. |
Beta Was this translation helpful? Give feedback.
-
Will this be the case in v6 too or will it return bigint objects ? |
Beta Was this translation helpful? Give feedback.
Even in v5, you can pass BigInt into anything that accepts a BigNumberish; but only BigNumber objects are returned from methods.
I expect v6 to be production in a few months. I’m working on the docs right now for it.