B20Deployer
← Blog

How to Create a Stablecoin on Base

·4 min read

B20's STABLECOIN variant is purpose-built for fiat-pegged tokens. It locks in 6 decimals and a permanent currency code at creation — the same standard USDC and USDT follow — so wallets, DEXes, and payment apps can trust the token's identity forever.

What makes STABLECOIN different from ASSET?

Both B20 variants share the same core features: roles, supply caps, pausing, memos, permit. The key differences in STABLECOIN:

  • Fixed 6 decimals — set at creation, can never be changed. This matches USD-denominated stablecoins like USDC.
  • Permanent currency code — a 3-letter ISO code (e.g. USD, EUR, GBP) embedded at creation. Immutable after deploy.
  • No decimal configuration — you do not choose decimals; 6 is always the value.

These constraints exist by design. Integrators building payment flows can rely on the decimal count and currency identity without querying the contract.

What currency codes can I use?

Any 3-letter uppercase string — but meaningful choices follow ISO 4217: USD, EUR, GBP, JPY, SGD, etc. Choose the currency your stablecoin is pegged to. This code is permanently associated with the token contract, so choose carefully.

Who should use STABLECOIN?

  • Businesses issuing their own USD or EUR-backed tokens
  • Projects building payment rails on Base that need a house stablecoin
  • Developers testing stablecoin payment flows before integrating with USDC
  • Protocols that need a currency-tagged token for accounting purposes

How to deploy a stablecoin on Base

  1. Go to deployb20.xyz and connect your wallet.
  2. Select STABLECOIN as the variant.
  3. Enter your token name (e.g. My Dollar) and symbol (e.g. MUSD).
  4. Enter your currency code — e.g. USD. This is permanent.
  5. Decide whether to grant yourself MINT_ROLE immediately (recommended) and set a supply cap if needed.
  6. Click Deploy B20 Token and confirm in your wallet.

After deployment, switch to the Mint tab to issue your first tokens.

Important: the peg is your responsibility

B20 STABLECOIN gives you the token infrastructure — it does not manage the peg. Maintaining a 1:1 backing with real assets, setting up redemption mechanisms, and complying with relevant regulations are entirely up to you. The STABLECOIN variant is the technical foundation; the economic model is yours to build.

Sending stablecoin payments with memos

B20 stablecoins support transferWithMemo — attach a 32-byte reference to any payment. This is useful for matching payments to invoices or orders without a centralised backend. Use the Payment tab on deployb20.xyz to try it.

Deploy your stablecoin on Base now.

Deploy a B20 Stablecoin →