Skip to content

feat: SPL token display and send support#19

Merged
BitHighlander merged 2 commits intodevelopfrom
feature/spl-token-support
Mar 15, 2026
Merged

feat: SPL token display and send support#19
BitHighlander merged 2 commits intodevelopfrom
feature/spl-token-support

Conversation

@BitHighlander
Copy link
Collaborator

Summary

  • Fix token visibility: case-insensitive CAIP networkId matching (Pioneer returns lowercase, pioneer-caip uses mixed case) — was silently dropping all Solana SPL tokens
  • Fix SendForm: isTokenSend now recognizes /token:, /spl:, /trc20: CAIP patterns (was erc20-only)
  • Add SPL token transfer path in txbuilder — routes to Pioneer's new build-transfer-token endpoint
  • Handle MAX send for SPL tokens using frontend-provided tokenBalance

Dependencies

Test plan

  • Verify SPL tokens (USDC, etc.) appear under Solana chain after balance refresh
  • Click SPL token → verify send form shows token symbol/balance (not SOL)
  • Build SPL token transfer → verify Pioneer endpoint called with correct mint + amount
  • Sign on device → broadcast → verify txid returned
  • Test MAX send for SPL token
  • Verify native SOL send still works (regression)
  • Verify EVM token sends still work (regression)

- Fix case-insensitive networkId lookup (Pioneer returns lowercase CAIP hashes)
- Broaden contract address regex to match spl:/token:/trc20: (was erc20-only)
- Fix isTokenSend in SendForm to recognize SPL/TRC20 token CAIPs
- Add SPL token build path in txbuilder routing to Pioneer build-transfer-token
- Handle MAX send for SPL tokens using frontend tokenBalance
- Add Pioneer server CRUD (SQLite table, RPC methods, settings UI support)
- Refine spam filter: $5 value floor, only auto-hide confirmed spam,
  lower dust threshold from $1 to $0.01, remove false-positive rule
- Disable spam filter in Dashboard/AssetPage (was hiding legitimate tokens)
- Add forceRefresh to all GetPortfolioBalances calls
- Add BIP-85 enabled flag to AppSettings
@BitHighlander BitHighlander merged commit 5deb3b8 into develop Mar 15, 2026
2 checks passed
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