Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 463 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 463 Bytes

juice-hooks

Wagmi hooks for Juicebox.

Install

npm install juice-hooks

Usage

import { useJbProjectsOwnerOf } from "juice-hooks";


export function MyComponent() {
  const { data } = useJbProjectsOwnerOf({
    args: [1],
  });
  

  return <div>Owner: {data}</div>;
}

Dev

  1. install deps

    npm install
    
  2. Generate hooks

    npm run generate