dflow-phantom-connectlisted
Install: claude install-skill internet-court/internet-court-skill
# Phantom Connect + DFlow Skill
## Instructions
### Step 1: Identify What the User Wants to Build
Determine the domain, then route to the right references.
**Wallet connection and Solana interactions:**
- Connecting a Phantom wallet (React, React Native, vanilla JS)
- Signing messages or transactions
- Token-gated access
- NFT minting
- Crypto payments
- Solana transfers (SOL or SPL tokens)
**DFlow trading & market data:**
- Spot token swaps (quote, sign, submit, confirm)
- Live prices, order-book depth, or priority-fee streaming
Many tasks combine both (for example, a swap UI needs wallet connection AND DFlow trading). Read all relevant references before writing code.
### Step 2: Read the Relevant References
**Phantom Connect SDKs** (wallet connection, signing, auth):
- `references/react-sdk.md`: React hooks, components, theming, PhantomProvider
- `references/react-native-sdk.md`: Expo config, polyfills, deep links, mobile auth
- `references/browser-sdk.md`: BrowserSDK init, events, wallet discovery, vanilla JS
**Solana patterns** (transactions, gating, minting, payments):
- `references/transactions.md`: SOL/SPL transfers, signing, fee estimation
- `references/token-gating.md`: client-side and server-side token-gated access
- `references/nft-minting.md`: mint pages, Metaplex Core, compressed NFTs
- `references/payments.md`: SOL/USDC payments, checkout with backend verification
**DFlow** (swaps, streaming):
- `references/dflow-crypto-trading.md`: spot swaps via