Skip to content

Commit 3750672

Browse files
authored
Documentation edits made through Mintlify web editor
1 parent a7141cd commit 3750672

File tree

5 files changed

+144
-30
lines changed

5 files changed

+144
-30
lines changed

ai/blockchain-llm/post-ai-chat.mdx

Lines changed: 0 additions & 6 deletions
This file was deleted.

ai/blockchain-llm/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "QuickStart"
3-
description: "Learn how to quickly integrate thirdweb AI"
3+
description: "Learn how to quickly integrate thirdweb AI for reading and writing transactions in natural language"
44
---
55

66
The thirdweb API provides an OpenAI-compatible chat completion interface optimized for blockchain interactions.

bridge/quickstart.mdx

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: "QuickStart"
3+
description: "Learn how to easily bridge and swap tokens between chains and wallets using Bridge"
4+
---
5+
6+
<Steps>
7+
<Step title="Install SDK">
8+
Install the thirdweb SDK
9+
10+
<Tabs>
11+
<Tab title="npm">
12+
```
13+
npm i thirdweb
14+
```
15+
</Tab>
16+
<Tab title="yarn">
17+
```
18+
yarn add thirdweb
19+
```
20+
</Tab>
21+
<Tab title="pnpm">
22+
```
23+
pnpm i thirdweb
24+
```
25+
</Tab>
26+
<Tab title="bun">
27+
```
28+
bun i thirdweb
29+
```
30+
</Tab>
31+
</Tabs>
32+
</Step>
33+
<Step title="Create Client">
34+
Create a client file for reuse throughout your app:
35+
36+
```javascript thirdwebClient.ts
37+
import { createThirdwebClient } from "thirdweb";
38+
39+
export const client = createThirdwebClient({
40+
clientId: "YOUR_CLIENT_ID", // Get from your thirdweb dashboard
41+
});
42+
43+
```
44+
</Step>
45+
<Step title="Setup Provider">
46+
Wrap your application with the `ThirdwebProvider`
47+
48+
```javascript
49+
// app.tsx / _app.tsx
50+
import { ThirdwebProvider } from "thirdweb/react";
51+
52+
function App() {
53+
return (
54+
<ThirdwebProvider>
55+
<YourApp />
56+
</ThirdwebProvider>
57+
);
58+
}
59+
60+
```
61+
</Step>
62+
<Step title="Add Swap Widget">
63+
Use the SwapWidget to let users swap tokens
64+
65+
```javascript
66+
import { SwapWidget } from "thirdweb/react";
67+
68+
function Example() {
69+
return <SwapWidget client={client} />;
70+
}
71+
```
72+
</Step>
73+
</Steps>

bridge/resources/faq.mdx

Lines changed: 70 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,97 @@ sidebarTitle: "FAQs"
77
### General
88

99
<AccordionGroup>
10-
<Accordion title="New Accordion">
11-
10+
<Accordion title="What does Bridge use to operate under the hood?">
11+
Bridge is an asset router that combines thirdweb's own onchain infrastructure with existing bridging and swapping protocols to find the optimal route for any given transaction. This can include intents, native bridges, third party bridges, cross-chain messaging protocols, thirdweb's custom bridges, and more. All routes are monitored and planned continuously for health, price, and speed to guarantee the best path every time.
1212
</Accordion>
13-
<Accordion title="New Accordion">
14-
15-
</Accordion>
16-
<Accordion title="New Accordion">
17-
18-
</Accordion>
19-
<Accordion title="New Accordion">
20-
13+
<Accordion title="Am I able to use Bridge with other wallet infrastructure providers?">
14+
Yes, Bridge is designed to be agnostic to wallet infrastructure. You can use it with any wallet service.
2115
</Accordion>
2216
</AccordionGroup>
2317

2418
### Fees
2519

2620
<AccordionGroup>
27-
<Accordion title="New Accordion" icon="sparkles">
28-
21+
<Accordion title="What are the fees for onramping?">
22+
Fees for onramping are based on the onramp provider. [Learn more about fees](/bridge/resources/fee-breakdown).\
23+
\
24+
thirdwbe does not determine nor take a cut from onramp provider fees
25+
</Accordion>
26+
<Accordion title="What are the fees for crypto-to-crypto transactions?">
27+
For buying with crypto or swap fees, thirdweb charges a 0.3% protocol fee. Developers may monetize their application by charging additional fees on swap transactions. To set a fee in your project page, navigate to Bridge \> Configuration to set the fee.
28+
</Accordion>
29+
<Accordion title="What are network fees?">
30+
Network fees, also referred to as miner fees, are paid to the miner for processing crypto transactions and securing the respective network. These fees do not go to thirdweb.
2931
</Accordion>
30-
<Accordion title="New Accordion" icon="sparkles">
31-
32+
<Accordion title="Does thirdweb offer fiat payouts?">
33+
Fiat payouts are not currently available.
3234
</Accordion>
3335
</AccordionGroup>
3436

3537
### Token & Region Support
3638

3739
<AccordionGroup>
38-
<Accordion title="New Accordion" icon="sparkles">
39-
40+
<Accordion title="How can I support a token?">
41+
We're able to support most tokens that meet the following criteria:
42+
43+
- The token must have sufficient liquidity
44+
- The token must be on a supported chain. To request support for a token, please visit the Bridge tab in your project dashboard \> Settings \> "Don't see your token listed?" component and fill out the chain and token address information.
45+
46+
The service will automatically kick off the token route discovery process. Please check back the modal after 20-40 minutes for the requested token.
47+
</Accordion>
48+
<Accordion title="What countries are supported through onramp?">
49+
Buy With Fiat is available 160+ countries. The following countries are UNSUPPORTED:
50+
51+
- Afghanistan
52+
- Africa (All Countries)
53+
- Belarus
54+
- Bolivia
55+
- China
56+
- Cuba
57+
- Colombia
58+
- Haiti
59+
- Honduras
60+
- Iran
61+
- Iraq
62+
- Latvia
63+
- Lebanon
64+
- Myanmar
65+
- Pakistan
66+
- Qatar
67+
- Russia
68+
- Ukraine
69+
- United Arab Emirates
70+
- Venezuela
71+
- Yemen
72+
73+
All United States are supported, excluding Hawaii.
74+
</Accordion>
75+
<Accordion title="Which cryptocurrencies and tokens are supported?">
76+
[View the full list](https://thirdweb.com/tokens) of supported tokens on Bridge.
77+
</Accordion>
78+
<Accordion title="Does Bridge support Apple Pay or Google Pay?">
79+
Apple Pay and Google Pay are supported through the onramp providers depending on region. Coinbase, Stripe, and Transak currently support Apple Pay. Transak supports Google Pay.
80+
</Accordion>
81+
<Accordion title="What are the transaction limits for onramp?">
82+
We currently require a \$1 minimum purchase for both stablecoin and non-stablecoin purchases through onramp.
83+
84+
Our transaction maximum starts from $1500 per week for new users and can increase over time to $10,000 per week.
85+
</Accordion>
86+
<Accordion title="Does thirdweb offer direct onramping to tokens through ?">
87+
We currently require a \$1 minimum purchase for both stablecoin and non-stablecoin purchases through Buy With Fiat. Our transaction maximum starts from $1500 per week for new users and can increase over time to $10,000 per week.
4088
</Accordion>
41-
<Accordion title="New Accordion" icon="sparkles">
42-
89+
<Accordion title="How are prices set through thirdweb Bridge?">
90+
Prices are set depending on the liquidity provider used to route your transaction.
4391
</Accordion>
4492
</AccordionGroup>
4593

4694
### KYC & Compliance
4795

4896
<AccordionGroup>
49-
<Accordion title="New Accordion" icon="sparkles">
50-
97+
<Accordion title="What are the KYC requirements?">
98+
Onramp options all require minimal KYC. This is done to comply with local regulations and to ensure the safety of our users. Please note: onramping with Coinbase does not require KYC for a purchase below \$500 with debit card.
5199
</Accordion>
52-
<Accordion title="New Accordion" icon="sparkles">
53-
100+
<Accordion title="How does KYC work for buying cryptocurrency with Fiat?">
101+
Users will be required to complete KYC verification for their first purchase using 'Buy with Fiat.' After that, no further KYC will be needed for future purchases on the same platform.
54102
</Accordion>
55103
</AccordionGroup>

docs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120
"/ai/blockchain-llm/quickstart",
121121
"/ai/blockchain-llm/execute-transactions",
122122
"/ai/blockchain-llm/streamed-responses",
123-
"/ai/blockchain-llm/post-ai-chat",
124123
{
125124
"group": "Integrations",
126125
"pages": [

0 commit comments

Comments
 (0)