Closed Raiden1411 closed 11 months ago
Latest commit: c0b2c32e3a05f06c3be6ddb980c9e5806b8c7f2d
The changes in this PR will be included in the next version bump.
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 ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
abitype | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 27, 2023 2:40pm |
Size Change: 0 B
Total Size: 98.8 kB
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.