UNPKG

@macalinao/react-quarry

Version:

React hooks for Quarry

28 lines (19 loc) 826 B
# @macalinao/react-quarry React hooks for interacting with the Quarry protocol on Solana, built on top of `@macalinao/grill`. Documentation is pending. ## Installation ```bash npm install @macalinao/react-quarry @macalinao/grill # or yarn add @macalinao/react-quarry @macalinao/grill # or bun add @macalinao/react-quarry @macalinao/grill ``` ## Features - **Account Hooks**: Fetch and decode Quarry protocol accounts (Quarry, Miner, Rewarder, etc.) - **PDA Hooks**: Derive PDA addresses for Quarry protocol accounts - **Automatic Batching**: Leverages Grill's automatic account batching for efficient RPC usage - **TypeScript Support**: Fully typed with TypeScript - **React Query Integration**: Built-in caching and state management ## License Copyright (c) 2025 Ian Macalinao. Licensed under the Apache-2.0 License.