near-dapp
Build NEAR Protocol dApps. Use for: (1) creating new NEAR dApps with `create-near-app` (Vite+React, Next.js), (2) adding NEAR wallet connection to existing apps with `@hot-labs/near-connect` and `near-connect-hooks`, (3) building frontend UI for NEAR smart contracts, (4) integrating wallet sign-in/sign-out, contract calls, and transaction signing into web applications.
npx skills add internet-court/internet-court-skill --skill near-dapp --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 dApp ## Decision Router Determine which path to follow: ### Path A: New Project User wants to create a new NEAR dApp from scratch. 1. Read [references/create-near-app.md](references/create-near-app.md) 2. Run scaffolding: ```bash npx create-near-app@latest ``` Or with arguments: ```bash npx create-near-app my-app --frontend vite-react --contract rs --install ``` **Framework options:** `vite-react` | `next-app` | `next-page` **Contract options:** `rs` (Rust) | `ts` (TypeScript) 3. If user needs wallet connection in the scaffolded app, also follow Path B. ### Path B: Existing Project User wants to add NEAR wallet connection to an existing React app. 1. Read [references/near-connect-hooks.md](references/near-connect-hooks.md) — React hooks API and patterns 2. If user needs low-level wallet API or non-React integration, also read [references/near-connect.md](references/near-connect.md) **Quick setup:** ```bash npm install near-connect-hooks @hot-labs/near-connect near-api-js ``` ```tsx // 1. Wrap app root with NearProvider import { NearProvider } from 'near-connect-hooks'; <NearProvider config={{ network: 'mainnet' }}> <App /> </NearProvider> // 2. Use hook in components import
- Decision Router
- Path A: New Project
- Path B: Existing Project
- Path C: Non-React or Vanilla JS
- Key Patterns
npx create-near-app@latest npx create-near-app my-app --frontend vite-react --contract rs --install npm install near-connect-hooks @hot-labs/near-connect near-api-js npm install @hot-labs/near-connect
What does the near-dapp skill do?
Build NEAR Protocol dApps. Use for: (1) creating new NEAR dApps with `create-near-app` (Vite+React, Next.js), (2) adding NEAR wallet connection to existing apps with `@hot-labs/near-connect` and `near-connect-hooks`, (3) building frontend UI for NEAR smart contracts, (4) integrating wallet sign-in/sign-out, contract calls, and transaction signing into web applications.
How do I install it?
Run `npx skills add internet-court/internet-court-skill --skill near-dapp --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.