Fetcch
  • 🟠What is Fetcch?
  • 🚅Pull Payments Layer
    • 🔭Overview
    • ❓How it works?
      • 👮Specification
      • 🎒How is it stored?
      • 🌊Pull Payments Flow
    • 🔐Security
      • 🎒Storage
      • ⛓️Cross Chain
    • ⚔️Use Pull Payments
  • 🆔Universal Identity Layer
    • 🔭Overview
    • ❓How it works?
      • 👮Specifications
      • 🎒How is it stored?
      • 🌊Identity Flow
    • 🔐Security
      • 🎒Storage
    • ⚔️Use Fetcch Identity
  • 🏗️Data Structures
    • 📖Address Books
      • 🔭Overview
      • 🎒Storage
  • 💻How to integrate?
    • ✈️Quickstart
    • ⛷️SDK Quickstart
    • 🔓Blockchain
    • ✨Guides
      • 🙇Authentication
      • 😁Identity
        • How to resolve identity?
        • How to create identity?
        • How to update identity?
      • 🤌Transaction Requests
        • How to get transaction requests?
        • How to create transaction request?
        • How to build transaction?
        • How to resolve transaction request?
      • 🫂Address Books
        • How to get address books?
        • How to create address books?
        • How to share address book?
        • How to accept address book request?
      • ⚙️Utility
        • How to sign messages?
          • EVM
          • Solana
          • Aptos
          • EIP-6492 Compatible Signatures
        • How to generate & verify proofs for identity?
    • 📖API Reference
      • ☢️Troubleshooting Errors
      • 🟢OpenAPI Specs
  • 🐧Open Source
    • 📸@fetcch/resolve-names
  • 🥶FAQs
    • FAQs
Powered by GitBook
On this page
  1. Data Structures
  2. Address Books

Storage

This is designed keeping verifiability and security at mind.

PreviousOverviewNextQuickstart

Last updated 1 year ago

We are using Merkel Trees to store address books securely onchain which focuses on verifiability as Merkel trees are know for being verifiable by generating Merkel Proofs

Storage structure looks something like this:

The above diagram is for a single address book and a list of Merkel root and respective IPFS/Arweave content identifiers will be stored on-chain with respect to an address or identity.

Address books can be fetched from any off-chain and can be verified against Merkel root stored on-chain, this gives the ability to users for verifying the truthness of the books themselves and not depend on any third party.

Even, applications like wallets and conversation apps can verify received address books themselves on behalf of the user and make sure that user is not served incorrect data.

Who updates the Merkel root?

Owner / Users can themselves update the Merkel root of their address book but right now as we are still experimenting with our systems, only whitelisted address can update the Merkel root and we will slowly open up the access for users.

Encryption

Encryption is very important in address books as users don't want to make their contact list publicly available.

We use asymmetric cryptography to encrypt address books before storing them on public storage solutions like IPFS and Blockchain

🏗️
📖
🎒