add agent docs for wallets

This commit is contained in:
lemonknowsall committed 2025-11-03 20:55:03 -08:00
1 parent 47492df00e
commit 8cf5391817
10 files changed
+1258 -783

No files matched your search

+7 -3
View File
@@ -35,9 +35,9 @@ This project is a Nostr client application built with React 18.x, TailwindCSS 3.
- `useLoginActions`: Authentication actions
- `useIsMobile`: Responsive design helper
- `useZaps`: Lightning zap functionality with Cashu integration and payment processing
- **Cashu hooks**: `useCashu` (core wallet management), `useMintManager` (mint operations), `useWalletTransactions` (send/receive), `useHistoryManager` (transaction history)
- **Bitcoin hooks**: `useBitcoinBalance` (UTXO tracking), `useNsecAccess` (private key access for signing)
- **Integration hooks**: `useNpubCash` (npub.cash API), `useLightningAddress` (Lightning address validation), `useWallet` (unified wallet detection), `useNWC` (Nostr Wallet Connect), `useNWCContext` (NWC context provider)
- **Cashu hooks**: `useCashu` (core wallet management), `useMintManager` (mint operations), `useWalletTransactions` (send/receive), `useHistoryManager` (transaction history) - See **`docs/CASHU_WALLET.md`** for comprehensive implementation guide
- **Bitcoin hooks**: `useBitcoinBalance` (UTXO tracking), `useNsecAccess` (private key access for signing) - See **`docs/BITCOIN_WALLET.md`** for Bitcoin wallet architecture and operations
- **Integration hooks**: `useNpubCash` (npub.cash API), `useLightningAddress` (Lightning address validation), `useWallet` (unified wallet detection), `useNWC` (Nostr Wallet Connect), `useNWCContext` (NWC context provider) - See **`docs/CASHU_WALLET.md`** for integration patterns
- `useShakespeare`: AI chat completions with Shakespeare AI API
- `/src/pages/`: Page components used by React Router (Index, NotFound)
- `/src/lib/`: Utility functions and shared logic
@@ -114,6 +114,10 @@ The project includes a **`docs/`** directory containing specialized documentatio
- **`docs/NOSTR_DIRECT_MESSAGES.md`**: Read when implementing direct messaging features, building chat interfaces, or working with encrypted peer-to-peer communication (NIP-04 and NIP-17).
- **`docs/CASHU_WALLET.md`**: Read when implementing Cashu/eCash wallet features, Lightning payments, mint management, token operations, or working with the coco-cashu-core library. This guide covers architecture, component structure, hook patterns, and best practices for the Cashu wallet system.
- **`docs/BITCOIN_WALLET.md`**: Read when implementing on-chain Bitcoin wallet features, UTXO management, Bitcoin transactions, consolidation, or working with Bitcoin addresses derived from Nostr pubkeys. This guide covers the Bitcoin wallet architecture, transaction flows, and integration patterns.
## System Prompt Management
The AI assistant's behavior and knowledge is defined by the AGENTS.md file, which serves as the system prompt. To modify the assistant's instructions or add new project-specific guidelines: