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.

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