DEV Community

foxgem
foxgem

Posted on

3

Quick IPFS

Concepts

  • IPFS ! = Blockchain
    • Blockchain serves on-chain data
    • IPFS serves off-chain data
    • IPFS provides an option of saving big volume datas for blockchain.
  • IPFS ! = Filecoin
    • IPFS focuses on addressing, which means it can find the location the content, but it can't guarantee that content is available.
    • Filecoin which focuses on storage is similar to a decentralized cloud drive.
    • They are complementary.
  • Contents on public IPFS are always accessible as long as you can get the addresses.
    • Setting up a private IPFS is possible, but meaningless.
  • How to use:
    1. add file, a cid will be returned
    2. use the cid to access the file
  • Typical scenarios
    • NFT Metadata
    • Off-Chain data

Content Addressing

Pinning Services

  • "pin" is "save" , happening on one or more nodes.
  • Files that not pinned are only in cache and will be removed in future.
  • It is impossible to force a third party node to perform a "pin".
  • In addition to your own nodes, third party services are also available.
  • Typical pinning services:
    • paid
      • infura
      • pinata
      • morails
    • free
      • nft.storage

References

Heroku

Built for developers, by developers.

Whether you're building a simple prototype or a business-critical product, Heroku's fully-managed platform gives you the simplest path to delivering apps quickly — using the tools and languages you already love!

Learn More

Top comments (1)

Collapse
 
juyuancai profile image
juyuancai

Hi, when you use IPFS to publish file, do you need to purchase a VPS also with pin service like pinata pin service? Now we have a better solution called Foggie. With Foggie , you can get a 2C4G VPS with pin service together with only the same price as pinata. You will also get much larger bandwith to 4T. Also , when you use it, you can get token and NFT rewards. Here is the link: https://foggie.fogworks.io/?pcode=uZVcLL&cc=1008#/fogworks

AWS Q Developer image

Your AI Code Assistant

Q Developer CLI agent provides a lightning-fast coding experience that can read and write files locally, call AWS APIs, run bash commands, or create code—all while adapting to your feedback in real-time.

Start coding for free

👋 Kindness is contagious

If you found this article helpful, please give a ❤️ or share a friendly comment!

Got it