EIP-7702

πŸ“œ EIP-7702: Soulbound Token Standard

EIP-7702 introduces a standard for Soulbound Tokens (SBTs) in the Ethereum ecosystem. This page will provide a comprehensive overview of its architecture, core concepts, user flow, and implementation details.

πŸ—οΈ Architecture

The EIP-7702 standard defines a set of interfaces and functionalities for Soulbound Tokens. Here's a high-level overview of the architecture:

🧠 Core Concepts

1. Non-Transferability πŸ”’

SBTs are designed to be non-transferable, meaning once minted to an address, they cannot be moved to another address.

2. Revocability πŸ”„

The issuer of an SBT has the ability to revoke (burn) the token if necessary.

3. Metadata πŸ“Š

Each SBT can carry metadata, providing additional information about the token and its properties.

4. Enumeration πŸ”’

The standard includes enumeration functions to easily query and iterate over tokens.

🚢 User Flow

Here's a typical user flow for interacting with Soulbound Tokens:

πŸ’» Implementation Details

Core Interface (IERC7702)

Metadata Interface (IERC7702Metadata)

Enumerable Interface (IERC7702Enumerable)

πŸš€ Example Implementation

Here's a basic implementation of the ERC7702 standard:

This implementation provides a solid foundation for creating Soulbound Tokens following the EIP-7702 standard. Developers can extend and customize this base implementation to suit their specific use cases and requirements.

Last updated