naracli 0.1.0 → 1.0.11
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.
- package/README.md +3 -3
- package/package.json +1 -1
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
|
|
41
|
+
npm install naracli
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## SDK Usage
|
|
45
45
|
|
|
46
46
|
```typescript
|
|
47
|
-
import { NaraSDK } from "
|
|
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 "
|
|
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");
|