-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK] Unstoppable Domains resolvers #4905
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
Conversation
🦋 Changeset detectedLatest commit: a453d96 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 ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4905 +/- ##
==========================================
+ Coverage 47.57% 47.61% +0.04%
==========================================
Files 1054 1057 +3
Lines 57146 57221 +75
Branches 3918 3924 +6
==========================================
+ Hits 27186 27246 +60
- Misses 29271 29286 +15
Partials 689 689
*This pull request uses carry forward flags. Click here to find out more.
|
joaquim-verges
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool stuff @kien-ngo !!
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on adding support for Unstoppable Domains within the `thirdweb` SDK, including new resolvers for names and addresses, and enhancing functionality through tests and constants.
### Detailed summary
- Added `UD_POLYGON_MAINNET` constant.
- Introduced functions: `resolveName`, `resolveAddress`, `reverseNameOf`, `getMany`, and `namehash`.
- Implemented tests for `resolveName` and `resolveAddress`.
- Added exports for new types and functions in `unstoppable-domains.ts`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
bf7e209 to
a453d96
Compare
PR-Codex overview
This PR adds support for resolving names and addresses using Unstoppable Domains in the
thirdwebSDK. It introduces new functions for name resolution and address retrieval, along with necessary constants and tests.Detailed summary
UD_POLYGON_MAINNETconstant.reverseNameOf,getMany,namehashfunctions for name/address resolution.resolveNameandresolveAddressfunctions with options for custom resolvers.resolveNameandresolveAddress.unstoppable-domains.