We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ethersv5
Consider pros and cons between:
ethersv6
viem
If outcome is ethersv6 or viem, upgrade repo to use native BitInt.
BitInt
Some unorganized notes about an attempted ethersv5 -> ethersv6 migration:
.type
.hex
_isBigNumber
bignum
BN
BigInt\((.*?)\)\.
bigitnts
.floor
.add
<set>.add()
.sub
.mul
.div
.gt(e)
.lt(e)
.pow
.eq
: BigNumber
ish
BigInt(Math.xxx())
'ethers/lib/utils'
providers.Provider
@ethersproject
utils as ethersUtils
StaticJsonRpcProvider
JsonRpcProvider
extends Signer
extends AbstractSigner
Signer
AbstractSigner
The text was updated successfully, but these errors were encountered:
Happy to assist if the decision is Viem. :)
Sorry, something went wrong.
No branches or pull requests
Consider pros and cons between:
ethersv5
ethersv6
viem
If outcome is
ethersv6
orviem
, upgrade repo to use nativeBitInt
.Reference Converstaion
Some unorganized notes about an attempted
ethersv5
->ethersv6
migration:.type
(for checking bn).hex
(for checking bn)_isBigNumber
oldbnbignum
BN
BigInt\((.*?)\)\.
for all typecastedbigitnts
that are then added.floor
.add
<set>.add()
.sub
.mul
.div
.gt(e)
.lt(e)
.pow
.eq
: BigNumber
ish
?BigInt(Math.xxx())
and other primitivesish
comes in?'ethers/lib/utils'
are top levelproviders.Provider
@ethersproject
should be goneutils as ethersUtils
should be goneStaticJsonRpcProvider
→JsonRpcProvider
(V6 does this by default: src)extends Signer
→extends AbstractSigner
(Signer
is now an interface andAbstractSigner
replaced the class)The text was updated successfully, but these errors were encountered: