Closed manumonti closed 1 year ago
In my opinion it would be preferable to use BigNumber library instead of Integers for tokens amounts since these numbers easily exceeds the maximum value of Integers.
https://github.com/MikeMcl/bignumber.js/
_Originally posted by @manumonti in https://github.com/threshold-network/merkle-distribution/pull/13#discussion_r916793381_
Closing this since Javascript Number max value should be big enough:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE#:~:text=The%20MAX_VALUE%20property%20has%20a,will%20lose%20their%20actual%20value.
In my opinion it would be preferable to use BigNumber library instead of Integers for tokens amounts since these numbers easily exceeds the maximum value of Integers.
https://github.com/MikeMcl/bignumber.js/
_Originally posted by @manumonti in https://github.com/threshold-network/merkle-distribution/pull/13#discussion_r916793381_