If you think of IPFS as a city, and the individual nodes that make up the city as neighborhoods, IPFS gateways are the streets that connect everything together. Just like city streets, some have more traffic, some have higher speed limits, some go through the middle of the city, and some go straight from neighborhood to neighborhood.
IPFS gateways are the necessary link between IPFS and the traditional web (HTTP), letting you access files faster and more reliably than ever before. In this blog post, we’ll explain how IPFS gateways work, how to use them, and how to decide the type of gateway for your use case.
IPFS gateways are public services (just like roads!) that act as the bridge between the traditional web protocol (HTTP) and decentralized storage protocol (IPFS). They retrieve content from the IPFS network and serve that content to a web browser (Safari, Chrome, etc.) in a way that the browser can understand. IPFS gateways are the literal connection between web2 and web3.
Let’s look at an example.
Say you’ve built a decentralized social network app called Freeple that uses IPFS to store user-generated content such as photos, videos, and status updates. When a user uploads content to Freeple, the content is added to the IPFS network and assigned a unique content address—also known as a CID.
Users access Freeple through a traditional web interface, either on their computer or mobile device, using their HTTP browser of choice. When a Freeple user wants to view someone’s image or video on their profile, a request is sent to an IPFS gateway. The IPFS gateway retrieves the content’s CID from the IPFS network based on the content address assigned by Freeple.
Once the content has been retrieved from the IPFS network, the IPFS gateway serves it to the user through their web browser where they can view it as if they normally would on any other social network.
For the user, there isn’t much difference. For the developers and people running the project, there are quite a few:
Sounds like a pretty good deal, no? There are really only two caveats. One, for best performance, you should use the gateway closest to you. More on that later. Two, your speed will depend heavily on whether you’re using a public gateway or a private gateway.
In most cities there are public roads that everyone can use, and private roads only available to those that have special access. The nice roads where the big fancy houses are.
Public gateways and private IPFS gateways (known at Pinata as Dedicated Gateways) both connect you to the same IPFS network, but public gateways are sensitive to traffic since there is only a limited amount of bandwidth. If lots of people are using the public IPFS gateway in your area, your content will load slowly, and in some extreme cases, slow enough to cause users to bounce.
Private IPFS gateways give you your own personal bridge to the IPFS network, so your content always loads quickly, no matter how many people are requesting content.
Going back to the Freeple example: you can imagine how poor of an experience it would be if a user clicked someone’s new profile picture and it took 10 seconds to load, just because there’s a lot of activity on the network. Wouldn't leave a great taste in their mouth. This situation could happen when using a public IPFS network.
Luckily for you, you don’t have to be one of those big fancy house people to have a private dedicated gateway.
We’ve made our name as a trusted liaison to IPFS, with over 300,000 users using our platform since 2018. A couple reasons why companies like OpenSea, Rarible and Polygon trust us for their IPFS gateways:
Speed: We mentioned earlier that for the best performance, you should use the gateway closest to you. Not only do we have a built-in CDN (content delivery network) that greatly speeds things up, we also have 200 server locations around the world. So we definitely have a server near you.
Scalability: Pinata’s IPFS gateways are designed to automatically scale up or down in response to changes in demand, ensuring that any content stored on the IPFS network can be accessed quickly and efficiently as the user base grows. In other words, we’re built for growth.
Security: Pinata's dedicated IPFS gateways use SSL encryption to protect content from unauthorized access or tampering. Our dedicated IPFS gateways also have access controls that can be used to restrict access to sensitive or confidential content, ensuring that only authorized users can access it and preventing it from being modified or deleted by unauthorized users.
You can use Pinata’s Dedicated IPFS Gateways from our web app, or via API. And while our paid plans have all the bandwidth, speed and storage you’ll ever need, our free plans pack a mighty punch for anyone new to the game.
paragraph — The first thing the music industry needs is more exposure. For artists, listeners and yeah, the labels. Even with the use cases mentioned above, the majority of the music industry still sees NFTs as a novelty rather than a legitimate way to run a business. We see a future where the experience is built and monetized on the blockchain, with labels taking part of the experience, as well.
Second, there needs to be a big jump in user experience. Listeners know what to expect with Spotify and Apple Music: a smooth, intuitive experience that lets them listen to Lil Nas X with just a few clicks. Web3 platforms aren’t quite there. Music NFTs and related premium content require extra steps that most people don’t yet have an appetite for.
paragraph — Musician Daniel Allan spent months building a relationship with the NFT community and raised 50 ETH to fund his new album, Overstimulated. Companies like Audius and artists like Vérité's, who raised $90,000 in an NFT launch, are at the forefront of exploring new ways to get paid. Avenged Sevenfold launched an NFT collection called "Deathbats Club" with 10,000 items that grants holders access to benefits such as meet and greets at shows, lifetime free tickets, limited edition merchandise, and more.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
LINK — This is how a link looks like. Please provide normal & hover state (if different than this)
QUOTE — Everyone is obsessed with making money and seeking alpha, which does a disservice to what [NFTs] can actually do. We have been instructing many bands that NFTs are a ticket for access to an exclusive club.” - M. Shadows, Avenged Sevenfold’s lead singer.