Hooks & Contexts
The custom hooks and contexts that power the app.
- Hook / Context — Purpose
- Web3Context / useWeb3 — Wallet connectivity, network changes, chain add prompts
- OrganizationContext — Active organisation and org type
- AuthContext — Session and current user
- useMinting / useRetirement — Trigger on-chain minting/retirement (with IPFS metadata)
- useSwapRouter / usePools — DEX swap and liquidity
- useEntitlement / useFeatureGate — Plan-based access gating