Skip to content

feat: add ChainFamily types and extend wallet identity model per en-o8w#9

Merged
linuxninja39 merged 2 commits into
mainfrom
polecat/furiosa/da-ni71@mm28oz3p
Feb 25, 2026
Merged

feat: add ChainFamily types and extend wallet identity model per en-o8w#9
linuxninja39 merged 2 commits into
mainfrom
polecat/furiosa/da-ni71@mm28oz3p

Conversation

@linuxninja39
Copy link
Copy Markdown
Contributor

Summary

  • Add ChainFamily enum (evm, solana, sui, bitcoin, cosmos, aptos)
  • Add Caip2ChainId string type
  • Extend WalletConnection with supportedChainFamilies field
  • Extend ConnectedAccount with chainFamily field
  • Extend AccountId format to {connectionId}:{chainFamily}:{address}
  • Extend WatchAddress with chainFamily field
  • Extend IntegrationSource with SUI, BITCOIN, COSMOS, APTOS

Implements enterprise directive en-o8w (multi-chain wallet unification).
Follows TDD: tests written first (red), implementation second (green).

Resolves da-ni71

Test plan

  • ChainFamily enum tests pass
  • Wallet identity model extension tests pass
  • Build passes

linuxninja39 and others added 2 commits February 25, 2026 09:35
…ensions (red phase)

Tests for en-o8w directive: ChainFamily enum, Caip2ChainId type,
extended WalletConnection/ConnectedAccount/WatchAddress/TrackedAddress/AddressRequest
with chainFamily field, and IntegrationSource extensions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New types:
- ChainFamily enum (evm, solana, sui, bitcoin, cosmos, aptos)
- Caip2ChainId string type for WalletConnect v2 interop

Extended types:
- WalletConnection: supportedChainFamilies field
- ConnectedAccount: chainFamily field
- WatchAddress: chainFamily field
- TrackedAddress: chainFamily field for integration routing
- AddressRequest: chainFamily field for routing
- AccountId: format extended to {connectionId}:{chainFamily}:{address}
- IntegrationSource: added SUI, BITCOIN, COSMOS, APTOS members

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linuxninja39 linuxninja39 deleted the polecat/furiosa/da-ni71@mm28oz3p branch February 25, 2026 17:33
@linuxninja39 linuxninja39 restored the polecat/furiosa/da-ni71@mm28oz3p branch February 25, 2026 17:34
@linuxninja39 linuxninja39 reopened this Feb 25, 2026
@linuxninja39 linuxninja39 merged commit f6bc337 into main Feb 25, 2026
2 of 4 checks passed
@linuxninja39 linuxninja39 deleted the polecat/furiosa/da-ni71@mm28oz3p branch February 25, 2026 17:38
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