Skip to main content
Distribute shares to multiple holders in one all-or-nothing transaction with B20 Asset’s batchMint. Every recipient must pass the token’s mint-receiver policy, and the combined issuance must stay below its supply cap.
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.

Issue and verify the shares

See the complete verified B20 examples for imports, client construction, and runnable projects.
Alice holds 600 EXM and Bob holds 400 EXM after the all-or-nothing batch.
The entire batch reverts if lengths differ, a recipient fails policy, or total supply would exceed the cap.

See also