Commit 4625faa
feat: add Solana Wallet Standard support
Integrate Solana via Wallet Standard protocol — no window.solana
(avoids Phantom conflicts). Signs transactions through vault v11
REST API and broadcasts client-side via Solana JSON-RPC.
New files:
- solanaHandler.ts: background handler matching vault v11 endpoints
- solana-wallet-standard.ts: KeepKeySolanaWallet class (5 features)
- solana-wallet-register.ts: wallet-standard event registration
Modified:
- injected.ts: register Solana wallet, bump version, 5min timeout
- methods.ts: route 'solana' chain to handler
- types.ts: add 'solana' to ChainType union
- content/index.ts: 5min timeout for hardware signing
- Transaction.tsx: handle 'solana' chain type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 73f3b1d commit 4625faa
11 files changed
Lines changed: 852 additions & 160 deletions
File tree
- chrome-extension
- public
- src
- background
- chains
- injected
- pages
- content/src
- popup/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
0 commit comments