EIPs Explained

ERC-8063 · Final · ERC · 2025-10-28

ERC-8063: Groups - Membership Tokens

Defines a 'Group' as a plain ERC-20 token whose balance means membership level, so tiered access (member, silver, gold) works with any existing wallet or explorer and an optional isMember helper.

What problem does it solve?

DAOs, loyalty programs, gated features and partner networks all need the same thing: an addressable group of accounts, often with tiers. Building a custom membership contract each time means new tooling, new wallet support and new indexers.

ERC-8063 observes that an ERC-20 balance already expresses this. Zero tokens means not a member, a positive balance means member, and larger balances can unlock higher tiers. By standardizing that interpretation, any ERC-20 token can serve as a group and immediately works with wallets, explorers and DEXs.

How it works

  • A compliant Group must implement ERC-20 and ERC-165.
  • Membership semantics:
    • balanceOf(account) == 0 → not a member
    • balanceOf(account) > 0 → member
    • balanceOf(account) >= threshold → qualifies for that tier
  • Thresholds are defined by the applications that consume the group, not by the token.
  • An optional interface adds isMember(account, threshold), which must return exactly balanceOf(account) >= threshold (so a threshold of 0 is always true).
  • The group's identity is its contract address. Minting and burning are left to the implementation: fixed supply, governance minting, open minting, or ERC-5679-style mint functions are all allowed.
  • Optional extensions: single-owner control via ERC-173, or capping balances at 1 for strictly binary membership.

Sample code

Optional interface and a consumer that maps balances to tiers:

// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.20;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IERC8063 {
    function isMember(address account, uint256 threshold) external view returns (bool);
}

contract TierGate {
    IERC20 public immutable group;
    uint256 public constant SILVER = 500e18;
    uint256 public constant GOLD = 1000e18;

    constructor(IERC20 _group) { group = _group; }

    function tier(address user) external view returns (string memory) {
        uint256 bal = group.balanceOf(user);
        if (bal >= GOLD) return "gold";
        if (bal >= SILVER) return "silver";
        if (bal > 0) return "member";
        return "none";
    }
}

Things to know

  • Status is Final.
  • Because membership is just a balance, it is transferable and tradeable. If that is not what you want, restrict transfers or cap balances at 1.
  • Balance checks happen at a single moment. A user can borrow or buy tokens, pass a gate, and give them back; for votes or high-value access, use snapshots or time-weighted balances rather than a live balanceOf.
  • Thresholds must account for decimals(), and standard ERC-20 approval risks apply: an approved spender can move someone's membership.

#token #membership #access-control #erc-20 #dao

Details

Authors
Cheng Qian (@jamesavechives) <[email protected]>
Status
Final
Type
Standards Track / ERC
Created
2025-10-28
Requires

Machine-readable: Markdown · JSON