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.

Demo

Complete Launch a B20 token first. 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