Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC-8063 Reference Implementation on Arbitrum One

First production reference implementation of ERC-8063 (Groups — Membership Tokens) deployed on Arbitrum One.

License: MIT Network: Arbitrum One Standard: ERC-8063


What is ERC-8063?

ERC-8063 is a finalized Ethereum standard titled Groups — Membership Tokens, authored by Cheng Qian (@jamesavechives).

A Group is an ERC-20 token extended with threshold-based membership semantics:

function isMember(address account, uint256 threshold) external view returns (bool);

Token balance ≥ threshold → membership is granted. This enables token-gated access, tiered rewards, and on-chain loyalty systems without off-chain oracles.


This Repository

This repo is the open-source reference implementation funded by the Arbitrum Foundation Grant and built by Deakee — the first production application on ERC-8063.

What's included

Contract Description
ERC8063Group.sol Base ERC-8063 implementation extending ERC-20
ERC8063Factory.sol Factory for deploying per-partner Group tokens
CouponGate.sol Threshold-gated coupon access control
OrderBookExchange.sol On-chain order book with DKG as base pair
OAuth2Bridge.sol OAuth2 token transfer bridge for external apps

Architecture

Partner Brand
    │
    ▼
ERC8063Factory ──► ERC8063Group (partner token)
                        │
                        ▼
                   CouponGate (isMember check)
                        │
                        ▼
                   Coupon Access Granted
                        │
                        ▼
              OrderBookExchange (DKG base pair)

Development Status

🏗️ Active development — grant approved April 2026. Contracts will be deployed to Arbitrum One testnet (Month 1–2) and mainnet (Month 3, post-audit).

Milestone Status
Month 1 — Factory + CouponGate contracts 🔄 In progress
Month 2 — OrderBook + OAuth2Bridge ⏳ Pending
Month 3 — Third-party security audit ⏳ Pending
Month 4a — Open-source release + NatSpec docs ⏳ Pending
Month 4b — 50 partner onboarding integrations ⏳ Pending

Quick Start

# Install Foundry
curl -L https://foundry.paradigm.xyz | bash
foundryup

# Clone and install
git clone https://github.com/jamesavechives/erc-8063-reference
cd erc-8063-reference
forge install

# Compile
forge build

# Test
forge test

# Deploy to Arbitrum One (set env vars first)
cp .env.example .env
forge script contracts/script/Deploy.s.sol --rpc-url arbitrum --broadcast

Deployments

Network Contract Address
Arbitrum One ERC8063Factory pending audit
Arbitrum One CouponGate pending audit
Arbitrum Sepolia (testnet) ERC8063Factory in progress

Related


License

MIT © Cheng Qian / Deakee Group

About

ERC-8063 reference implementation — membership-token contracts (ERC8063Group, Factory, CouponGate) deployed on Arbitrum One

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages