Skip to main content
Create a fiat-backed token with one call to the B20 Factory, using the STABLECOIN variant. Decimals are fixed at 6, and the token carries an immutable ISO currency code.

Demo

Create it

Encode the params with B20FactoryLib, then call createB20. Grant the minter role in the same transaction with initCalls:
script/CreateStablecoin.s.sol
For toolchain, project, and network setup, complete the Launch a B20 token quickstart first — it’s identical for both variants.

See also