@envolvr/sdk 0.1.0 → 0.1.1

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 +9 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,14 +14,17 @@ npm install @envolvr/sdk # Node 20+
14
14
  ## From zero to a verified receipt (testnet)
15
15
 
16
16
  ```bash
17
- export ENVOLVR_PRIVATE_KEY=0x… # a wallet with a little Robinhood testnet ETH for gas
18
- npx envolvr signin --save # sign a message, get an API key
19
- npx envolvr testnet-mint 20 # test USDG (testnet only)
20
- npx envolvr deposit 10 # credited net of the deposit fee, within seconds
21
- npx envolvr chat "Reply with the single word: sealed"
22
- npx envolvr verify --last # signature, billing, payer, on-chain anchor
17
+ export ENVOLVR_PRIVATE_KEY=0x… # a wallet with a little Robinhood testnet ETH for gas
18
+ npx @envolvr/sdk signin --save # sign a message, get an API key
19
+ npx @envolvr/sdk testnet-mint 20 # test USDG (testnet only)
20
+ npx @envolvr/sdk deposit 10 # credited net of the deposit fee, within seconds
21
+ npx @envolvr/sdk chat "Reply with the single word: sealed"
22
+ npx @envolvr/sdk verify --last # signature, billing, payer, on-chain anchor
23
23
  ```
24
24
 
25
+ Or `npm install -g @envolvr/sdk` and run `envolvr …`. Always name the scoped
26
+ package with npx: `npx envolvr` alone would fetch an unrelated package.
27
+
25
28
  `verify` prints what the receipt proves: the gateway's TDX attestation and the
26
29
  receipt signature (checked by `private-ai-proxy`), what was billed and that it
27
30
  was billed to your key, and the batch and transaction that anchor it. A receipt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envolvr/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "envolvr client: wallet sign-in, USDG deposits, private inference with signed receipts, and receipt verification (signature, billing, on-chain anchor).",
5
5
  "license": "Apache-2.0",
6
6
  "author": "envolvr",