Skip to content

ERC-3643 Development for Permissioned Tokens Deployed From Your Keys

Protofire builds a permissioned ERC-3643 (T-REX) token for issuers and transfer agents, with identities, rule modules and agent roles. We deploy it from their own keys. The issuer, its agents and its KYC provider hold the seats. We maintain Solhint and built a permissioned DEX core in 2021.

Luis Medeiros

Reviewed by Luis Medeiros, Field CTO at ProtofireLast reviewed: November 2026

On this page
  1. Overview
  2. Why it matters
  3. What you get
  4. Keys after launch
  5. Where rules are skipped
  6. Lost wallets
  7. Holder contracts
  8. Why Protofire
  9. How it runs
  10. How work starts
  11. Not the right fit
  12. Related guides and services
  13. FAQ

Work shipped for 60+ networks and 95+ protocols, including

  • Chainlink
  • Ethereum
  • Solana
  • Safe
  • Ripple
  • Aave

ERC-3643 development fixes who can move a holding

ERC-3643 development fixes who can move an investor's holding and whose key signs the move. The answer is set in a few contracts and the addresses that own them. For example, you have chosen ERC-3643 for a token held by verified investors. Your counsel then asks a plain question: when an investor loses a wallet, who can move the holding, and whose key signs it?

Protofire builds the token, identities, rule modules and agent roles, and deploys them from keys the issuer and its agents hold. A platform that serves several issuers is a separate Protofire service, described on our tokenization infrastructure page.

Who holds the keys and who builds the contracts of an ERC-3643 token

A holder transfer first queries the identity registry and the compliance contract, and the transfer reverts if either contract says no.

The issuer and its agents

Owner, agent and implementation authority keys

These are the owner seats for the six contracts, the agent keys for minting, freezing and recovery, and the seat that chooses the code version.
The KYC provider

Claim signing keys

These keys sign the KYC claims in each investor's identity.
Investors

Investor management keys

An investor uses a management key to link a new wallet after a loss.
Protofire builds

Token, registries and modules

The suite includes the token, the registries, and rule modules for countries, holder caps and lock-ups.

Deploy scripts, tests and register matching

Protofire builds the deploy call, a test for each failing transfer and a daily match of holders against the register.

Why each ERC-3643 offering needs its own rule modules

ERC-3643 fixes how a transfer is checked, but it leaves the rules it checks to each offering.The open reference repository contains the module framework but no ready module for countries, caps or lock-ups (GitHub).

Institutions already issue tokens on ERC-3643. For example, Apex's release of 21 January 2025 says Fasanara's tokenized money market fund, held on Polygon PoS, is structured using ERC-3643 smart contracts (Apex).

When an issuer leaves the rules and seats to a template, a regulator or counterparty asks three questions. Who can freeze this holder, who can move that balance, and which rule stopped the trade? In a speech on 31 July 2025, the SEC's chairman named ERC-3643 as a token standard with compliance features.

These conditions may include, for example, a commitment to make periodic reports to the Commission, incorporate whitelisting or "verified pool" functionality, and restrict tokenized securities that do not adhere to a token standard that incorporates compliance features, such as ERC3643.
Paul S. Atkins, Chairman, U.S. Securities and Exchange Commission · Speech "American Leadership in the Digital Finance Revolution", 31 July 2025

What Protofire delivers in ERC-3643 development

Offering rules mapped to contracts and signed by counsel

Protofire turns your eligibility rules into claim topics, trusted issuers, country codes and modules. For each restriction in your offering, the map names the contract that enforces it and the party who maintains it. Your counsel signs the map first.

Rule modules with a passing and a failing test

Protofire writes the rule modules and a passing and a failing case for each rule. The cases include a recovery and a forced transfer past a cap. The module set goes to an outside smart contract audit before launch.

ONCHAINID identities so investors pass KYC once

Protofire builds the ONCHAINID contracts, a claim issuer contract for your KYC provider and the registry-agent flow. The provider's checks connect through compliance integration. When a check lapses, the provider revokes it.

Owner and agent seats assigned to your addresses

The deploy call names your addresses, so Protofire holds no owner or agent seat after launch. We keep a record of each ownership change.

Holder records matched to the transfer agent's register

Your token's holders agree with the transfer agent's register each day, and each agent action traces to a transaction. Protofire builds the indexer, the daily match at the register's cut-off and a holder snapshot at each record date.

Who holds the owner, agent and upgrade keys after launch?

After launch, the issuer, its agents, its KYC provider and its investors hold the ERC-3643 keys.A platform holds keys as well when the token follows that platform's factory or shared authority. The seat that buyers miss is the factory's. The factory keeps ownership of the identity registry storage it deploys, and in release 4.1.3 only the factory's owner can release that storage (TREXFactory.sol). So the deploy call comes from your keys. In 4.1.3, ownership is also transferred in one step, so a transfer to a wrong address loses the contract.

Token, registry and compliance owners

What it can do: Appoint agents, choose trusted claim issuers and required claims, and add or swap rule modules

Held after launch by: The issuer, in its custody or a Safe multisig

Token and registry agents

What it can do: Mint, burn, pause, freeze, force transfers, recover wallets and register investors. In 4.1.3, each token agent holds these powers.

Held after launch by: The transfer agent, registrar or the issuer's operations

Identity storage and factory owners

What it can do: Appoint the agents that link wallets to identities, and deploy suites

Held after launch by: The issuer once the factory's owner releases the storage, otherwise the platform

Implementation authority owner

What it can do: Chooses which published version the six contracts run

Held after launch by: The issuer if it has its own authority, the platform if the authority is shared

Claim signing and claim issuer keys

What it can do: Sign and revoke KYC claims

Held after launch by: The KYC provider

Investor management keys

What it can do: Link the new wallet a 4.1.3 recovery needs

Held after launch by: The investor, plus a second key agreed at onboarding

What a holder transfer checks and what agent actions skip

A holder transfer passes when all of these conditions hold (EIP-3643):

  • The token is not paused.
  • No wallet involved is frozen.
  • The free balance covers the amount.
  • The receiver is verified.
  • Each module agrees.

The sender's identity is not checked again. So a holder whose KYC claim was revoked can still send to a verified receiver until an agent freezes the wallet.

On an ERC-3643 token, agent actions skip the rules. A forced transfer checks that the receiver is verified, and in release 4.1.3 a recovery checks the management key. Both actions skip the modules, so a court-ordered transfer can push a country's holder count past its cap (Token.sol). A pause stops holder transfers, but minting, burning, forced transfers and recoveries still run.

Lost-wallet recovery and the second management key

Before launch, the plan for investor identities names who holds a second management key: a backup device, the custodian or the agent.The reason is the recovery rule in release 4.1.3. An agent recovers a holding to a new wallet that is already a management key on the investor's ONCHAINID (Association).

If the lost wallet was the identity's only management key, nobody can add the new wallet. The agent then falls back to a forced transfer onto a newly registered identity with fresh claims. The 4.2.0 beta drops the management-key check.

An agent holding the second management key can also change the investor's keys. The issuer weighs that power against the cost of a failed recovery.

Escrows, pools and custody wallets need ONCHAINID identities

A contract that receives an ERC-3643 token needs a registry entry linked to an ONCHAINID with the required claims.The token's receiver check applies to contracts too. The rule covers escrows, vaults and custody wallets, and a pool is a holder too.

A custodian's omnibus wallet appears as one holder with one country code. So per-investor caps count the custodian once and do not count its clients. The custody model is fixed before the modules are written.

Our record: Solhint and the Swarm Markets permissioned DEX

Two parts of Protofire's record apply to a permissioned token.One is Solhint, the linter that the ERC-3643 repositories run. The other is a DEX where only verified wallets trade.

Solhint in the ERC-3643 repositories

Protofire maintains Solhint, the open-source Solidity linter, downloaded 25M+ times from npm. The lint scripts of the ERC-3643 reference repository and Tokeny's archived T-REX repository run Solhint over their contracts (ERC-3643 package.json, T-REX package.json, read 13 November 2026). Our Solhint page describes the linter.

A permissioned DEX for Swarm Markets

In 2021 Protofire built the DEX core (a Balancer fork) and subgraph for Swarm Markets, and contributed to its dOTC contracts. At launch, Swarm Markets was a BaFin-licensed DEX where only KYC-verified wallets trade. Swarm held the license and ran KYC itself. The Swarm Markets case study describes the build. The split of seats applies to this build: the firm that writes the contracts does not hold the license or sign identity checks.

How Protofire builds and deploys an ERC-3643 token

The deploy call comes after the plan and the tests.The deploy call writes the seats and rules that the earlier steps settle.

  1. Step 1

    Counsel signs the map of rules to contracts

    Protofire turns your offering terms into claim topics, trusted issuers and modules. Counsel signs the map at this step. The custody model is fixed at this step, because an omnibus wallet changes what a cap counts.
  2. Step 2

    Protofire writes the modules and tests

    Protofire writes the modules and a test for each failing transfer. An outside audit then reviews the modules and tests. A KYC provider's key rotation is staged, because removing a claim key voids the claims that key signed.
  3. Step 3

    The deploy call comes from your keys

    The deploy call runs through a T-REX factory or gateway and sets your owner and agent addresses. Each address proves control by signing first. The factory's owner, or a 4.1.3 gateway's owner, then releases the identity storage with recoverContractOwnership.
  4. Step 4

    Investor identities, register matching and the unpause

    Protofire creates investor identities and starts the indexer. One of your agents unpauses the token before investors trade.

How work with Protofire starts

You send Protofire the offering terms, the chain, and the names of the firms that will act as issuer, agent and KYC provider.Each rule in those terms becomes a claim topic or a rule module. Each named firm's address goes into the deploy call for its seat. The full process is on how we work.

Proposal
In writing, one business day after the discovery call: findings, a plan in phases and the first step we recommend.
Price
Fixed per phase when you commission it, against written acceptance criteria. Overruns inside them are ours to absorb, invoices follow delivered milestones, and you can stop at any phase boundary. Anything we operate after launch is priced in the proposal as its own recurring line, with the notice to end it.
Ownership
Code we write for you, contracts, the keys and credentials this work creates and the accounts your infrastructure runs in are yours by contract, within the license of any third-party software involved. Keys that a custody platform or a staking provider holds under its own key model stay with it under your contract; every other custody key stays with you or the custodian you appoint. Where the scope places something on servers we rent, it says what moves to you and when. An NDA is available from your first message, and we sign a data processing agreement (DPA) together with it.
After launch
Delivery closes with a hypercare window and a defect warranty, with their terms written into the proposal. A service we operate continues under its written scope until that scope ends.
Access
Read-only by default. A role that can start requests only if your written scope names one; never a signer, approver, administrator, key holder or recovery role on your contracts, wallets or custody platform. Services we build call each platform on credentials your staff issue and keep in your vault. Anything that approves or moves funds runs in your environment, and a scope under which we operate a service lists every write call it makes. Where the scope has us operate nodes, validators, monitors, explorers or indexers, it names the role and any key we hold on those servers, and in your own cloud account you can remove it.
Licenses
Protofire is an engineering firm and holds no financial or crypto-asset license; licensed activity stays with you and your providers.

How we work shows a worked proposal.

When ERC-3643 or a Protofire build does not fit

ERC-3643 fits poorly where one transfer agent runs a simple whitelist, the chain is not EVM, or the market expects another standard.

  • You have one fund, one transfer agent and a need for maximum composability. That case points to a permissioned ERC-20 with an off-chain whitelist. Our token standards guide compares that design with ERC-3643 and ERC-1400.
  • The chain is not EVM, or your counterparties expect CMTAT. Tranches inside one token do not fit either. An ERC-3643 token is fungible, so each tranche is its own token.
  • You want issuance as a hosted service, such as Tokeny's T-REX Platform.
  • You need a transfer agent, registrar, KYC provider or a regulated status. Protofire holds no financial or crypto-asset license, so licensed activity remains with you and your providers. Protofire takes no agent, transfer agent or registrar seat and signs no KYC claim. Those seats go to firms you appoint.

FAQ

What is ERC-3643 development?
ERC-3643 development is the engineering of permissioned tokens on the ERC-3643 standard, also called T-REX. The work covers the token, each investor's ONCHAINID identity, registries of trusted claim issuers and required claims, rule modules and agent roles. Protofire builds these parts and deploys them from the issuer's keys. The reference code, release 4.1.3 of 12 June 2025, ships without ready rule modules.
Who can build an ERC-3643 token for a fund manager, a bank or a transfer agent?
Protofire builds the ERC-3643 token layer from the offering terms. For a fund manager, we build a token per share class with cap and lock-up modules. For a bank, we build a bond or note token with identities for its escrow and custody wallets. For a transfer agent, we build the agent role and the match between the token's holders and the register.
Does ERC-3643 make a token legally compliant, and is it covered by MiCA?
ERC-3643 does not make a token legally compliant on its own. The ERC3643 Association says no standard can do that alone (Association). The standard gives issuers and agents the controls to enforce rules that the law and their advisers set. MiCA excludes financial instruments from its scope (Article 2(4)(a), MiCA). ESMA's March 2025 guidelines say tokenization should not change how an instrument is classified.
Has the ERC-3643 code been audited, and does the audit cover our token?
The ERC-3643 code has been audited, but the audit covers your token only partly. Hacken audited T-REX v4 for Tokeny, and its report is dated 30 March 2023 (report). The audit scope included one ready rule module, CountryRestrictModule. More modules arrived in version 4.1 of November 2023. Tokeny says tokens created with compliance rules are not covered by its audit (Tokeny). So a custom module set needs its own audit.
Can we use Tokeny's ready rule modules in a commercial offering?
You can use Tokeny's ready rule modules commercially only after their license notice is cleared. Each module file in Tokeny's archived T-REX repository says it is also licensed under CC-BY-NC-4.0, "which prohibits commercial use" (example). The same files name Tokeny for commercial licensing.
Does the ERC-3643 agent need a registration or license?
An ERC-3643 agent sometimes needs a registration or license, depending on the market. The SEC's proposed transfer agent rules were published in the Federal Register on 4 September 2026 (SEC, Release 34-106246). The proposal describes a firm that "registers as a transfer agent because, for example, it engages in wallet whitelisting". Your counsel decides which role your agent holds.
What happens when an investor's KYC lapses?
A lapsed KYC check changes nothing until the provider acts. The reference claim issuer checks a claim's signature and revocation but does not check the claim's age. Once the provider revokes the claim, the investor can no longer receive the token. The investor can still send the token, so an agent freezes the wallet where the rules require it.

Get a proposal

Tell us what you are building. An engineer reads it, we have a short call, and the written proposal follows within one business day.

Luis MedeirosField CTO, reads every request · LinkedIn

A demo or repository link also works.