-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
playground: ethers example implementation #214
Conversation
🦋 Changeset detectedLatest commit: c0b2c32 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: 0 B Total Size: 98.8 kB ℹ️ View Unchanged
|
Nice! Might be worth just keeping this as a PR and not merging it in so folks can reference, but we aren't responsible for keeping updating it for future ethers releases. Wdyt? |
I like that idea. Saves us the trouble of refactoring in case ethers does some breaking changes while also providing help. |
Converted to a draft so it fits the whole idea better |
Description
This PR aims to add support for folks that relied on Typechain and are now using Abitype with ethers.
By creating a working playground this should give a starting point for anyone that might need this.
This is essentially a updated port of wagmi's pre 1.0 code but having it here makes more sense in my opinion.
Additional Information
Before submitting this issue, please make sure you do the following.
PR-Codex overview
This PR focuses on adding a playground example of using
abitype
with ethers.Detailed summary
abitype
with ethers.playgrounds/functions/package.json
andpnpm-lock.yaml
.playgrounds/functions/src/types.ts
andplaygrounds/functions/src/utils.ts
.playgrounds/functions/src/ethers.test-d.ts
.playgrounds/functions/src/ethers.ts
to include new functions.