You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,28 +23,50 @@
23
23
</p>
24
24
25
25
<palign="center">
26
-
Framework for Solana dApps: evolving multi-framework client core (React-first today) that orchestrates wallets, transactions, and reactive freshness-aware data flows out of the box.
26
+
React hooks for Solana. Connect wallets, fetch balances, and send transactions with minimal setup.
27
27
</p>
28
28
29
+
## Why Framework-kit?
30
+
31
+
Building Solana dApps usually means wiring together RPC connections, wallet adapters, and state management yourself. Framework-kit handles this for you:
32
+
33
+
-**One provider, many hooks** — Wrap your app once with `SolanaProvider`, then use hooks anywhere
34
+
-**Wallet connection built-in** — `useWalletConnection` handles discovery, connection, and disconnection
35
+
-**Automatic data refresh** — Balances and account data stay in sync without manual refetching
36
+
-**Common operations simplified** — `useSolTransfer`, `useSplToken`, and `useTransactionPool` for transfers and custom transactions
37
+
-**TypeScript-first** — Full type inference out of the box
38
+
29
39
## Packages
30
40
31
-
-[`@solana/client`](packages/client/README.md) – headless Solana client with transaction helpers, moniker-based endpoint helpers, and wallet orchestration.
32
-
-[`@solana/react-hooks`](packages/react-hooks/README.md) – React bindings, providers, and UI helpers powered by the client.
41
+
-[`@solana/client`](packages/client/README.md) – Core library for wallet connection, transactions, and RPC. Works with any framework or standalone.
42
+
-[`@solana/react-hooks`](packages/react-hooks/README.md) – React hooks and provider. Wrap your app once, then use hooks like `useBalance` and `useSolTransfer`.
33
43
34
-
## Example
35
-
-[`@solana/example-vite-react`](examples/vite-react/README.md) – Vite/Tailwind demo showcasing the hooks in action.
44
+
## Examples
45
+
-[`@solana/example-vite-react`](examples/vite-react/README.md) – Vite + Tailwind demo
Add this to your main App file (e.g., `App.tsx`). You'll need a Solana wallet extension like [Phantom](https://phantom.app/) installed in your browser.
0 commit comments