diff --git a/ai/blockchain-llm/post-ai-chat.mdx b/ai/blockchain-llm/post-ai-chat.mdx deleted file mode 100644 index dd73d14..0000000 --- a/ai/blockchain-llm/post-ai-chat.mdx +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: 'Chat' -description: 'Send natural language queries to interact with any EVM chain, read data, prepare transactions, swap tokens, deploy contracts, payments and more.' -openapi: "POST /ai/chat" ---- - diff --git a/ai/blockchain-llm/quickstart.mdx b/ai/blockchain-llm/quickstart.mdx index 946a889..b32e7ba 100644 --- a/ai/blockchain-llm/quickstart.mdx +++ b/ai/blockchain-llm/quickstart.mdx @@ -1,6 +1,6 @@ --- title: "QuickStart" -description: "Learn how to quickly integrate thirdweb AI" +description: "Learn how to quickly integrate thirdweb AI for reading and writing transactions in natural language" --- The thirdweb API provides an OpenAI-compatible chat completion interface optimized for blockchain interactions. diff --git a/bridge/quickstart.mdx b/bridge/quickstart.mdx new file mode 100644 index 0000000..abf0a6e --- /dev/null +++ b/bridge/quickstart.mdx @@ -0,0 +1,73 @@ +--- +title: "QuickStart" +description: "Learn how to easily bridge and swap tokens between chains and wallets using Bridge" +--- + + + + Install the thirdweb SDK + + + + ``` + npm i thirdweb + ``` + + + ``` + yarn add thirdweb + ``` + + + ``` + pnpm i thirdweb + ``` + + + ``` + bun i thirdweb + ``` + + + + + Create a client file for reuse throughout your app: + + ```javascript thirdwebClient.ts + import { createThirdwebClient } from "thirdweb"; + + export const client = createThirdwebClient({ + clientId: "YOUR_CLIENT_ID", // Get from your thirdweb dashboard + }); + + ``` + + + Wrap your application with the `ThirdwebProvider` + + ```javascript + // app.tsx / _app.tsx + import { ThirdwebProvider } from "thirdweb/react"; + + function App() { + return ( + + + + ); + } + + ``` + + + Use the SwapWidget to let users swap tokens + + ```javascript + import { SwapWidget } from "thirdweb/react"; + + function Example() { + return ; + } + ``` + + \ No newline at end of file diff --git a/bridge/resources/faq.mdx b/bridge/resources/faq.mdx index 3798461..3f5b10a 100644 --- a/bridge/resources/faq.mdx +++ b/bridge/resources/faq.mdx @@ -7,49 +7,113 @@ sidebarTitle: "FAQs" ### General - - + + 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. - - - - - - - - + + Yes, Bridge is designed to be agnostic to wallet infrastructure. You can use it with any wallet service. ### Fees - - + + Fees for onramping are based on the onramp provider.thirdweb does not determine nor take a cut from onramp provider fees. + + [Learn more about onramp fees](/bridge/resources/fee-breakdown). + + + 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. + + + 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. - - + + Fiat payouts are not currently available. ### Token & Region Support - - + + We're able to support most tokens that meet the following criteria: + + - The token must have sufficient liquidity + - 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. + + The service will automatically kick off the token route discovery process. Please check back the modal after 20-40 minutes for the requested token. + + + Buy With Fiat is available 160+ countries. The following countries are UNSUPPORTED: + + - Afghanistan + - Africa (All Countries) + - Belarus + - Bolivia + - China + - Cuba + - Colombia + - Haiti + - Honduras + - Iran + - Iraq + - Latvia + - Lebanon + - Myanmar + - Pakistan + - Qatar + - Russia + - Ukraine + - United Arab Emirates + - Venezuela + - Yemen + + All United States are supported, excluding Hawaii. + + + [View the full list](https://thirdweb.com/tokens) of supported tokens on Bridge. + + + 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. + + + We currently require a \$1 minimum purchase for both stablecoin and non-stablecoin purchases through onramp. + + Our transaction maximum starts from \$1500 per week for new users and can increase over time to \$10,000 per week. + + + We offer direct onramping **internationally** to the following tokens: + + - Mainnet (Ethereum) + - Avalanche + - Polygon + + We offer direct onramping to the following tokens in the **US only**: + + - ETH (Base)\* + - USDC (Ethereum) + - USDC (Polygon)\* + - USDC (Avalanche)\* + - USDC (Base)\* + + All other tokens will require an additional Buy With Crypto step. + + \* Not available in New York or the EU. - - + + Prices are set depending on the liquidity provider used to route your transaction. ### KYC & Compliance - - + + 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. - - + + 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. \ No newline at end of file diff --git a/docs.json b/docs.json index f277894..96aa31c 100644 --- a/docs.json +++ b/docs.json @@ -80,6 +80,12 @@ { "tab": "Bridge", "groups": [ + { + "group": "Bridge", + "pages": [ + "/bridge/quickstart" + ] + }, { "group": "Resources", "pages": [ @@ -120,7 +126,6 @@ "/ai/blockchain-llm/quickstart", "/ai/blockchain-llm/execute-transactions", "/ai/blockchain-llm/streamed-responses", - "/ai/blockchain-llm/post-ai-chat", { "group": "Integrations", "pages": [ @@ -134,7 +139,6 @@ "group": "MCP Server", "pages": [ "/ai/mcp-server/quickstart", - "https://api.thirdweb.com/openapi.json%20POST%20/mcp", { "group": "Clients", "pages": [ diff --git a/wallets/resources/faq.mdx b/wallets/resources/faq.mdx index 094a8f2..3bba038 100644 --- a/wallets/resources/faq.mdx +++ b/wallets/resources/faq.mdx @@ -7,6 +7,9 @@ sidebarTitle: "FAQs" ### General + + [View the full list](https://thirdweb.com/chainlist?service=connect-sdk) of supported chains for Wallets. + You can use custom authentication or OAuth to enable login options without an OTP email. @@ -14,18 +17,26 @@ sidebarTitle: "FAQs" [Visit the playground](https://playground.thirdweb.com/wallets/sign-in/button) to view all supported authentication methods.\ Wallets supports custom auth integrations for developers building their own authentication systems. - - + + No, since our SDK provides the wallet signer, you can build a unified experience with the same code to handle how all your users' wallets interact with signatures and smart contracts. + + However, you will need to provide a separate flow to create in-app wallets as you would with any wallet provider (WalletConnect, Coinbase Wallet, etc.). -### Security +### Security & Recoverability - - + + In the event that thirdweb ceases to exist, we have committed to keeping our user wallet service running for a period of at least 12 months after the shutdown announcement. During this time users will be able to access their wallet and transfer their assets out, or export their private key which they can then import into a different client. + + + Users can also link their account to a different auth method (e.g. email, phone, or social). All linked methods will be able to be used to access their accounts, providing an alternate recovery method in the case where one is lost. - + + Learn more about the architecture of how thirdweb wallets are created and stored [in the security docs.](/wallets/resources/security). + + \ No newline at end of file