From 0c69ff1ad20f3c714aa83c7fb7392ec20523d646 Mon Sep 17 00:00:00 2001 From: Bhavi Dhingra Date: Mon, 2 Nov 2026 20:58:42 +0530 Subject: [PATCH] feat(statics): add tsol:cttest devnet CT test mint (CHALO-2025) Adds a test-only Solana Token-2022 token whose devnet mint (Ai1kEjbXhD31NxkYfjCpDgfHNVSYqkQcfYSGAwXidoxU) carries the ConfidentialTransferMint extension with autoApproveNewAccounts = true. Every other CT-capable tsol mint registered here (tsol:gousd, tsol:stggousd, tsol:sofid, tsol:stgsofid, tsol:gospcx, tsol:stggospcx) has that flag off and a confidential-transfer authority held by the token issuer, so a newly configured confidential account cannot receive anything until the issuer approves it. That blocks the Solana CT indexer end-to-end proof (deposit -> KMS decrypt -> transfer document -> ATA reconcile), because the approval cannot be obtained from BitGo side. This mint was created from the sandbox (sol/confidentialTransfers/extA_createMint .mjs) with a sandbox-held mint authority and no other extensions: decimals 6, no freeze authority, no transfer fee, no transfer hook. That makes an incoming transfer take the plain ConfidentialTransfer path and removes every issuer gate, so the proof exercises only the BitGo CT pipeline. Testnet only. Follow-up: delete this entry once the CT test mints exist in a proper environment. Refs: CHALO-2025 --- modules/statics/src/base.ts | 1 + modules/statics/src/coins/solTokens.ts | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index ee2d41cad26..d4502bc08c3 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -1286,6 +1286,7 @@ export enum UnderlyingAsset { 'sol:gousd' = 'sol:gousd', 'tsol:gousd' = 'tsol:gousd', 'tsol:stggousd' = 'tsol:stggousd', + 'tsol:cttest' = 'tsol:cttest', 'sol:usdm1' = 'sol:usdm1', 'tsol:slnd' = 'tsol:slnd', 'tsol:orca' = 'tsol:orca', diff --git a/modules/statics/src/coins/solTokens.ts b/modules/statics/src/coins/solTokens.ts index c2cc059001e..b156ac90d72 100644 --- a/modules/statics/src/coins/solTokens.ts +++ b/modules/statics/src/coins/solTokens.ts @@ -4500,4 +4500,15 @@ export const solTokens = [ [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), + tsolToken( + 'a1be8cfa-b772-42f4-9c6a-9f8326d3b384', + 'tsol:cttest', + 'Test Confidential Token', + 6, + 'Ai1kEjbXhD31NxkYfjCpDgfHNVSYqkQcfYSGAwXidoxU', // sandbox devnet mint, ConfidentialTransferMint auto-approve ON + 'Ai1kEjbXhD31NxkYfjCpDgfHNVSYqkQcfYSGAwXidoxU', + UnderlyingAsset['tsol:cttest'], + SOL_TOKEN_FEATURES, + ProgramID.Token2022ProgramId + ), ];