naracli 0.1.0 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -11
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -38,13 +38,13 @@ Circuit files: `answer_proof.wasm` + `answer_proof_final.zkey` (BN254 curve).
38
38
  ## Installation
39
39
 
40
40
  ```bash
41
- npm install nara-cli
41
+ npm install naracli
42
42
  ```
43
43
 
44
44
  ## SDK Usage
45
45
 
46
46
  ```typescript
47
- import { NaraSDK } from "nara-cli";
47
+ import { NaraSDK } from "naracli";
48
48
 
49
49
  const sdk = new NaraSDK({
50
50
  rpcUrl: "https://mainnet-api.nara.build/",
@@ -63,7 +63,7 @@ import {
63
63
  submitAnswerViaRelay,
64
64
  parseQuestReward,
65
65
  Keypair,
66
- } from "nara-cli";
66
+ } from "naracli";
67
67
  import { Connection } from "@solana/web3.js";
68
68
 
69
69
  const connection = new Connection("https://mainnet-api.nara.build/", "confirmed");
@@ -106,11 +106,11 @@ See [examples/](examples/) for complete SDK usage examples.
106
106
 
107
107
  ```bash
108
108
  # Create a new wallet
109
- nara-cli wallet create
109
+ naracli wallet create
110
110
 
111
111
  # Or import from mnemonic / private key
112
- nara-cli wallet import -m "your twelve word mnemonic phrase ..."
113
- nara-cli wallet import -k "your-private-key"
112
+ naracli wallet import -m "your twelve word mnemonic phrase ..."
113
+ naracli wallet import -k "your-private-key"
114
114
  ```
115
115
 
116
116
  Wallet is saved to `~/.config/nara/id.json` by default.
@@ -126,7 +126,7 @@ migrate Check migration eligibility and launch to DAMM V2
126
126
  quest On-chain quiz with ZK proof verification
127
127
  ```
128
128
 
129
- Run `nara-cli <command> --help` for details on each command.
129
+ Run `naracli <command> --help` for details on each command.
130
130
 
131
131
  ### Global Options
132
132
 
@@ -140,14 +140,14 @@ Run `nara-cli <command> --help` for details on each command.
140
140
 
141
141
  ```bash
142
142
  # Check balance
143
- nara-cli wallet balance
143
+ naracli wallet balance
144
144
 
145
145
  # Buy tokens
146
- nara-cli swap buy <TOKEN_ADDRESS> 0.1
146
+ naracli swap buy <TOKEN_ADDRESS> 0.1
147
147
 
148
148
  # Answer a quest
149
- nara-cli quest get
150
- nara-cli quest answer "your answer"
149
+ naracli quest get
150
+ naracli quest answer "your answer"
151
151
  ```
152
152
 
153
153
  ## License
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "naracli",
3
- "version": "0.1.0",
3
+ "version": "1.0.12",
4
4
  "description": "CLI for the Nara chain (Solana-compatible)",
5
5
  "module": "index.ts",
6
6
  "main": "index.ts",
7
7
  "type": "module",
8
8
  "private": false,
9
9
  "bin": {
10
- "nara-cli": "./dist/nara-cli.mjs"
10
+ "naracli": "./dist/nara-cli.mjs"
11
11
  },
12
12
  "scripts": {
13
13
  "cli": "npx tsx bin/nara-cli.ts",