Skip to main content
Use the B20 Asset variant to represent a class of tokenized shares with configurable precision, issuer roles, supply controls, and metadata. This example creates Example Corp Class A (EXM) with six decimals.
Real-world asset (RWA) tokenization is one of many use cases for the B20 Asset standard. The examples on this page use a stock token for illustration; the same flows apply to other asset types.Coinbase tokenized equities are only available to persons in eligible jurisdictions outside of the U.S.Tokenized securities examples shown for illustration. Base is a general-purpose blockchain; issuance and compliance are the responsibility of the issuer under applicable law.

Demo

New to B20? See the B20 Token Standard for the concepts and a full launch walkthrough. These samples target base-std@v1.0.0, viem@2.55.11, and Base Foundry v1.1.1.

Create and verify the stock token

See the complete verified B20 examples for imports, client construction, and runnable projects.
The factory emits B20Created for the Asset variant and returns the deterministic token address.
The supply cap is a technical ceiling, not a representation of authorized or outstanding shares.

See also