-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
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
FR: Add support for ethersjs v6 #330
Comments
@robotoer Was there any particular feature in ethers v6 that you're looking to use? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs |
Leaving this PR open to gauge developer demand. If you are using ethers v6 and want the sdk to support it, please comment what features you're looking for from v6. Thanks! |
@thebrianchen nextjs 14 and the alchemy sdk are currently unusable without this upgrade. See: ethers-io/ethers.js#4469 |
@SohailKh Would adding the option to pass in your own connectionInfo overrides to the underlying provider based on the issue in ethers thread help? The reason we are not considering upgrading to ethers is v6 without sufficient developer demand is because it will a breaking change the to the alchemy SDK. Currently, ethers v5 has 5x more weekly downloads than v6. If there is a particular set of features that developers require from v6 that aren't supported in v5, we will re-prioritize. Thanks! |
Hello to the team and thank you for your work!! |
@thebrianchen The main reason I've updated my apps to ethers.js v6 is the use of the native BigInt type over the BigNumber library used in ethers.js v5. There's not really any new functionality I need from ethers.js v6 aside from that. I realize the hesitation to update to v6 because of breaking changes but could it possibly be added an option instead? Some kind of flag when when creating your alchemy instance or something? In some of my apps I've installed ethers.js v6 alongside ethers.js v5 in a different namespace so that we can slowly migrate over (example below). Package.json:
Code:
Then you can have both in the same project easily and possibly slowly start supporting it. I'd love to be able to solely use the Alchemy SDK, but the lack of support for BigInt/EthersV6 is stopping that. |
Yes. Is that possible to do? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs |
@SohailKh @Bookcliff I've added support for the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs |
Is your feature request related to a problem? Please describe.
Usage of alchemy-sdk with ethers v6 does work due to updates to the provider structure
The text was updated successfully, but these errors were encountered: