You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our packages require ethers v5. This is a problem because:
Large dependency so it's slow to download and install
Some users want to use other web3 libraries (ethers v6 or viem)
We don't support viem, a smaller and more performant web3 library than ethers with a more stable API.
Solution
Develop a web3 library interface. Make the user inject their web3 provider. Support both ethers and viem. Maybe the interface matches viem, and then we just write a wrapper so that ethers can look like viem.
MantisClone
changed the title
Replace ethers with viem
Inject web3 library so that we support both ethers and viem
Oct 16, 2023
MantisClone
changed the title
Inject web3 library so that we support both ethers and viem
Inject web3 library: support ethers v5, ethers v6, and viem
Oct 16, 2023
Towards #1202
Problem(s)
Solution
Develop a web3 library interface. Make the user inject their web3 provider. Support both ethers and viem. Maybe the interface matches viem, and then we just write a wrapper so that ethers can look like viem.
Viem vs Ethers
Bundle Size
Performance
Migrated from Asana: https://app.asana.com/0/1203912381456855/1205300970356583/f
The text was updated successfully, but these errors were encountered: