For the complete documentation index, see llms.txt. This page is also available as Markdown.

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