2 min read Updated

How to create a stablecoin

A DAppCrypto stablecoin (Stable token) is pegged to a parent token at a fixed price. For example, you can create MYUSD where 1 MYUSD = 1 USDT.

How it works:

  • At creation the supply is 0.
  • A buyer sends the parent token to the stablecoin contract and receives newly minted stablecoins at the fixed price.
  • On sale the stablecoins are burned and the seller gets the parent token back.
  • The parent token stays on the stablecoin contract, so the backing is always 100%.

Buying and selling happen on the swap page — see how to buy or sell a stablecoin.

Launch your own stablecoinFixed price, full on-chain backing, optional buy and sell taxes.

Create a stablecoin

Before you start

  • A wallet with the native coin for the service fee and gas.
  • The contract address of the parent token on the chosen network (for example USDT). Take it from the explorer or the token's official source.
  • Name and symbol of your stablecoin.

Step-by-step

  1. Open the token creator

    Go to dappcrypto.github.io/?dpage=CreateToken.

  2. Connect your wallet and choose a network

    Stablecoins are available on networks with factory version 3:

    • Ethereum gas in ETH
    • BNB Smart Chain gas in BNB
    • Arbitrum gas in ETH
    • Base gas in ETH
    • Polygon gas in POL
    • Optimism gas in ETH
    • BNB Smart Chain Testnet testnet · gas in tBNB
  3. Fill in the "Token data" tab

    • Token name — up to 64 characters, e.g. My USD.
    • Token symbol — up to 16 characters, e.g. MYUSD.
    • Token decimals — 1 to 18, usually 18.
    • Turn on Create a stable token. The supply field disappears: the initial supply is 0.
    • Parent token address — the parent token. Its name, symbol and decimals appear under the field. A wrong address shows Invalid address or Parent token not found.
    • Stable token price — the price of one stablecoin in the parent token, e.g. 1.
  4. Check the rate and add a description

    In Summary check the rate both ways: 1 $MYUSD = … and 1 $USDT = …. The Description tab (logo, website, socials) is optional.

  5. Confirm the transaction

    Click Create Token and confirm. The service fee is paid in the native coin in the same transaction; no approve is needed.

  6. Check the result

    The token page opens with a Stable token block (parent token and rate), a Swap stable token button and, for the owner, a Tax manager block.

Smart contracts

Token factory (MultiTokens)

Creates simple, tax and stable tokens, stores token descriptions and pays partner rewards.

Stable token template

Template contract the factory clones for every 100% backed stablecoin.

Tips and common errors

  • The price and the parent token cannot be changed after creation.
  • Stable token price error — the price is too small or too large for the chosen decimals and rounds to zero. Change the price or decimals.
  • The price is fixed against the parent token, not the US dollar. If the parent token loses its peg, so does your stablecoin.
  • Fantom Opera uses an older factory: stablecoins are not available there.
  • The owner can set buy and sell taxes on the token page — see token taxes.