LogoLogo
Decentraweb.orgVisit App
  • 👋Info
    • Introduction
    • Official Links
    • Decentraweb Deployments
  • ⚒️For Developers
    • Our SDKs
      • ❓About our SDKs
      • 📝Namekit
      • 🚀Core - Full Integration
    • 🦊MetaMask Unity SDK with Decentraweb
  • ❓Learn
    • About Decentraweb Domains
      • Decentraweb Domains FAQs
      • Ethereum vs Polygon Domains
      • Top-Level Web3 Domains
      • Web3 Domains
      • Web3 Subdomains
    • Using Decentraweb Domains
      • 🌉Using Domains Bridge
      • Crypto Wallet Domains
      • Resolving Decentralized Domains in your Browser
      • Setting DNS Records
      • dwebs.to Web2 Bridge
      • Using IPFS
    • Purchasing Domains
      • Web3 Domains
      • Top-Level Web3 Domains
    • Web3 TLD Guides
      • 🎨Custom Art for Domains
      • 🔁Renewing Web3 TLDs
      • 🤝Staking Web3 TLDs
      • 🤫Private Staking Web3 TLDs - Allowlist
      • ✏️Customizing Web3 Domain Registration Page
      • 💾Reserve Web3 Domains from your Web3 TLD
      • 💎Register Web3 Domains from your Web3 TLD
      • 🛒Web3 Domain Registrar Sites
      • 🖥️Web3 Domain Registration Widgets
  • 🪙DWEB
    • ❓About DWEB Token
    • 🛒Purchasing DWEB
    • ⛏️Staking DWEB
Powered by GitBook
On this page

Was this helpful?

  1. Learn
  2. Using Decentraweb Domains

Using IPFS

Previousdwebs.to Web2 BridgeNextPurchasing Domains

Last updated 1 year ago

Was this helpful?

IPFS or the InterPlanetary File System is a protocol and peer-to-peer network for storing and sharing data in a distributed file system. It's an amazing technology that allows people to share content and "repin" the content to strengthen the bandwith for the file.

An IPFS document is generally accessed by knowing it's file hash and then using an IPFS gateway to load the file. For example here is a link to an IPFS share featuring the music found on the . The file hash for this document is QmaFP38LkSFURqmGsv1TW6ncjuftRrZP8f78RR2Dd4hCGp. By knowing the file hash you can use any IPFS gateway to access this document. For example:

DWEB domains have built-in support for linking directly to IPFS files via Decentraweb's IPFS gateway. A user who has the DWEB Resolver enabled can access the above IPFS file via a normal DWEB domain. Live examples: (if you are connected to Goerli Test Resolver) (if you are connected to Mainnet Resolver)

How to link a DWEB domain to an IPFS document

  1. Decentraweb allows you to use your own Smart Contract Resolver. In most cases you should just use Decentraweb's default by clicking the "Use Decentraweb Resolver" button. This will trigger an on chain transaction.

  2. Once this is complete you will see two new additions on the page for setting (IPFS) "Content" and "DNS records". Click the blue edit button on the "Content" and past in a reference to your IPFS file. For example: ipfs://bafybeifq6kpf3zybrk4dhhmeg7xc2kjlw2l4mhgfjkmmhaj4uszwf7hfse

  3. Save your changes and within 1-minute CONGRATS you should be able to see your IPFS file via your DWEB subdomain. If it doesn't display, ensure you are running the DWEB Resolver.

Replace all instances of with if you'd like to do the steps in Testnet!

Before you start you should know the IPFS Hash of the document you want to link to. You can use a service like to upload a file (up to 1GB free) and get an IPFS hash.

Visit , click "Manage Name" button and click the subdomain you want to link to IPFS.

❓
https://dns.decentraweb.org/
https://dns-goerli.decentraweb.org/
https://pinata.cloud/
https://dns.decentraweb.org/
Voyager Golden Record
https://cloudflare-ipfs.com/ipfs/QmaFP38LkSFURqmGsv1TW6ncjuftRrZP8f78RR2Dd4hCGp/
https://ipfs.io/ipfs/QmaFP38LkSFURqmGsv1TW6ncjuftRrZP8f78RR2Dd4hCGp/
http://golden.record/
http://goldenrecord.sagan/
Screenshot of
http://golden.record/