
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@josefleventon/graz
Advanced tools
graz-interchain
adds multiple chain support for graz
.
graz
is a collection of React hooks containing everything you need to start working with the Cosmos ecosystem.
ChainInfo
from chain registry@tanstack/react-query
and zustand
graz
requires react@>=17
due to using function components and hooks and the new JSX transform.
Install graz
using npm, yarn, or pnpm:
# using npm
npm install graz
# using yarn
yarn add graz
# using pnpm
pnpm add graz
Wrap your React app with <GrazProvider />
and use available graz
hooks anywhere:
import { GrazProvider, mainnetChains } from "graz";
function App() {
return (
<GrazProvider
// optional
grazOptions={{
defaultChain: mainnetChains.cosmos,
}}
>
<Wallet />
</GrazProvider>
);
}
import { mainnetChains, useAccount, useConnect, useDisconnect } from "graz";
function Wallet() {
const { connect, status } = useConnect();
const { data: account, isConnected } = useAccount();
const { disconnect } = useDisconnect();
function handleConnect() {
return isConnected ? disconnect() : connect();
}
return (
<div>
{account ? `Connected to ${account.bech32Address}` : status}
<button onClick={handleConnect}>{isConnected ? "Disconnect" : "Connect"}</button>
</div>
);
}
graz
uses various dependencies such as @cosmjs/cosmwasm-stargate
and @keplr-wallet/types
.
Rather than importing those packages directly, you can import from graz/dist/cosmjs
and graz/dist/keplr
which re-exports all respective dependencies:
- import type { CosmWasmClient } from "@cosmjs/cosmwasm-stargate";
+ import type { CosmWasmClient } from "graz/dist/cosmjs";
But if you prefer importing from their respective pacakges, you can install dependencies that graz
uses for better intellisense:
# using pnpm
pnpm add @cosmjs/cosmwasm-stargate @cosmjs/proto-signing @cosmjs/stargate @keplr-wallet/types
You can read more about available hooks and exports on Documentation Site or via paka.dev.
FAQs

The npm package @josefleventon/graz receives a total of 0 weekly downloads. As such, @josefleventon/graz popularity was classified as not popular.
We found that @josefleventon/graz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.