Skip to main content

Nara CLI v1 Released

· 2 min read
Nara Chain Core Team

naracli v1 is now live on npm — the official command-line tool and SDK for interacting with Nara Chain.

npm install -g naracli

Feature Overview

Wallet Management

  • Create new wallets (BIP39 mnemonic)
  • Import existing wallets (mnemonic or private key)
  • Fully interoperable with Solana wallet format
npx naracli wallet create
npx naracli address
npx naracli balance

Token Operations

  • Check NARA and SPL token balances
  • NARA transfers
  • SPL token transfers
  • Transaction status queries
  • Offline signing support
npx naracli transfer <address> <amount>
npx naracli transfer-token <token-address> <to-address> <amount>

PoMI Mining

  • View current Quest questions
  • Automatically generate ZK proofs and submit answers
  • Supports both direct on-chain submission and gasless relay submission
npx naracli quest get
npx naracli quest answer "answer" --relay

SDK

naracli also serves as a TypeScript/JavaScript SDK with a programmatic interface:

import { NaraSDK, getQuestInfo, submitAnswer } from 'naracli';

Exported modules include:

  • NaraSDK — Connection management
  • getQuestInfo / hasAnswered — Quest queries
  • generateProof / submitAnswer — ZK proof generation and submission
  • submitAnswerViaRelay — Relay submission
  • Convenience re-exports of Solana base types

AI Agent Skill

naracli includes Nara Skill definition files, enabling direct invocation by AI Agents (such as Claude Code). Agents can automatically handle the complete wallet management and PoMI mining workflow.

Installation & Usage

Use via npx (no installation required):

npx naracli@latest address

Global installation:

npm install -g naracli

Import as an SDK:

npm install naracli

Technical Details

  • Written in TypeScript, ES Module format
  • Built on @solana/web3.js and @coral-xyz/anchor
  • ZK proofs powered by snarkjs (Groth16 protocol)
  • Requires Node.js 20+

Full documentation: CLI Reference | SDK Documentation

npm: naracli