STABLECOIN variant. Decimals are fixed at 6, and the token carries an immutable ISO currency code.
Demo
Create it
Encode the params withB20FactoryLib, 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
- Mint supply · Restrict who can hold it
- Stablecoin variant in the B20 standard