Implement and maintain deterministic Playwright Solana wallet simulation (Phantom-shaped window.solana / window.phantom.solana) for tests/wallet-mock. Use when editing wallet mocks or validating simulation guardrails.
Follow AGENTS.md as source of truth. This skill focuses on simulation consistency for Solana browser wallets.
tests/wallet-mock/window.phantom?.solana ?? window.solana used by many apps (e.g. @solana/wallet-adapter Phantom adapter).mockSolanaWallet.ts and assertions accordingly.page.addInitScript).MOCK_SOLANA_PUBLIC_KEY_BASE58mockSolanaWallet.tspublicKey, and noop/stub signTransaction / signAllTransactions as needed for stubs.npm run test:wallet-mock + npm run lint + npm run typecheck.mockSolanaWallet.ts if the app’s expected provider surface changes.@wallet-mock tagged specs under tests/wallet-mock/.npm run test:wallet-mock.