-
Notifications
You must be signed in to change notification settings - Fork 544
[SDK] Feature: Adds Universal Bridge #6464
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: 654f879 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
size-limit report 📦
|
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a new `Bridge` module to the `thirdweb` SDK, enabling users to perform token buy and sell operations across chains, along with route discovery and transaction status checks. ### Detailed summary - Added `Bridge` module for Universal Bridge operations. - Implemented `Bridge.Buy` and `Bridge.Sell` for token transactions. - Created `quote` and `prepare` functions for both buy and sell operations. - Introduced `routes` function to discover available bridge routes. - Added `status` function to check transaction statuses. - Defined TypeScript types: `Route`, `Status`, `Quote`, `PreparedQuote`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
ea29d84
to
654f879
Compare
PR-Codex overview
This PR introduces a new
Bridge
module to thethirdweb
SDK, enabling users to perform buy and sell operations across chains, retrieve bridge routes, and check transaction statuses.Detailed summary
Bridge
module for Universal Bridge access.Bridge.Buy
andBridge.Sell
for token transactions.routes
function to retrieve available bridge routes.status
function to check transaction statuses.