Commit 3333cb4
feat(statics): onboard txlm:TUSDC test token for XLM signing tests
Add the TUSDC test token (asset code TUSDC, issuer
GC26PEYGETD7L6PUW2VCU3PSC7LCLRRPOSUILSHD2RT23IQUEAN4TQBQ) to the
@bitgo/statics token registry as a testnet Stellar token.
The token uses the ALPHANUM12 encoding (5-char asset code) on Stellar
XDR, which is the exact type that the parent ticket (CSHLD-1407) adds
HSM firmware support for. Having this token registered in the SDK
allows end-to-end signing tests against a real testnet ALPHANUM12
asset without relying on the existing TST (ALPHANUM4) token.
Changes:
- modules/statics/src/base.ts: add
txlm:TUSDC-GC26PEYGETD7L6PUW2VCU3PSC7LCLRRPOSUILSHD2RT23IQUEAN4TQBQ
to the UnderlyingAsset enum (Stellar testnet tokens section)
- modules/statics/src/allCoinsAndTokens.ts: register the token via
tstellarToken() with 7 decimal places and domain bitgo.com
Ticket: CSHLD-1447
Session-Id: bb58b0aa-c314-4212-8901-e1cfc7a3c8db
Task-Id: 31db5ad2-ab59-4d9f-8c21-6acc91a05c081 parent be532f1 commit 3333cb4
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6424 | 6424 | | |
6425 | 6425 | | |
6426 | 6426 | | |
| 6427 | + | |
| 6428 | + | |
| 6429 | + | |
| 6430 | + | |
| 6431 | + | |
| 6432 | + | |
| 6433 | + | |
| 6434 | + | |
| 6435 | + | |
| 6436 | + | |
| 6437 | + | |
6427 | 6438 | | |
6428 | 6439 | | |
6429 | 6440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2963 | 2963 | | |
2964 | 2964 | | |
2965 | 2965 | | |
| 2966 | + | |
2966 | 2967 | | |
2967 | 2968 | | |
2968 | 2969 | | |
| |||
0 commit comments