Understanding the organization of Solana App Kit
components
directory contains all reusable UI components, organized by feature or functionality:
thread/
- Social feed componentswallet/
- Wallet and transaction componentstokenMill/
- Token creation and management componentspumpfun/
- Token trading componentshooks
directory contains custom React hooks that provide reusable logic:
useAuth
- Authentication and user managementuseFetchNFTs
- NFT data fetchingusePumpFun
- Token trading functionalityuseTradeTransaction
- Transaction handlinguseAppNavigation
- Navigation utilitiesservices
directory contains modules for interacting with external APIs and blockchain:
pumpfun/
- Services for token tradingtokenMill/
- Services for token creation and managementwalletProviders/
- Wallet connection services (Privy, Dynamic, Turnkey)screens
directory contains full application screens that combine components:
Common/
- Shared screens like login, search, etc.SampleUI/
- Example UI implementations
Chat/
- Messaging UIThreads/
- Social feed UIstate
directory contains Redux state management:
auth/
- Authentication statethread/
- Social feed statetransaction/
- Transaction statestore.ts
- Redux store configurationCustomizationProvider