diff --git a/docs/onboarding/21 Gateway/0 Overview.mdx b/docs/onboarding/21 Gateway/0 Overview.mdx new file mode 100644 index 000000000..38736196d --- /dev/null +++ b/docs/onboarding/21 Gateway/0 Overview.mdx @@ -0,0 +1,31 @@ +--- +slug: /gateway +title: Overview +hide_title: true +--- + +# Overview + +A gateway is a server that acts as an intermediary between a client and a decentralized storage network. It allows users to access and retrieve data stored on the network. + +### Features + +- **Save Development Time:** Simplify decentralized file management by serving as an intermediary between clients and the storage network, reducing the need for multiple IPFS gateways and streamlining development. +- **Faster and high availability: E**nable fast downloads for decentralized storage through a reliable global infrastructure, simplifying data access and retrieval. +- **Censorship resistant:** Store your data with greater privacy and security using our decentralized storage solution. + +### Pricing & Billing + +**Free Tier** + +- Ideal for small teams and individuals who require basic features. +- **Features:** + - 100 requests per second rate limit + +**Pro** Tier + +- Ideal for teams that require a higher level of customization and support +- **Features:** + - 100 requests per second rate limit + +If you're interested in upgrading your gateway limits, you can find more information on the different tiers by visiting [thirdweb's pricing page](https://thirdweb.com/pricing). diff --git a/docs/onboarding/21 Gateway/1 How It Works.mdx b/docs/onboarding/21 Gateway/1 How It Works.mdx new file mode 100644 index 000000000..a717b99b2 --- /dev/null +++ b/docs/onboarding/21 Gateway/1 How It Works.mdx @@ -0,0 +1,9 @@ +# How it works + +To read data from IPFS, you need an [IPFS Gateway](https://docs.ipfs.tech/concepts/ipfs-gateway/). This allows you to access data from the IPFS protocol on browsers and other HTTP clients, such as when building an application using the Contract [SDK](https://portal.thirdweb.com/sdks). + +When a user requests data from the network, the request is sent to the gateway. The gateway then retrieves the data from the decentralized storage network and returns it to the user. + +![Gatway relationship between user and decentralized storage](./assets/gateway.png) + +For developers, Gateway reduces the complexity of decentralized file management which requires fetching from multiple IPFS gateways.` diff --git a/docs/onboarding/21 Gateway/assets/gateway.png b/docs/onboarding/21 Gateway/assets/gateway.png new file mode 100644 index 000000000..8a2906f7d Binary files /dev/null and b/docs/onboarding/21 Gateway/assets/gateway.png differ diff --git a/sidebars/onboarding.js b/sidebars/onboarding.js index 10256b493..fd5fd1bed 100644 --- a/sidebars/onboarding.js +++ b/sidebars/onboarding.js @@ -123,6 +123,11 @@ const sidebars = { label: "Storage", href: "/storage", }, + { + type: "link", + label: "Gateway", + href: "/gateway", + }, { type: "link", label: "Wallet SDK", @@ -346,6 +351,13 @@ const sidebars = { }, ], + gateway: [ + { + type: "autogenerated", + dirName: "21 Gateway", + }, + ], + dashboard: [ { type: "autogenerated", diff --git a/src/theme/DocSidebarItem/Link/index.js b/src/theme/DocSidebarItem/Link/index.js index db560fa33..d7ac44276 100644 --- a/src/theme/DocSidebarItem/Link/index.js +++ b/src/theme/DocSidebarItem/Link/index.js @@ -45,6 +45,7 @@ export const iconMapping = { Guides: "/assets/resources/guides.svg", CLI: "/assets/product/CLI.png", Glossary: "/assets/icons/journal-album.svg", + Gateway: "/assets/product/sdk.png", }; export default function DocSidebarItemLink({ diff --git a/src/theme/DocSidebarItems/index.js b/src/theme/DocSidebarItems/index.js index e8470bc89..4f712c315 100644 --- a/src/theme/DocSidebarItems/index.js +++ b/src/theme/DocSidebarItems/index.js @@ -53,7 +53,7 @@ function DocSidebarItems({ items, ...props }) { }, { title: "Infrastructure", - items: ["Storage"], + items: ["Storage", "Gateway"], }, { title: "Tools",