You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--
## 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 focuses on updating the `AnnouncementBanner` and `Banner` components to promote the new `Universal Bridge` feature, enhancing the messaging around payment integration, and refining the content in the documentation to reflect these changes.
### Detailed summary
- Updated `AnnouncementBanner` with new `href`, `label`, and `trackingLabel`.
- Changed `Banner` ID, `text`, and `href` to reflect the `Universal Bridge` launch.
- Revised documentation for webhook events to include `Universal Bridge`.
- Enhanced content in the overview page for `Universal Bridge`.
- Updated descriptions and titles for multiple `FeatureCard` components.
- Removed fee-sharing section and added new integration options for `Universal Bridge`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
Universal Bridge allows your users to bridge, swap, and purchase cryptocurrencies and execute transactions with any fiat options or tokens via cross-chain routing.
18
+
Universal Bridge allows your users to bridge, swap, and purchase cryptocurrencies and execute transactions with any fiat options or tokens via cross-chain routing. It enables users to purchase or complete in-app transactions with any token they hold.
18
19
19
20
<DocImagesrc={PayOverviewImage} />
20
21
@@ -24,46 +25,46 @@ Universal Bridge allows your users to bridge, swap, and purchase cryptocurrencie
description="Enable payments with any wallet that has funds not just the one connected."
62
+
iconUrl={<Wallet />}
62
63
/>
63
64
<FeatureCard
64
-
title="Secure"
65
-
description="Strict one-time approvals mean user funds are not at risk of smart contract allowance exploits"
66
-
iconUrl="/icons/feature-cards/security.svg"
65
+
title="Multi-hop Routing"
66
+
description="Handle multiple swaps at once within one session for a seamless swap experience."
67
+
iconUrl={<ArrowLeftRight />}
67
68
/>
68
69
69
70
</div>
@@ -74,30 +75,20 @@ Universal Bridge is supported on select EVM compatible chains. To view the full
74
75
75
76
<DocImagesrc={SupportedChains} />
76
77
77
-
## Fee Sharing
78
-
79
-
Thirdweb collects a 1% fee per end-user transaction and shares 70% of that fee with you. For example, on a $100 Polygon purchase, a $1.00 fee is charged—of which $0.30 is retained by thirdweb and $0.70 is remitted to you.
80
-
81
-
Note: Fee sharing applies only to fees from swaps and bridges; fiat purchases are excluded.
82
-
83
-
To enable fee sharing, simply set a recipient address in your dashboard under Team > Project > Connect > Universal Bridge in the thirdweb dashboard.
Specify a preferred onramp provider by setting the preferredProvider parameter in ConnectButton, PayEmbed, or Headless Integration. For details, refer to
94
-
[customization](../pay/customization/connectbutton#preferredProvider) or the [API Reference for preferredProvider](/references/typescript/v5/GetBuyWithFiatQuoteParams).
|[ConnectButton](/connect/pay/get-started#option-1-connectbutton)| Developers who want out-of-the-box support complete with wallet and social login. |
101
-
|[PayEmbed](/connect/pay/get-started#option-2-embed-pay)| Developers who want onramp and crypto purchase experiences directly in their application. |
102
-
|[Transaction Flow (sendTransaction)](/connect/pay/get-started#option-3-send-a-transaction-with-pay)| Developers who want users to onramp or purchase crypto directly into a transaction. Great for minting and NFT purchase flows.|
103
-
|[Custom Universal Bridge Experience](/connect/pay/build-a-custom-experience)| Developers who want full customization over every step of the onramp process, from displaying quotes to polling for transaction statuses. |
91
+
|[Buy Crypto](https://playground.thirdweb.com/connect/pay/)| Developers who want onramp and crypto purchase experiences directly in their application.|
92
+
|[Transactions](https://playground.thirdweb.com/connect/pay/transactions)| Developers who want users to onramp or purchase crypto directly into a transaction. Great for minting and NFT purchase flows.|
93
+
|[In-App Purchases](https://playground.thirdweb.com/connect/pay/commerce)| Developers who want to take payments from Fiat or Crypto directly to a seller wallet|
94
+
|[Headless](https://playground.thirdweb.com/connect/pay/backend)| Developers who prefer a headless customized flow using APIs. |
Pay can be configured to send webhook events to notify your application any time an event happens on your transaction. Pay sends a response, via a HTTP request, to any endpoint URLs that you have provided us in your Team > Project > Connect > Pay > Webhooks page in [thirdweb dashboard](https://thirdweb.com/team).
12
+
Universal Bridge can be configured to send webhook events to notify your application any time an event happens on your transaction. Universal Bridge sends a response, via a HTTP request, to any endpoint URLs that you have provided us in your Team > Project > Connect > Universal Bridge > Webhooks page in [thirdweb dashboard](https://thirdweb.com/team).
0 commit comments