SKIP TO CONTENT
TOKENIZATION6 minBuilding the RWA Chain · Episode 6

Token Identity on ERC-3643: What an ONCHAINID Proves

Your custody paperwork is perfect. But is the token in your wallet the one it describes, and who vouched for it?

Pixel-art night scene: a chain of five lantern-lit links ties a glowing gold coin on a hilltop to a stone vault in the valley. Each link carries a small seal, scroll or ledger. One link in the middle stays dark, and a figure holds a lantern up to it.

IN 30 SECONDS

A token’s ONCHAINID is an identity contract on the blockchain that holds claims about the token. On its own it proves little: what counts is a claim from an issuer you found independently, still valid and not revoked.

KEY TAKEAWAYS

· 3
  • In the reference implementation, a token’s ONCHAINID is set by the token owner. Claims on it count only when a claim issuer you know through a channel the owner doesn’t control signed them, and they aren’t revoked.
  • A valid claim proves a party you trust vouched for the token identity, not that an asset exists.
  • A short triage finds the missing link: no custody evidence, dated evidence, or a self-asserted identity. A complete chain lowers uncertainty for one date; it doesn’t certify a product.
On this page

What does a token’s ONCHAINID prove about its issuer?

IN SHORT A token’s ONCHAINID proves little by itself; a claim on it counts only when a claim issuer you already recognize signed it.

WORDS TO KNOW

ONCHAINID
An identity contract on the blockchain that holds claims about the person, company or token it represents.
Claim
A statement about an on-chain identity, stored on its ONCHAINID with an issuer, a topic, data and a signature. A self-issued claim skips the signature check.
Claim issuer
A party that signs claims about an on-chain identity. Its claims are evidence only if you trust it and found it independently of the token owner.

ERC-3643 gives a token its own identity: onchainID() returns the address set as the token’s ONCHAINID An identity contract on the blockchain that holds claims about the person, company or token it represents. See the glossary. People sometimes read that as proof of who issued the token. I built that identity layer, and on its own it isn’t enough.

In the reference implementation, only the owner can call setOnchainID. So whoever runs the token picks its identity. And on the identity contract, a self-issued Claim A statement about an on-chain identity, stored on its ONCHAINID with an issuer, a topic, data and a signature. A self-issued claim skips the signature check. See the glossary skips the signature check: it’s self-asserted.

STEP BY STEP

Flow diagram: 3 stepsFlow diagram: 3 steps. The token’s identity, then A claim from the issuer you expect. A claim from the issuer you expect, then The issuer confirms it’s valid.1The token’s identity2A claim from the issueryou expect3The issuer confirms it’svalid
In code, the token’s onchainID() function returns this address. The claim id is keccak256(abi.encode(issuer, topic)), so you look a claim up by its issuer. isClaimValid on the issuer’s ClaimIssuer contract.

Step 1. Read the identity. Take the token address from the offering documents, never from the token itself, and read the identity it points to.

Pick a step to see it move
  1. Read the identity Take the token address from the offering documents, never from the token itself, and read the identity it points to.
  2. Refused A self-issued claim doesn’t count, nor one whose issuer you found through the claim’s own pointer. An issuer contract you don’t trust can say “valid” without checking any signature.
  3. Find the expected claim Look up the claim by the issuer you already recognize and the claim topic you agreed with the issuer in writing.
  4. Ask the issuer Ask that issuer’s contract if the claim is valid. The answer is yes only if the signing key is still a claim or management key there, and the signature isn’t revoked.
My identity check in plain steps: three reads, no writes. Step 2 shows what doesn’t count.

Weight comes from a claim signed by a separate ClaimIssuer contract, a Claim issuer A party that signs claims about an on-chain identity. Its claims are evidence only if you trust it and found it independently of the token owner. See the glossary. And only if you already know its address from a channel the token owner doesn’t control.

IN PLAIN WORDS

A valid claim tells you a party you trust vouched for this token identity. It doesn’t tell you what that party checked: read its own terms for that.

WATCH OUT

ERC-3643 prescribes no claim topic for token identities: agree it in writing. The signature binds the identity, topic and data, not the claim’s pointer, which the identity’s keys can change. Check what it points to against the signed data, which may only be a hash of the evidence.

Coming up next: Identity is one link of the chain. Which one is usually missing?

IN SHORT Look for a gap before you look for a lie: a short triage helps you find which link is missing.

A gap can be a document nobody asked for, a date that doesn’t line up, or an identity nobody vouched for. This is the triage I’d run on whatever evidence I’ve been given.

WHICH LINK IS MISSING?
Decide: What can you actually document for this token?Decision tree: What can you actually document for this token? If Supply only, no custody statement or attestation, then Backing is undocumented. If Attestation exists, but its date or scope doesn’t cover today’s supply, then The evidence is dated or partial. If Holdings match, but the token identity is self-asserted, then You may be looking at a different token. If Every link documented and reconciled at one date, then Chain complete for that date.DECIDEWhat can you actuallydocument for this token?If supply only, no custodystatement or attestationBacking isundocumentedAsk for both beforeanything elseIf attestation exists, butits date or scope doesn’tcover today’s supplyThe evidence is datedor partialReconcile at theattestation date, then askwhat changed sinceIf holdings match, but thetoken identity isself-assertedYou may be looking ata different tokenConfirm the address on theissuer’s own channelIf every link documentedand reconciled at one dateChain complete forthat dateRepeat at the nextattestation
A triage for a custodial token, for gathering evidence, not a verdict. A complete chain lowers uncertainty; it doesn’t certify a product.

The third branch matters more than it looks.

Perfect custody paperwork doesn’t help if the token you’re holding isn’t the one it describes.

ITEM GET

Know the issuer first

A claim counts only if you found its issuer through a channel the token owner doesn’t control, and it’s valid and not revoked.

The next episode covers the attestation itself: what an independent firm checks, and whether a reserve feed can gate minting. The one after turns all of this into a read-only check you can run on a deployed token. That check also helps tell an issuer’s real token from a lookalike.

Sources: ERC-3643 specification (Final), T-REX Token.sol, ONCHAINID Identity.sol, ONCHAINID ClaimIssuer.sol.

FAQ

Very little on its own: in the reference implementation the owner sets it, and the identity’s keys can add self-issued claims with no signature check. What counts is a valid, unrevoked claim from an issuer you found through a channel the owner doesn’t control. Even that proves a vouch, not an asset.

PART COMPLETE

What you now know

  • Why a token’s ONCHAINID alone doesn’t prove who issued the token.
  • What makes a claim count: an issuer found independently, a valid signature, no revocation.
  • How to triage the evidence you have to find the missing link.

Check yourself

Tap or click a question to see the answer.

isClaimValid returns true for a claim on a token’s ONCHAINID. You took the claim issuer’s address from the document the claim’s own pointer leads to. Is that enough?

No. The pointer isn’t signed and the identity’s keys can change it, and an issuer contract you don’t trust can return true without checking any signature. Find the issuer’s address through a channel the token owner doesn’t control.

You finished every part published so far in this series. Back to the series page

Adam Boudjemaa
Adam Boudjemaa

Web3 x AI engineer, former CTO of Integra. Named author (1 of 5) of ERC-3643, first author of ERC-6960, co-author of ERC-7410, and co-author of ERC-8203, which is still a draft.

Have a project to ship or a role to fill?

Discuss your project or role

My work at the web3 x AI intersectionOpen-source tools I build

Follow the engineering notes

Get new articles on production AI and smart contracts by email.