Stamp Network
  • 👋Welcome to Stamp ⊙
  • Devs
    • ✨Getting Started
    • 👩‍💻Tutorials
      • Getting Rank Scores
      • Verify Credentials
    • 🗒️EAS and Resolvers
  • Use Cases
    • Web of Trust for Communities
    • 🤖AI Capabilities
    • Talent Endorsement
  • About
    • 🛣️Roadmap
Powered by GitBook
On this page
  • Overview
  • Schemas
  • Base Sepolia
  • Add new Communities and/or Categories
  1. Devs

EAS and Resolvers

PreviousVerify CredentialsNextWeb of Trust for Communities

Last updated 5 months ago

Overview

The project utilizes the Ethereum Attestation Service (EAS) to create a web of trust system through two main schemas:

  • Pretrust Schema

  • Vouch Schema

Schemas

Pretrust Schema

The pretrust schema serves as the seeding group for the web of trust. Its primary purpose is to ensure that each unique Zupass credential is linked to only one Ethereum address.

Schema Structure:

bytes32 nullifier,
bytes32 category,
bytes32 subcategory,
bytes32 issuer,
bytes32 credentialType,
bytes32 platform

Schema URL:

Pretrust Resolver

The pretrust resolver implements the following key functionality:

  • Validates Zupass credentials

  • Ensures one-to-one mapping between credentials and addresses

  • Prevents duplicate attestations for the same credential

Vouch Schema

The vouch schema represents endorsements between users within the system.

Schema Structure:

bytes32 platform,
bytes32 category,
bytes32 subCategory

Vouch Resolver

The vouch resolver provides the following capabilities:

  • Season management by admins

  • Vouch limit enforcement per user per season

  • Admin management system

  • Query interface for season and user data

Base Sepolia

Add new Communities and/or Categories

  1. Head to Resolver Contract

  2. Go to Read Contract and then to getVouchCode

  3. Go to Write Contract and then fill the Code you got from previous step in setVouchingLimit

Schema URL:

Currently, you need to be whitelisted for this. Join this telegram group for requests:

🗒️
Base EAS Scanner - Pretrust Schema
Base EAS Scanner - Vouch Schema
Vouch Resolver Contract
Vouch Schema
https://t.me/+BEa8nA1BW-swMzk5