feat(statics): add TestToken on sol token definitions#9327
Draft
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
Draft
feat(statics): add TestToken on sol token definitions#9327bitgo-ai-agent-dev[bot] wants to merge 1 commit into
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
Conversation
Add TestToken (Symbol: TEST) on Solana testnet to @bitgo/statics. Token uses the Token2022 program and has both an on-chain testnet entry and an OFC entry. Changes: - base.ts: add UnderlyingAsset enum entries for 'tsol:test' (testnet) and 'sol:test' (mainnet, required for OFC reference) - coins/solTokens.ts: add tsolToken() with Token2022ProgramId, UUID 430b6729-cdc8-48b7-9afc-7f5885657029, contract address So11111111111111111111111111111111111111117, 9 decimals - coins/ofcCoins.ts: add ofcsolToken() with UUID 846a4d93-9688-4059-88a4-f4ecba43cf8f referencing sol:test Ticket: SCAAS-10518 Session-Id: 3204ab6c-43bb-45c6-95e3-8506852c9094 Task-Id: 9d08caab-b8f4-49f4-a5cd-d96f76a66f45
Contributor
Author
|
@claude please review this PR |
bitgo-ai-agent-dev
Bot
force-pushed
the
feat/SCAAS-10518-sdk-token-add
branch
from
July 22, 2026 12:22
b85f5ca to
935ccf6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
'tsol:test'and'sol:test'to theUnderlyingAssetenum inbase.tstsolToken()call incoins/solTokens.tswith Token2022 program, UUID430b6729-cdc8-48b7-9afc-7f5885657029, contract addressSo11111111111111111111111111111111111111117, 9 decimalsofcsolToken()call incoins/ofcCoins.tswith UUID846a4d93-9688-4059-88a4-f4ecba43cf8freferencingsol:testWhy
@bitgo/staticspackage so the SDK recognises the token on Solana testnet and OFC. This is part of the dry-run / automation validation for the token onboarding flow (parent ticket SCAAS-10518). The token uses the Token2022 program.Decision log
sol:testmainnet entry — The OFC entry referencesUnderlyingAsset['sol:test'](mainnet asset key) rather than the testnettsol:test. No mainnetsol:testentry existed, so it was added alongside the testnet entry. This matches the pattern used bysol:gousd/tsol:gousdand other tokens with OFC support.Insertion position in
base.ts—tsol:testis inserted aftertsol:ttkb(end of the tsol block near other test tokens);sol:testis inserted aftersol:bils(end of the recent sol additions block). Both follow existing grouping conventions rather than strict alphabetical order across the whole file, matching how other recent token entries are placed.Trailing commas — Added trailing commas on the last argument of the new
tsolToken()andofcsolToken()calls to match the style of the surrounding entries.Test plan
tsc --noEmit) passes with no errors onmodules/statics'tsol:test'confirmed absent before change (grepfound no prior entry)'sol:test'confirmed absent before changebase.ts,coins/solTokens.ts,coins/ofcCoins.tsOut of scope
None identified.
Ticket: SCAAS-10518