Skip to content

fix(liquid): add Liquid Testnet USDt to known assets - #123

Open
bitwalt wants to merge 1 commit into
mainfrom
fix/liquid-testnet-usdt-known-asset
Open

bitwalt wants to merge 1 commit into
mainfrom
fix/liquid-testnet-usdt-known-asset

Conversation

@bitwalt

@bitwalt bitwalt commented Oct 17, 2026

Copy link
Copy Markdown
Member

On Liquid Testnet the USDt asset was missing from the Liquid adapter's known-asset table, so listAssets showed it with a truncated-id ticker (b612eb), the generic "Liquid asset" name and default precision. Consumers that group assets by ticker could not match it to USDt on other networks.

  • New LIQUID_TESTNET_USDT_ASSET_ID (b612eb46…9d73, "PEGx USDt Testnet") next to LIQUID_USDT_ASSET_ID, exported from the root and the wdk barrel.
  • KNOWN_ASSETS maps it to ticker USDt, name Tether USD, precision 8, used by listAssets, getAssetBalance and transaction history.
  • Unit test covering both listAssets and getAssetBalance for the testnet id.

Checks: tsc --noEmit, vitest run (145 files, after npm run build), check:audit-index.

On Liquid Testnet the USDt asset was unknown to the adapter, so listAssets
showed its first 6 hex chars as the ticker with default name and precision.
Add LIQUID_TESTNET_USDT_ASSET_ID next to the mainnet id and label it USDt /
Tether USD / precision 8.
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