Bible Network Crypto DeFi Onchain RWA AI Agent Stablecoin Chain SAFU CryptoTax DeFAI AGI Claude Me Claude Skill Claude Design Claude Cowork
Independent Media
Not affiliated with any project
The Deepest Real-World Asset Knowledge Base
rwa-bible.com
LATEST
The Hidden Risk in Tokenized Treasuries: Why On-Chain Price Drifts From NAV, and What Happens in a Redemption Rush  ·  Centrifuge Deep Dive: How One of RWA's Oldest Protocols Turns Invoices and Loans Into On-Chain Yield  ·  Where Does RWA Yield Actually Come From? Why One Pays 4% and Another 12% — and Why the Risk Is Completely Different  ·  EU Digital Fairness Act Targets Game Virtual Currencies: Gems and Coins Must Show Real Prices, Candy Crush and Supercell Warn of Industry Damage — What Does This Have to Do with Crypto?  ·  7 Most Common RWA Beginner Mistakes: From 'Thinking It's Like USDC' to 'Forgetting Tax Records'  ·  Exodus × Ondo Launch 200+ Tokenized Stocks and ETFs on Solana: Milestone in Self-Custody Wallet Evolving into Full-Asset Platform
Glossary · tokenization

ERC-20 Token Standard

tokenization 新手

30-Second Version · For the impatient
ERC-20 is the foundational token standard on Ethereum, defining the rules every token must follow: how to transfer, how to check balances, how to let others spend on your behalf. USDC, DAI, LINK — virtually every Ethereum token you've heard of runs on ERC-20. Its core property is permissionlessness: any address can hold and transfer tokens without identity verification. That's exactly why RWA tokens usually don't use pure ERC-20 — they add a compliance layer on top (like ERC-3643), because real-asset transfers typically require KYC restrictions.
Full Explanation +
01 · What is this?

ERC-20 was proposed by Fabian Vogelsteller in 2015 to solve a very practical problem: at the time, every Ethereum token had its own function names, so a DEX had to write a new integration for every token it listed. ERC-20 unified the interface, specifying six functions every token must have. The most important are transfer (you send directly to someone) and the approve + transferFrom pair (you authorize a smart contract to move tokens on your behalf — common in DeFi). It was this unified interface that let Uniswap support any ERC-20 token on its first day without bespoke deals. That composability is the foundational layer on which Ethereum DeFi could explode. Without ERC-20, Uniswap, Aave, and Compound couldn't exist — they all assume the underlying token has this standard interface.

02 · Why does it exist?

The relationship between ERC-20 and ERC-3643 can be understood as ERC-3643 adding "a gate" on top of ERC-20. ERC-20's transfer function lets any address send by default; ERC-3643 adds a check before executing: has this address passed KYC, is it on the whitelist? If not, the transfer reverts. ERC-3643 also adds freeze (block an account) and forcedTransfer (move tokens without consent, for compliance enforcement) — functions ERC-20 has no equivalent for. The cost: ERC-3643 tokens can't trade on permissionless DEXs like Uniswap, because Uniswap's liquidity pools have no KYC either — you need to operate in permissioned DeFi pools. This is a trade-off between regulatory compliance and DeFi composability that can't be fully eliminated.

03 · How does it affect your decisions?

For RWA investors, the most important practical implication of ERC-20 is: can this RWA token plug into mainstream DeFi protocols? PAXG (tokenized gold) is ERC-20, so it can be bought and sold on Uniswap, collateralized on Aave to borrow USDC, and deposited into liquidity pools. Ondo's OUSG (tokenized Treasury) is ERC-3643, so it can't be listed directly on Uniswap; it can only be transferred within Ondo's own whitelist system or used in Flux Finance (Ondo's permissioned DeFi). When you evaluate a RWA token's "DeFi integration potential," first check its standard: pure ERC-20 = maximum DeFi compatibility, but no compliance controls; ERC-3643 = compliance-friendly, but DeFi use cases are constrained. The choice of standard directly determines the token's freedom within the on-chain ecosystem.

04 · What should you do?

ERC-20 has a well-known design flaw at the technical level: the approve + transferFrom flow is theoretically vulnerable to a double-spend attack. The moment you change an approval from an old amount to a new one, if the counterparty quickly inserts a transferFrom, they could theoretically spend the old amount and then the new one. The fix is to set the allowance to zero before setting a new amount, or use the improved EIP-2612 (permit, which replaces the approve transaction with a signature). The more important practical tip: never give unlimited approval (approve MAX) to an untrusted contract — many phishing attacks lure you into this so they can drain your tokens at any time. Tools like Revoke.cash let you view and revoke past approvals; RWA investors plugging into any DeFi protocol should habitually clean up approvals they no longer use.

Real-World Example +

When you use Uniswap for the first time, you'll notice an "Approve" button you need to click first. That action is ERC-20's approve function in action: you're telling the token contract "I authorize Uniswap's contract address to spend up to X of my USDC." Only after approving can you execute the Swap, because Uniswap needs transferFrom to move your USDC into the liquidity pool on your behalf. Many people find it annoying to approve before every swap — the reason is ERC-20's security design: without your explicit authorization, no contract can move your tokens. The flip side is a warning: if any website asks you to approve an unknown contract address, or to approve an unlimited amount, it's almost certainly a phishing attack — once approved, they can drain your tokens without you knowing.

Diagram
ERC-20 vs ERC-3643:同樣是代幣,合規規則天差地遠對比表格呈現 ERC-20(無需許可)與 ERC-3643(合規層)在轉帳規則、KYC 要求、凍結/沒收能力、DeFi 相容性四個維度的差異,並列出各自的代表性代幣。 ERC-20 vs ERC-3643: Same Token, Different Rules ERC-20 = permissionless · ERC-3643 = compliance layer built on top ERC-20 ERC-3643 (T-REX) Transfer Anyone → Anyone Whitelist only KYC Not required On-chain identity check Freeze / Seize Not possible Agent can freeze/seize DeFi compatibility Full (Uniswap, Aave…) Limited (permissioned pools) Example USDC / PAXG / UNI Ondo OUSG / Backed bIB01 RWA Bible · rwa-bible.com
Feel free to share. Please credit the source.
Common Misconceptions +
✕ Misconception 1
× Myth: ERC-20 is only used on Ethereum mainnet. Wrong. ERC-20 is an interface standard, and any EVM-compatible chain (Polygon, BNB Chain, Arbitrum, Optimism, Base) can deploy exactly the same ERC-20 contract. USDC on Polygon and USDC on Ethereum mainnet follow identical contract logic — they're just deployed on different chains.
✕ Misconception 2
× Myth: ERC-20 tokens are cryptocurrency, not real-asset representations. Wrong. ERC-20 is purely a technical standard for how tokens transfer — it says nothing about what the token represents. USDC is ERC-20 representing dollars; PAXG is ERC-20 representing gold. Real assets can absolutely be tokenized as ERC-20, but usually with compliance controls layered on top (like ERC-3643) to meet regulatory requirements.
The Missing Link +
Direct Impact

ERC-20's greatest strength is composability: a compliant token can plug into the entire Ethereum DeFi ecosystem at zero integration cost. Its greatest limitation is permissionlessness itself: for RWA tokens requiring KYC, whitelists, and compliance reporting, pure ERC-20 can't meet regulatory requirements. That's exactly why compliance-oriented standards like ERC-3643 emerged in the RWA world — trading some DeFi composability for the controls institutional regulators demand. Long-term, "permissioned DeFi pools" (where only whitelisted addresses participate) may provide liquidity infrastructure for ERC-3643 tokens, but this market remains very early.

Ask a Question
Please enter at least 10 characters