Skip to content

docs: add currency field guidance for non-vanilla stablecoins and crypto-native assets#367

Open
decofe wants to merge 2 commits intomainfrom
docs/currency-field-guidance
Open

docs: add currency field guidance for non-vanilla stablecoins and crypto-native assets#367
decofe wants to merge 2 commits intomainfrom
docs/currency-field-guidance

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented May 1, 2026

Problem

The currency field on TIP-20 tokens is immutable after deployment. Asset issuers are repeatedly misconfiguring it for non-vanilla stablecoins (sUSDe, BUIDL, USDs) and crypto-native assets (cbBTC, WETH) — 5+ issuers have had to redeploy their tokens due to this mistake.

Changes

Adds prominent :::danger callouts with concrete examples across the three docs pages asset issuers encounter:

  1. protocol/tip20/overview.mdx (Currency Declaration section) — full examples table covering yield-bearing stables, tokenized treasuries, and crypto-native assets with correct vs incorrect currency values and a rule-of-thumb.
  2. protocol/tip20/spec.mdx (Currencies and Quote Tokens section) — concise danger callout with bullet guidance for each asset category.
  3. guide/issuance/create-a-stablecoin.mdx — upgraded the existing warning to a danger callout with explicit yield-bearing and crypto-native examples, plus a link back to the full reference.

Key guidance

  • Yield-bearing USD tokens (sUSDe, BUIDL, USDs): currency: "USD" — yield mechanics don't change the denomination
  • Crypto-native assets (cbBTC, WETH, stETH): use base asset code ("BTC", "ETH") — not "USD"
  • Never use the token symbol as the currency value

cc @samczsun

…native assets

Add prominent warnings across three docs pages explaining how to set the
currency field for yield-bearing stablecoins (sUSDe, BUIDL, USDs) and
crypto-native assets (cbBTC, WETH). This is the most common deployment
mistake — 5+ issuers have had to redeploy tokens due to incorrect values.

Changes:
- protocol/tip20/overview.mdx: new danger callout with examples table
- protocol/tip20/spec.mdx: danger callout in Currencies and Quote Tokens
- guide/issuance/create-a-stablecoin.mdx: upgraded warning to danger with
  explicit yield-bearing and crypto-native examples

Amp-Thread-ID: https://ampcode.com/threads/T-019de3a3-77f7-7532-9e5a-da789d870d1c
Co-authored-by: Amp <amp@ampcode.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment May 2, 2026 6:09pm

Request Review

…er as currency

Per feedback — sUSDe, BUIDL, USDs, cbBTC, WETH etc. should all use their
own ticker as the currency field, not ISO 4217 codes. Only vanilla 1:1
fiat-pegged stablecoins use ISO codes.

Amp-Thread-ID: https://ampcode.com/threads/T-019de3a3-77f7-7532-9e5a-da789d870d1c
Co-authored-by: Amp <amp@ampcode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant