Filecoin Name Service
Home
  • 👋Project Introduction
  • Overview
    • 💡What we do
    • ✨Our Features
    • ❓FAQ
  • Architecture
    • 🔮FNS Architecture
  • Application Principles
    • 🌐FNS Application Principles
      • Design FNS Domain Name System
      • Integrate IPFS storage space
      • Design FNS Social Platform
      • Design FNS Ecosystem
  • Interaction Tutorial
    • ⚖️How to transfer FIL to a “0x” wallet address
    • 🪪How to register a FNS domain name
      • 👥FNS Domain Referral Program
    • 🪙How to trade FNS domain names
    • ⛓️How to set the primary name
    • 💡How to resolve and reverse resolve an FNS domain
  • FNS Domain Integration & Application
    • 📱STORAGE APP
      • FNS STORAGE APP Features
      • How to Login FNS Domain for Cloud Storage
    • 📲FNS WALLET APP
      • OpenGate FNS Wallet
    • 💳FNS PAY CARD
      • Introduction
      • Features
      • Way to get the card
    • 📖Study Abroad & Immigration Services
    • 💾Real Pay Storage Services
    • 🖥️Decentralized Websites Services
  • $FNS Tokenomics:
    • 👀$FNS Introduction
    • 🪙$FNS Distribution
  • $FNS Token Utility
    • 🔷Utilities Detail
  • Official Links
    • Website
    • X
    • Discord
    • Telegram
    • FNS STORAGE App on Google Play
    • FNS STORAGE App on Apple Store
    • FNS Marketplace
  • Conclusion
    • Conclusion
Powered by GitBook
On this page
  1. Architecture

FNS Architecture

PreviousFAQNextFNS Application Principles

Last updated 2 years ago

The FNS system is based on smart contracts and IPNS. The smart contract is responsible for registering and managing FNS domains, while IPNS is used to resolve the mapping between FNS domains and the corresponding content identifiers (CIDs) of the data stored on the Filecoin network.

The FNS architecture is based on Filecoin EVM smart contracts and the IPFS naming system (IPNS) to implement domain name registration, renewal, and transfer operations. The FNS architecture is illustrated in the following diagram:

  • FNS Ddomains

FNS domains are easy-to-read domain names that can be used to access data stored on the Filecoin network. Users can register FNS domains through the FNS contract, and associate them with the CID of their stored data. FNS domains can be used to represent various types of data, including personal data, files, and applications.

  • Content Identifier (CID)

The CID is a unique identifier for data stored on the Filecoin network, similar to the hash value used in IPFS. Each CID uniquely identifies a piece of data on the network and can be used to access that data. CIDs are used in FNS to map the FNS domains to the corresponding data stored on the Filecoin network.

  • FNS Contract

The FNS contract is an ERC-721 compliant NFT contract that manages FNS domains. It provides functions for domain registration, renewal, transfer, and resolution.

  • Resolver

The resolver is a smart contract that maps FNS domains to CIDs. It is responsible for resolving an FNS domain name to the corresponding CID and retrieving data from Filecoin.

  • Integration with IPFS Decentralized Storage Space

The FNS system integrates with the IPFS decentralized storage space, allowing users to access data stored on IPFS through their domain names. The FNS system includes an IPFS node to ensure system stability and performance. The system uses IPFS's PIN service to ensure that data stored on IPFS is not lost due to node failure.

🔮