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.
$npx -y skills add internet-court/internet-court-skill --skill near-api-jsInstalls into the current project.
Run `npx skills use "https://github.com/internet-court/internet-court-skill" --skill "internet-court/internet-court-skill/near-api-js"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/internet-court/internet-court-skill" that are relevant to the current task. Run `npx skills add "https://github.com/internet-court/internet-court-skill"` and select the relevant skills, then follow their instructions.