Bug Description
In two documentation files, the issueAssetNia() code examples have the ticker and name fields reversed. The ticker field should contain a short symbol (e.g. 'USDT'), but it is set to a full name ('USD Token'), and vice versa for name.
Affected Files
product-suite/untitled-page.mdx (line 226)
getting-started/editor/sdk/utexo-sdk.mdx (line 211)
Current (Incorrect)
const asset = await wallet.issueAssetNia({
ticker: 'USD Token', // ← should be short symbol
name: 'USDT', // ← should be full name
amounts: [1000, 500],
precision: 6
});
Expected (Correct)
const asset = await wallet.issueAssetNia({
ticker: 'USDT',
name: 'USD Token',
amounts: [1000, 500],
precision: 6
});
Evidence
Five other files in the same repository use the correct field order, confirming this is a bug and not an intentional convention:
| File |
ticker value |
name value |
Correct? |
sdk/wdk-wallet-rgb.mdx:71 |
'MYTOKEN' |
'My Token' |
✅ |
sdk/react-native-sdk.mdx:355 |
'DEMO' |
'Demo Token' |
✅ |
sdk/web-sdk.mdx:140 |
'MYTOKEN' |
'My Token' |
✅ |
sdk/wdk-wallet-rgb.mdx:198 |
'USDT' |
'Test USDT' |
✅ |
sdk/rgb-sdk.mdx:248 |
'USDT' |
'Tether USD' |
✅ |
Impact
Developers copying the example will create assets with a verbose ticker and a cryptic name, which may break UI rendering or downstream tooling that expects a short ticker symbol.
Bug Description
In two documentation files, the
issueAssetNia()code examples have thetickerandnamefields reversed. Thetickerfield should contain a short symbol (e.g.'USDT'), but it is set to a full name ('USD Token'), and vice versa forname.Affected Files
product-suite/untitled-page.mdx(line 226)getting-started/editor/sdk/utexo-sdk.mdx(line 211)Current (Incorrect)
Expected (Correct)
Evidence
Five other files in the same repository use the correct field order, confirming this is a bug and not an intentional convention:
tickervaluenamevaluesdk/wdk-wallet-rgb.mdx:71'MYTOKEN''My Token'sdk/react-native-sdk.mdx:355'DEMO''Demo Token'sdk/web-sdk.mdx:140'MYTOKEN''My Token'sdk/wdk-wallet-rgb.mdx:198'USDT''Test USDT'sdk/rgb-sdk.mdx:248'USDT''Tether USD'Impact
Developers copying the example will create assets with a verbose ticker and a cryptic name, which may break UI rendering or downstream tooling that expects a short ticker symbol.