Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 17 additions & 12 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,15 @@ navigation:
path: docs/pages/introduction/develop-with-ai/ai-tools.mdx
- page: Supported Chains
path: docs/pages/introduction/supported-chains.mdx
- page: Demo Apps
path: docs/pages/introduction/demo-apps.mdx
- link: Demo Apps
href: https://github.com/0xProject/0x-examples
target: _blank
- page: FAQ
path: docs/pages/introduction/faq.mdx
- page: API Issues & Error Codes
path: docs/pages/introduction/api-issues.mdx
- page: Need Help?
path: docs/pages/help/contact-support.mdx

- section: Swap API
icon: fa-regular fa-arrows-rotate
Expand All @@ -78,7 +81,7 @@ navigation:
contents:
- page: Swap Tokens with Swap API
path: docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api.mdx
- page: Build Token Swap DApp (Next.js)
- page: Build Token Swap App (Next.js)
path: docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs.mdx
- page: Monetize Your App
path: docs/pages/0x-swap-api/guides/monetize-your-app-using-swap.mdx
Expand All @@ -88,7 +91,7 @@ navigation:
contents:
- page: Swap Tokens with Permit2
path: docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api-permit2.mdx
- page: Build DApp with Permit2 (Next.js)
- page: Build App with Permit2 (Next.js)
path: docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs-permit2.mdx
- section: Additional Topics
contents:
Expand Down Expand Up @@ -120,8 +123,8 @@ navigation:
path: docs/pages/gasless-api/understanding-gasless-api.mdx
- page: Technical Appendix
path: docs/pages/gasless-api/guides/gasless-api-technical-appendix.mdx
- page: Gasless FAQ
path: docs/pages/gasless-api/gasless-faq.mdx
- link: Gasless FAQ
href: /docs/swap-api/faq#gasless-api

- section: Trade Analytics API
icon: fa-regular fa-chart-column
Expand All @@ -130,8 +133,8 @@ navigation:
path: docs/pages/trade-analytics-api/introduction.mdx
- page: Transaction Data
path: docs/pages/core-concepts/transaction-data.mdx
- page: Trade Analytics FAQ
path: docs/pages/trade-analytics-api/trade-analytics-faq.mdx
- link: Trade Analytics FAQ
href: /docs/introduction/faq#trade-analytics-api

- section: Core Concepts
icon: fa-regular fa-books
Expand All @@ -158,8 +161,9 @@ navigation:
path: docs/pages/developer-resources/bounties.mdx
- page: Rate Limits
path: docs/pages/developer-resources/rate-limits.mdx
- page: System Status
path: docs/pages/developer-resources/system-status.mdx
- link: System Status
href: https://0x.statuspal.io/
target: _blank

- section: Upgrading
icon: fa-regular fa-arrow-up
Expand All @@ -178,8 +182,9 @@ navigation:
path: docs/pages/introduction/faq.mdx
- page: Contact Support
path: docs/pages/help/contact-support.mdx
- page: Contact Sales
path: docs/pages/help/contact-sales.mdx
- link: Contact Sales
href: https://0x.org/contact
target: _blank

- tab: api-reference
layout:
Expand Down
Binary file added fern/docs/assets/img/help/ai-search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/docs/assets/img/help/ask-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/docs/assets/img/help/pylon.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ To build our swap app, we’ll focus on:

These components are transferable to almost any token swapping app being built.

![Swap v2 dApp Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts.png)
![Swap v2 App Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts.png)

## 🌈 RainbowKit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ You'll build:

These components form the foundation of most swap apps:

![Swap v2 dApp Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts-allowance-holder.png)
![Swap v2 App Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts-allowance-holder.png)

## 🌈 RainbowKit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,4 +648,4 @@ This wraps up the Swap API Permit2 quickstart. See the links below for starter p

- [(Code) Next.js 0x Demo App](https://github.com/0xProject/0x-examples/tree/main/swap-v2-permit2-next-app)
- [(Code) Examples Repo](https://github.com/0xProject/0x-examples)
- [(Guide) Build a Next.js dApp with 0x Swap API](/docs/swap-api/guides/permit-2/build-d-app-with-permit-2-next-js)
- [(Guide) Build a Next.js App with 0x Swap API](/docs/swap-api/guides/permit-2/build-d-app-with-permit-2-next-js)
Original file line number Diff line number Diff line change
Expand Up @@ -470,4 +470,4 @@ This wraps up the Swap API AllowanceHolder quickstart. Check out the starter pro
- [(Code) Swap API headless example](https://github.com/0xProject/0x-examples/tree/main/swap-v2-allowance-holder-headless-example)
- [(Code) Next.js 0x Demo App](https://github.com/0xProject/0x-examples/tree/main/swap-v2-allowance-holder-next-app)
- [(Code) Examples Repo](https://github.com/0xProject/0x-examples)
- [(Guide) Build a Next.js dApp with 0x Swap API](./build-token-swap-dapp-nextjs)
- [(Guide) Build a Next.js App with 0x Swap API](./build-token-swap-dapp-nextjs)
4 changes: 0 additions & 4 deletions fern/docs/pages/gasless-api/gasless-faq.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ If the submitted trade is successful, and object with `type`, `tradeHash`, and `
- If you're using `go-ethereum`, for `domain`, make sure you order the fields in the exact same order as specified in https://eips.ethereum.org/EIPS/eip-712 since `go-ethereum` does not enforce ordering. Also, make sure you skipped fields that are absent.

```
- string name: the user readable name of signing domain, i.e. the name of the DApp or the protocol.
- string name: the user readable name of signing domain, i.e. the name of the App or the protocol.
- string version: the current major version of the signing domain. Signatures from different - versions are not compatible.
- uint256 chainId: the EIP-155 chain id. The user-agent should refuse signing if it does not match the currently active chain.
- address verifyingContract: the address of the contract that will verify the signature. The user-agent may do contract specific phishing prevention.
Expand Down
6 changes: 3 additions & 3 deletions fern/docs/pages/gasless-api/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "Introduction"
description: "Gasless API enables developers to build gasless swaps and approvals into their dApps and workflows."
description: "Gasless API enables developers to build gasless swaps and approvals into their App and workflows."
---

## Overview

Welcome to 0x's Gasless API!

Gasless API leverages the 0x relayer network to enable developers to build gasless approvals & swaps into their dApps & workflows.
Gasless API leverages the 0x relayer network to enable developers to build gasless approvals & swaps into their App & workflows.

## The Problem

Expand Down Expand Up @@ -320,7 +320,7 @@ Swap and Gasless v2 APIs are currently supported on the following chains. Select
width="100%"
height="420"
src="https://www.youtube.com/embed/0d0tVwJCbiw"
title="How to Build a Gasless Token Swap Dapp"
title="How to Build a Gasless Token Swap App"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
Expand Down
4 changes: 0 additions & 4 deletions fern/docs/pages/help/contact-sales.mdx

This file was deleted.

76 changes: 74 additions & 2 deletions fern/docs/pages/help/contact-support.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,76 @@
---
title: Contact Support
url: "/docs/help/contact-support"
title: Need Help?
description: "Need help with 0x? Explore documentation, AI tools, and direct support options."
---

Need help with 0x? We provide search, AI tools, and direct support options.

## 🔎 Search the Docs (Recommended First Step)

Before reaching out, try using our built-in AI-powered documentation search.

You can:

- Ask questions using **Ask AI**
- Run traditional keyword searches
- Search directly from the widget in the docs

![ai search](../../assets/img/help/ai-search.png)
![ask ai](../../assets/img/help/ask-ai.png)

For advanced AI workflows, see **[Using AI with 0x](/docs/introduction/develop-with-ai/using-ai-with-0-x)** to connect LLMs directly to 0x documentation.

---

## 💬 Contact Developer Support (Fastest Direct Help)

The 0x Developer Support team is available to answer technical questions.

The **fastest route for technical support** is the Pylon messenger.

You can access it directly from your [0x Dashboard](https://dashboard.0x.org/)

![Pylon Messenger](../../assets/img/help/pylon.gif "Pylon Messenger demo")

---

---

## 🤖 Use AI with 0x Docs

0x Docs includes built-in tools to work efficiently with LLMs like ChatGPT, Claude, and Cursor.

You can:

- Copy documentation in AI-optimized format
- Open pages directly in ChatGPT or Claude
- Connect AI tools to the 0x MCP server
- Use AI-powered search inside your IDE

**[Learn how to use AI with 0x](/docs/introduction/develop-with-ai/using-ai-with-0-x)**

---

## 💼 Contact Sales

Questions about plans, pricing, enterprise contracts, or demos?

[Speak to our Sales team](https://0x.org/contact)

---

## 💬 Community (Discord)

Join our [Discord](https://discord.com/invite/official0x) to connect with other developers building with 0x APIs.

> Note: For account-specific or technical issues, Pylon Messenger support via the 0x Dashboard is the fastest option.

---

## 📢 Stay Updated

Follow 0x for announcements and updates:

- [X](https://x.com/0xProject)
- [YouTube](https://www.youtube.com/c/0xProject)
- [Warpcast](https://warpcast.com/0xproject)
4 changes: 0 additions & 4 deletions fern/docs/pages/introduction/demo-apps.mdx

This file was deleted.

6 changes: 2 additions & 4 deletions fern/docs/pages/introduction/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,9 @@ The response includes comprehensive details for each trade, including the transa

## 6. Have a Question?

If you are logged-in to the [0x Dashboard](https://dashboard.0x.org/apps), you have a direct line to our team via the Intercom Messenger for Developer Support in the bottom right of the dashboard.
If you are logged-in to the [0x Dashboard](https://dashboard.0x.org/apps), you have a direct line to our team via the Pylon Messenger for Developer Support in the bottom right of the dashboard.

<Frame>
<img src="https://0x.org/docs/assets/images/intercom-messenger-291c75b0f16434922abba7c45e743ddf.gif" alt="Intercom Messenger" />
</Frame>
![Pylon Messenger](../../assets/img/help/pylon.gif "Pylon Messenger demo")

Additionally, the [0x Help Center](https://help.0x.org/) is a great place to start if you have questions about 0x subscriptions, integration best practicies, and troubleshooting guides.

Expand Down
4 changes: 0 additions & 4 deletions fern/docs/pages/trade-analytics-api/trade-analytics-faq.mdx

This file was deleted.