ERC-3643: How Ethereum's Compliant Token Standard Enables Regulated Securities On-Chain
Deep dive into ERC-3643 (T-REX), the token standard for issuing regulated securities on Ethereum with built-in identity and transfer restrictions.
Tokenizing a bond, a fund share, or a piece of real estate on Ethereum using a plain ERC-20 token creates a problem: nothing stops the token from being transferred to someone who is not legally allowed to hold it. Securities laws in most jurisdictions require that issuers verify buyer eligibility, restrict transfers to qualified investors, and maintain the ability to freeze or recover tokens when regulators or courts demand it. ERC-20 has no mechanism for any of this.
ERC-3643, originally known as T-REX (Token for Regulated EXchanges), solves this by extending ERC-20 with on-chain identity verification and modular compliance checks that run automatically on every transfer. The standard reached Final status as EIP-3643 in late 2023 after two years of review, making it Ethereum's first finalized standard specifically designed for security tokens. The ERC-3643 Association, a Luxembourg-based nonprofit, now governs the standard with over 90 member organizations including DTCC, ABN AMRO, Deloitte, and Fireblocks.
Why ERC-20 Is Not Enough for Securities
ERC-20 tokens are permissionless by design. Anyone with an Ethereum address can receive them, and the token contract has no concept of who the holder is. This works well for utility tokens and stablecoins that are designed for broad circulation, but it directly conflicts with securities regulation.
Securities laws typically require issuers to know the identity of every holder, restrict transfers to accredited investors or qualified purchasers, enforce lock-up periods after issuance, report ownership changes to regulators, and comply with court orders to freeze or transfer tokens. An issuer who deploys a plain ERC-20 and then tries to bolt these requirements on through off-chain processes has no enforcement mechanism. A non-compliant transfer simply goes through.
How ERC-3643 Works: The Architecture
ERC-3643 enforces compliance at the smart contract level by splitting functionality across four interconnected contracts. Before any transfer executes, the token contract queries the Identity Registry and the Compliance contract. If either check fails, the transaction reverts.
The Token Contract
The token contract is ERC-20 compatible, meaning it works with existing wallets, exchanges, and DeFi protocols that support ERC-20. It adds compliance hooks to the standard transfer and transferFrom functions: before executing, the contract calls a canTransfer pre-check that validates the sender and receiver against the Identity Registry and Compliance modules. The contract also supports administrative operations including forced transfers, token recovery, global pauses, and per-address freezes (both full and partial).
The Identity Registry
The Identity Registry maps wallet addresses to verified on-chain identities. Each participant's identity is represented by an ONCHAINID contract: a standalone smart contract based on ERC-734/735 that stores cryptographic claims about the holder. Claims might include KYC verification, accredited-investor status, jurisdiction of residence, or institutional classification.
Because the identity contract is separate from the wallet, a user can rotate wallet addresses without re-verifying their identity. The ONCHAINID persists, and the new address simply links to the same identity contract.
The Trusted Issuers Registry
Not all identity claims are created equal. The Trusted Issuers Registry defines which claim issuers are accepted for each claim topic. For example, a token might accept KYC claims from three specific providers and accredited-investor attestations from two others. When the Identity Registry validates a holder's claims, it checks that each claim was signed by an issuer listed in the Trusted Issuers Registry for that topic. This creates a trust chain: the token issuer defines which verifiers it trusts, those verifiers issue claims to investors, and the on-chain system enforces the mapping automatically.
The Compliance Contract
The Compliance contract holds the transfer rules specific to each token. Rules are implemented as pluggable modules, which means issuers can update compliance logic without redeploying the token itself. Common modules include maximum investor counts per jurisdiction, lock-up periods that prevent transfers for a set duration after issuance, daily or per-transaction transfer limits, and country-based transfer restrictions that block transfers to or from specific jurisdictions.
The modular design means that if regulations change, the issuer deploys a new compliance module that queries the same ONCHAINID claims differently. Investors do not need to re-verify.
On-chain audit trail: Every transfer attempt, whether successful or rejected, is recorded on-chain. Regulators and auditors can reconstruct the full ownership history of any token, verify which compliance rules were in effect at any point in time, and confirm which identity claims authorized each transfer.
The ERC-3643 Transfer Flow
When Alice attempts to transfer security tokens to Bob, the following sequence executes in a single transaction:
- Alice calls
transfer(bob, amount)on the token contract. - The token contract queries the Identity Registry: does Bob have a registered ONCHAINID?
- The Identity Registry checks Bob's ONCHAINID for required claims (KYC, accredited status) and verifies each claim was issued by a trusted issuer listed in the Trusted Issuers Registry.
- The token contract queries the Compliance contract: does this transfer satisfy all active rules (investor caps, lock-ups, jurisdiction restrictions)?
- If all checks pass, the transfer executes. If any check fails, the transaction reverts with a reason code.
This entire flow is atomic: there is no window where a non-compliant transfer can settle. The pre-check function canTransfer is also available as a read-only call, so wallets and front-ends can verify eligibility before the user submits a transaction.
Administrative Controls for Regulatory Compliance
Securities regulation does not end at the point of sale. Issuers need ongoing control over the token lifecycle. ERC-3643 defines several administrative functions gated by an Agent role system that follows EIP-173 ownership conventions.
Forced Transfers
An authorized agent can execute a forcedTransfer that moves tokens between addresses regardless of compliance rules. This exists primarily for regulatory enforcement and court orders. If a court directs an issuer to transfer shares from one party to another as part of a legal proceeding, the issuer can execute this on-chain without the holder's cooperation.
Token Recovery
The recovery function moves a holder's entire balance, frozen token count, and identity linkage from a lost or compromised wallet to a new one. The replacement wallet must be linked to the same ONCHAINID, preventing recovery from being used to transfer tokens to an unauthorized address. This solves a problem that is unique to regulated assets: if a shareholder loses access to their wallet, the issuer needs a way to restore their position without creating a new issuance.
Pause and Freeze
Issuers can pause all transfers globally or freeze specific addresses (fully or partially). Address-level freezes let issuers comply with sanctions requirements or respond to suspicious activity reports without disrupting all token holders. Partial freezes lock a specified quantity of tokens while leaving the rest transferable.
Why forced transfers matter: In traditional finance, transfer agents handle court-ordered share transfers, inheritance processing, and regulatory seizures routinely. Without an on-chain mechanism for these operations, tokenized securities would be less functional than the paper certificates they replace. ERC-3643 makes on-chain securities legally operable, not just technically possible.
Real-World Deployments
ERC-3643 has moved beyond specification into production use across multiple asset classes and jurisdictions.
ABN AMRO Digital Green Bond
ABN AMRO issued a €5 million digital green bond on Polygon using ERC-3643 in 2023. Investor eligibility and transfer restrictions were enforced through the standard's identity and compliance layers, making it one of the first bank-issued bonds with fully on-chain compliance.
CoFund Tokenized Real Estate
CoFund partnered with Tokeny to tokenize a $10 million hotel property in Bali as regulatory-compliant ERC-3643 security tokens on Polygon. The token structure allows fractional ownership starting at $1,000 per investment, with transfer restrictions ensuring only verified investors can hold shares.
21X Regulated Trading Venue
21X launched in September 2025 as a fully regulated blockchain-based trading and settlement venue for tokenized securities, built on Polygon and Stellar. The platform uses ERC-3643 for token issuance and compliance, enabling secondary-market trading of security tokens with regulatory-grade transfer controls.
OpenZeppelin Infrastructure Upgrade
In July 2026, OpenZeppelin and T-REX Network announced a partnership to redesign the compliance, identity, and transfer-control layers of the ERC-3643 infrastructure. OpenZeppelin's involvement signals that the standard's smart contract architecture is being hardened for institutional-scale deployment.
Comparing Compliant Token Standards
ERC-3643 is not the only approach to compliant tokenization. Several alternatives exist, each with different design philosophies and tradeoffs.
| Feature | ERC-3643 | ERC-1400 | ERC-1404 | Solana Token Extensions |
|---|---|---|---|---|
| EIP status | Final | Draft | Draft | N/A (native program) |
| On-chain identity | Built-in (ONCHAINID) | Not included | Not included | Not included |
| Compliance enforcement | On-chain, modular | Flexible (often off-chain) | On-chain restriction codes | Transfer hooks |
| Forced transfers | Yes | Operator-based | No | Permanent delegate |
| Token recovery | Yes (identity-linked) | No | No | No |
| Partition/tranche support | No | Yes | No | No |
| Document management | No | Yes | No | No |
| Confidential amounts | No | No | No | Yes (ZK-based) |
| Governance body | ERC-3643 Association | None active | None | Solana Foundation |
ERC-1400: The Modular Framework
ERC-1400 is a family of interrelated EIPs (1410, 1594, 1643, 1644) that together provide a comprehensive toolkit for security tokens. Its key differentiator is tranche support: tokens can be divided into partitions with different rights and restrictions. ERC-1400 also includes on-chain document management, allowing issuers to attach prospectuses or offering circulars to the token contract. However, it remains in Draft status with limited active development, and its compliance model typically relies on off-chain verification.
ERC-1404: The Minimal Approach
ERC-1404 adds a single function to ERC-20: a detectTransferRestriction check that returns a restriction code before a transfer executes. It is intentionally minimal, providing a mechanism for transfer restrictions without prescribing identity management, compliance architecture, or administrative controls. This simplicity makes it easy to implement but leaves the issuer responsible for building everything else.
Solana Token Extensions
Solana's Token-2022 program takes a different approach entirely. Instead of a separate standard, it offers opt-in extensions that issuers attach at mint creation. The transfer hook extension runs custom on-chain logic on every transfer, enabling KYC-allowlist checks similar to ERC-3643's Identity Registry. The confidential transfer extension uses zero-knowledge proofs to hide transfer amounts while keeping sender and receiver visible. The permanent delegate extension grants an authority the ability to freeze, transfer, or burn any token, analogous to ERC-3643's forced transfer capability.
Identity-Gated Transfers and Programmable Compliance
The core innovation of ERC-3643 is the separation of identity from compliance. The Identity Registry answers “who is this person?” while the Compliance contract answers “is this transfer allowed?” This separation means the same identity infrastructure can serve multiple tokens with different compliance rules, and compliance rules can evolve without requiring investors to re-verify.
This pattern of programmable compliance extends beyond securities tokens. Stablecoins increasingly need similar capabilities: sanctions screening, jurisdiction-based transfer restrictions, and the ability to freeze assets in response to law enforcement requests. The programmable compliance model that ERC-3643 pioneered for securities is converging with the compliance requirements emerging for stablecoins under frameworks like MiCA and the GENIUS Act.
Regulatory Advantages of On-Chain Compliance
Traditional securities rely on transfer agents and custodians to enforce transfer restrictions. These intermediaries maintain shareholder registries, verify buyer eligibility, and process corporate actions. ERC-3643 encodes these functions into smart contracts, creating several advantages.
| Capability | Traditional Securities | ERC-3643 Securities |
|---|---|---|
| Investor verification | Manual KYC by transfer agent | On-chain identity claims, verified automatically |
| Transfer restrictions | Enforced by intermediary | Enforced by smart contract on every transfer |
| Audit trail | Internal records at each intermediary | Immutable on-chain history |
| Settlement time | T+1 to T+2 | Near-instant (block confirmation) |
| Court-ordered transfers | Manual process via transfer agent | Agent-executed forced transfer |
| Lost credential recovery | Identity verification + reissuance | On-chain recovery linked to ONCHAINID |
| Cross-border compliance | Separate process per jurisdiction | Modular compliance rules per jurisdiction |
| Secondary market trading | Restricted, slow, illiquid | 24/7 with automated compliance checks |
The settlement advantage is particularly significant for real-world asset tokenization. Traditional private securities can take days or weeks to settle a secondary-market trade because of the manual compliance checks involved. With ERC-3643, the compliance check is part of the atomic transfer, enabling T+0 settlement without sacrificing regulatory compliance.
Limitations and Tradeoffs
Gas Costs
Every transfer triggers multiple cross-contract calls: the token contract queries the Identity Registry, which checks claims against the Trusted Issuers Registry, and then the Compliance contract evaluates its rule set. This adds gas overhead compared to a plain ERC-20 transfer. On Ethereum mainnet, this cost can be significant. Most production deployments have chosen Layer 2 networks like Polygon to reduce per-transfer costs while inheriting Ethereum's security guarantees.
Centralization of Control
The Agent role system gives issuers powerful capabilities: forced transfers, recovery, and freezing. These are necessary for regulatory compliance but create a centralization point. Token holders must trust that the issuer will use these powers only as legally required. This tradeoff is inherent to regulated assets: the same capabilities that make a token legally compliant also make it censorable.
Identity Privacy
ONCHAINID claims are stored on-chain, meaning anyone can see which addresses have verified identities and which claim topics have been attested. While the claims themselves are cryptographically signed and do not expose raw personal data, the metadata (which addresses are verified, by whom, and for which topics) is publicly visible. For use cases where holder privacy is critical, this transparency may be a concern.
EVM Dependency
ERC-3643 is an Ethereum standard, and its reference implementation runs on EVM-compatible chains. Non-EVM platforms like Solana require a different technical approach to achieve similar compliance functionality. This limits cross-chain composability for issuers who want to deploy the same token across heterogeneous chains.
Implications for Stablecoin and Bitcoin Layer 2 Compliance
The principles behind ERC-3643 are not limited to securities. As stablecoin regulation matures globally, the same identity-gated transfer model is becoming relevant for payment tokens. The GENIUS Act in the United States and MiCA in Europe both impose requirements on stablecoin issuers that map closely to ERC-3643's architecture: issuer-controlled freeze capabilities, transfer monitoring, and identity verification for certain transaction thresholds.
On Bitcoin Layer 2 networks like Spark, programmable compliance takes a different form. Rather than EVM-based smart contracts, Spark's token issuance model supports compliance rules enforced at the protocol level, allowing stablecoins like USDB to operate with transfer controls suited to regulatory requirements. The underlying principle is the same: compliance logic should be embedded in the transfer mechanism itself, not layered on after the fact.
For developers building compliant token infrastructure, the Spark SDK documentation covers token issuance on Bitcoin's Layer 2, while the stablecoin token standard comparison provides broader context on how different chains approach programmable compliance for payment tokens.
What to Watch
ERC-3643 is at an inflection point. The OpenZeppelin partnership signals that the standard's infrastructure is being rebuilt for scale, and the growing association membership suggests institutional interest is converting into adoption. Several developments will shape the standard's trajectory.
- The OpenZeppelin upgrade to the compliance and identity layers could reduce gas costs and improve developer experience, addressing two of the standard's main friction points.
- Cross-chain identity portability remains unsolved. If an investor's ONCHAINID on Ethereum could be recognized on Polygon, Avalanche, or other EVM chains without re-verification, it would significantly reduce onboarding friction for multi-chain issuers.
- Integration with zero-knowledge compliance could address the identity privacy limitation, allowing holders to prove they meet compliance requirements without revealing which specific claims they hold.
- Regulatory clarity around tokenized funds and on-chain securities in major jurisdictions will determine whether institutional issuers adopt ERC-3643 at scale or continue to rely on permissioned infrastructure.
This article is for educational purposes only. It does not constitute financial or investment advice. Bitcoin and Layer 2 protocols involve technical and financial risk. Always do your own research and understand the tradeoffs before using any protocol.

