near-kit
TypeScript library for NEAR Protocol blockchain interaction. Use this skill when writing code that interacts with NEAR Protocol, including viewing contract data, calling contract methods, sending NEAR tokens, building transactions, creating type-safe contract wrappers, integrating wallets (Wallet Selector, HOT Connect), React hooks and providers (@near-kit/react), managing keys, testing with sandbox, meta-transactions (NEP-366), and message signing (NEP-413).
npx skills add internet-court/internet-court-skill --skill near-kit --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# near-kit A TypeScript library for NEAR Protocol with an intuitive, fetch-like API. ## Quick Start ```typescript import { Near } from "near-kit"; // Read-only (no key needed) const near = new Near({ network: "testnet" }); const data = await near.view("contract.near", "get_data", { key: "value" }); // With signing capability const near = new Near({ network: "testnet", privateKey: "ed25519:...", defaultSignerId: "alice.testnet", }); await near.call("contract.near", "method", { arg: "value" }); await near.send("bob.testnet", "1 NEAR"); ``` ## Import Cheatsheet ```typescript // Core import { Near } from "near-kit"; // Keys import { generateKey, parseSeedPhrase, generateSeedPhrase } from "near-kit"; import { RotatingKeyStore, InMemoryKeyStore } from "near-kit"; import { FileKeyStore } from "near-kit/keys/file"; import { NativeKeyStore } from "near-kit/keys/native"; // Wallet adapters import { fromHotConnect, fromWalletSelector } from "near-kit"; // NEP-413 verification import { verifyNep413Signature } from "near-kit"; // Utilities import { Amount, Gas, isValidAccountId } from "near-kit"; ``` ## Core Operations ### View Methods (Read-Only, Free) ```typescript const result = await near.v
- Quick Start
- Import Cheatsheet
- Core Operations
- View Methods (Read-Only, Free)
- Call Methods (Requires Signing)
- Send NEAR Tokens
- Type-Safe Contracts
- Transaction Builder
- Configuration
- Backend/Scripts
- Browser Wallets
- React Bindings (@near-kit/react)
- Testing with Sandbox
- Error Handling
What does the near-kit skill do?
TypeScript library for NEAR Protocol blockchain interaction. Use this skill when writing code that interacts with NEAR Protocol, including viewing contract data, calling contract methods, sending NEAR tokens, building transactions, creating type-safe contract wrappers, integrating wallets (Wallet Selector, HOT Connect), React hooks and providers (@near-kit/react), managing keys, testing with sandbox, meta-transactions (NEP-366), and message signing (NEP-413).
How do I install it?
Run `npx skills add internet-court/internet-court-skill --skill near-kit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From internet-court/internet-court-skill, a repository with 1,536 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.