Agent skill · software engineering · aiskillstore
near-api-js
Guide for developing with near-api-js v7 - the JavaScript/TypeScript library for NEAR blockchain interaction. Use when: (1) building apps that interact with NEAR blockchain, (2) creating/signing transactions, (3) calling smart contracts, (4) managing accounts and keys, (5) working with NEAR RPC API, (6) handling FT/NFT tokens on NEAR, (7) using NEAR cryptographic operations (KeyPair, signing), (8) converting between NEAR units (yocto, gas), (9) gasless/meta transactions with relayers, (10) NEP-413 message signing for authentication, (11) storage deposit management for FT contracts. Triggers on any NEAR blockchain development tasks.
Why this skill is useful
Provides specific commands and patterns for interacting with the NEAR blockchain that the AI wouldn't reliably generate on its own.
What it needs
Requires near-api-js installed locally. Requires near account access. About 7k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
near-api-js Skill JavaScript/TypeScript library for NEAR blockchain interaction. Works in browser and Node.js. Quick Start Import Cheatsheet Core Modules Account Main class for account operations. Account Management Provider RPC client for querying blockchain. Signers Contract (with ABI) Contract (without ABI) Seed Phrases Tokens Actions All transaction actions. RPC Endpoints Network URL ------------------ ------------------------------- Mainnet https://rpc.mainnet.near.org Mainnet (FastNEAR) https://free.rpc.fastnear.com Testnet https://rpc.testnet.near.org Testnet (FastNEAR) https://test.rpc.fastnear.com Common Patterns Batch Actions Meta Transactions Implicit Accounts NEP-413 Manual Transaction Signing Concurrent Transactions Error Handling Reference Documentation For detailed patterns and advanced usage, see: API Patterns Reference - Complete Account/Provider method reference, manual signing, parallel transactions Tokens Guide - FT/NFT operations, storage deposits, pre-defined tokens Key Management - KeyPair types, seed phrases, signers, access keys Meta Transactions - Gasless transactions, relayer integration NEP-413 - NEP-413 message signing & verification Contracts - Typed Contract with ABI, Contract without ABI
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/near-api-js