Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -29% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 24% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-01 | ✗→✓ | ▲ Improved | -9% | 0% |
Determine which path to follow:
User wants to create a new NEAR dApp from scratch.
bashnpx create-near-app@latest
Or with arguments:
bashnpx 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)
User wants to add NEAR wallet connection to an existing React app.
Quick setup:
bashnpm 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 { useNearWallet } from 'near-connect-hooks'; const { signedAccountId, signIn, signOut, viewFunction, callFunction } = useNearWallet();
Use @hot-labs/near-connect directly without React hooks.
bashnpm install @hot-labs/near-connect
typescriptimport { NearConnector } from "@hot-labs/near-connect"; const connector = new NearConnector({ network: "mainnet" }); connector.on("wallet:signIn", async (t) => { const wallet = await connector.wallet(); const address = t.accounts[0].accountId; }); await connector.connect();
viewFunction({ contractId, method, args })callFunction({ contractId, method, args, deposit })transfer({ receiverId, amount })nearToYocto() / yoctoToNear() from near-api-js"1000000000000000000000000" yoctoNEAR"30000000000000" (30 TGas)Other measured skills in the registry, with their headline benchmark lift.