tate
@taytems.eth
devs using ethers v5, will u be upgrading to ethers v6? or moving to viem?
4 replies
1 recast
2 reactions
Elie
@elie
What’s the story with viem? I see good sponsors. Strong team. And no bignumber is nice. Any other major benefits to be aware of? Think I’m already on v6 ethers
2 replies
0 recast
1 reaction
tate
@taytems.eth
other benefits to viem are extra type-safety, faster ens resolution, bundle size, also used in wagmi (important if you’re already using wagmi)
1 reply
0 recast
0 reaction
Elie
@elie
Ya using wagmi. What sort of migration curve is it? How does it do ens faster
2 replies
0 recast
0 reaction
tate
@taytems.eth
migration depends on how many ethers functions you’re using in your own code. viem is fundamentally quite different to ethers in that there are no classes, and functions are generally stateless. as long as your code doesn’t depend on classes from ethers, it’s relatively simple.
1 reply
0 recast
1 reaction
Elie
@elie
Ya i only use ethers functions I believe. Don’t think anything I do with it uses ethers state.
0 reply
0 recast
0 reaction