⚠️ Work in Progress: This package is currently under active development.
A GraphQL client generator for the ChainGraph API, built with genql.
This package provides type-safe GraphQL operations for interacting with the ChainGraph API. It automatically generates TypeScript types and query builders based on the ChainGraph GraphQL schema.
npm install @chaingraph/genql
# or
yarn add @chaingraph/genql
# or
pnpm add @chaingraph/genql
# or
bun add @chaingraph/genqlimport { createClient } from '@chaingraph/genql'
const client = createClient({
// Configure your client options here
})
// Use the generated types and queriesTo generate the GraphQL client:
npm run gen
# or
yarn gen
# or
pnpm gen
# or
bun run genMIT