near-api-js
Build NEAR Apps with near-api-js
NEAR developers need reliable examples for accounts, contracts, tokens, and signing. This skill provides focused near-api-js v7 patterns for Claude, Codex, and Claude Code.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "near-api-js" from https://skillstore.io/skills/internet-court-near-api-js.md and its manifest at https://skillstore.io/api/skills/internet-court-near-api-js/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "near-api-js". I need to call a payable contract method from a NEAR web app.
Expected outcome:
- Provider and account setup plan for the selected network.
- Contract call steps with required gas, deposit, and signer notes.
- Error handling checks for failed transactions and missing accounts.
Using "near-api-js". I need a gasless minting flow for users without NEAR.
Expected outcome:
- User-side signed delegate action flow.
- Relayer-side submission plan with expiration handling.
- Security notes for relayer trust, nonce lifetime, and action scope.
Using "near-api-js". I need wallet login with NEP-413.
Expected outcome:
- Nonce generation and message-signing sequence.
- Server verification checklist using account ID, public key, signature, and payload.
- Replay protection notes for nonce storage and expiration.
Security Audit
Medium RiskAll 105 static detections are false positives caused by Markdown fences, JavaScript template literals, documentation endpoints, cryptographic API examples, or validation examples. No prompt injection, hidden command execution, embedded live secret, or covert exfiltration behavior was found. The skill documents consequential blockchain actions and should add explicit confirmation and testnet-first guidance.
Confirmed security concerns (1)
Risk Factors
โ๏ธ External commands (48)
๐ Network access (18)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/internet-court-near-api-js/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/internet-court-near-api-js?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/internet-court-near-api-js?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/internet-court-near-api-js/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/internet-court-near-api-js.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
internet-court. (2026). near-api-js security audit report (audit version 2) [Author version unspecified]. Skillstore. https://skillstore.io/skills/internet-court-near-api-js/audits/2BibTeX citation
@techreport{internet-court-internet-court-near-api-js-2026,
author = {internet-court},
title = {near-api-js security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/internet-court-near-api-js/audits/2},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "near-api-js security audit report (audit version 2)"
version: "unspecified"
type: report
authors:
- name: "internet-court"
date-released: "2026-07-21"
url: "https://skillstore.io/skills/internet-court-near-api-js/audits/2"
identifiers:
- type: other
value: "skillstore:internet-court-near-api-js:audit:2"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Create a dApp integration
Build account, provider, and contract calls for a NEAR web application.
Add token operations
Implement NEAR, fungible token, NFT, and storage registration flows.
Design signing flows
Plan key management, NEP-413 authentication, and relayer-sponsored transactions.
Try These Prompts
Show me how to connect a TypeScript app to NEAR testnet with near-api-js v7. Include provider and account setup.
Help me call a NEAR smart contract with near-api-js. Compare a read-only view call with a signed change call.
Design a near-api-js flow for transferring a fungible token and registering the receiver for storage when needed.
Review my near-api-js plan for meta transactions, NEP-413 authentication, and key rotation. Identify security and reliability concerns.
Best Practices
- Use testnet examples first, then switch endpoints and account names deliberately.
- Keep private keys, seed phrases, and signer material out of logs and source control.
- Set clear gas, deposit, allowance, and transaction finality requirements for each call.
Avoid
- Do not paste real private keys or seed phrases into prompts or examples.
- Do not use unlimited access key allowances without a documented security reason.
- Do not relay signed delegate actions without validating receiver, method, amount, and expiration.
Frequently Asked Questions
What is near-api-js?
Does this skill support Claude, Codex, and Claude Code?
Can this skill send real transactions?
Does it cover token storage deposits?
Does it explain NEP-413 authentication?
How should users handle private keys?
Developer Details
Author
internet-courtLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Repository
https://github.com/internet-court/internet-court-skill/tree/main/vendored/near/near-api-jsRef
3f6e026a3363e0954ede7bef0cfe88d4475de137
Maintenance freshness
7/21/2026
Usage
1 downloads ยท 0 views
File structure
๐ references/
๐ api_patterns.md
๐ contracts.md
๐ key_management.md
๐ meta_transactions.md
๐ nep413.md
๐ tokens_guide.md
๐ SKILL.md