shinjuku-shielded 0.3.52 → 0.3.54

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 CHANGED
@@ -1,88 +1,74 @@
1
1
  # shinjuku-shielded
2
2
 
3
- The Shinjuku Shielded wallet: a self-custody command-line wallet for the
4
- Shinjuku Shielded private x402 facilitator on Solana. Its `mcp` command runs a
5
- local MCP server (stdio) that lets an agent pay x402 URLs from your shielded
6
- USDC balance, under caps that you set at launch.
3
+ The Shinjuku Shielded wallet: a self-custody wallet that pays x402 URLs
4
+ privately from a shielded USDC balance on Solana. Its `mcp` command runs a
5
+ local MCP server (stdio) for your agent. Your keys never leave your machine.
7
6
 
8
- This package holds one wallet release, unchanged. The `shinjukuRelease` and
9
- `shinjukuSha256` fields in `package.json` name that release. Compare the hash
10
- with the Releases table in
11
- [ShinjukuStaition/shinjuku-shielded](https://github.com/ShinjukuStaition/shinjuku-shielded#releases).
12
- Each version holds one served wallet release, byte for byte: `shinjukuRelease` and `shinjukuSha256` in package.json name it, and its SHA-256 is in the Releases table of ShinjukuStaition/shinjuku-shielded. From 0.1.1 on, versions are published from GitHub Actions with npm provenance.
13
-
14
- Needs Node.js 22 or later. The package has no install scripts.
15
-
16
- ## Run
7
+ ## Set up
17
8
 
18
9
  ```sh
19
- npx -y shinjuku-shielded@<version> help
20
- npx -y shinjuku-shielded@<version> help mcp
10
+ npx -y shinjuku-shielded setup
21
11
  ```
22
12
 
23
- Or install it once: `npm install -g shinjuku-shielded`. This gives the
24
- commands `shinjuku-shielded` and `shinjuku-wallet`.
13
+ Setup makes the wallet on this machine, a private passphrase file, and the
14
+ checked proof tools (about 191 MB), and writes `config.json`. It also writes
15
+ a recovery file: copy it to two offline places, then delete it from this
16
+ machine. `--add-to claude-code` (or `claude-desktop`, `cursor`) also adds the
17
+ server to that host's config.
25
18
 
26
- Pin the version in your agent config, so that each start runs the same file.
27
-
28
- ## Add the MCP server
29
-
30
- Set up the wallet first (passphrase, deposit, `rpc.txt`, `proof-tools.json`).
31
- The full setup guide is
32
- [ShinjukuStaition/shinjuku-mcp](https://github.com/ShinjukuStaition/shinjuku-mcp).
33
- `--max-payment` and `--max-session` are optional caps, in atomic USDC units
34
- (50000 = 0.05 USDC); without them there is no limit. An MCP host starts the server from its own folder: use
35
- absolute paths.
19
+ ## Add it to your agent host
36
20
 
37
21
  Claude Code:
38
22
 
39
23
  ```sh
40
- claude mcp add shinjuku-pay -- npx -y shinjuku-shielded@<version> mcp \
41
- --max-payment 50000 --max-session 200000 --tor \
42
- --pool 45mhosfA2MuygZWeqYRVcEZX2Q3gA8KR8FwP6AZkK1zR \
43
- --passphrase-file /home/you/shinjuku/passphrase.txt \
44
- --rpc-file /home/you/shinjuku/rpc.txt \
45
- --proof-tools /home/you/shinjuku/proof-tools.json \
46
- --program 8PYPw3FSFTMbvSneXdcoH6jNoN4VD23nHwPY2A2riUy1 \
47
- --memo-service https://pay.shinjukustaition.com
24
+ claude mcp add --scope user shinjuku-shielded -- npx -y shinjuku-shielded mcp
48
25
  ```
49
26
 
50
- Claude Desktop (`claude_desktop_config.json`) and Cursor (`.cursor/mcp.json`
51
- or `~/.cursor/mcp.json`) use the same JSON:
27
+ Claude Desktop (`claude_desktop_config.json`) or Cursor (`~/.cursor/mcp.json`):
52
28
 
53
29
  ```json
54
- {
55
- "mcpServers": {
56
- "shinjuku-pay": {
57
- "command": "npx",
58
- "args": [
59
- "-y", "shinjuku-shielded@<version>", "mcp",
60
- "--max-payment", "50000", "--max-session", "200000", "--tor",
61
- "--pool", "45mhosfA2MuygZWeqYRVcEZX2Q3gA8KR8FwP6AZkK1zR",
62
- "--passphrase-file", "/home/you/shinjuku/passphrase.txt",
63
- "--rpc-file", "/home/you/shinjuku/rpc.txt",
64
- "--proof-tools", "/home/you/shinjuku/proof-tools.json",
65
- "--program", "8PYPw3FSFTMbvSneXdcoH6jNoN4VD23nHwPY2A2riUy1",
66
- "--memo-service", "https://pay.shinjukustaition.com"
67
- ],
68
- "env": { "SHIELDED_WALLET_HOME": "/home/you/.shielded-wallet" }
69
- }
70
- }
71
- }
30
+ { "mcpServers": { "shinjuku-shielded": { "command": "npx", "args": ["-y", "shinjuku-shielded", "mcp"] } } }
72
31
  ```
73
32
 
74
- On Windows, write paths as `C:/Users/you/...`. If the host cannot find
75
- `npx`, use `"command": "cmd", "args": ["/c", "npx", ...]`.
33
+ On native Windows, if the host cannot find `npx`, use `"command": "cmd"` and
34
+ put `"/c", "npx"` at the start of `args`. To pin the version, write
35
+ `shinjuku-shielded@0.3.54`.
36
+
37
+ ## Add funds
38
+
39
+ Ask your agent "Add 0.50 USDC to my shielded balance". It calls
40
+ `wallet_add_funds` and gives a one-time address. Send USDC on Solana to it
41
+ from any wallet or exchange. Cents work (from 0.01 USDC), and you need no
42
+ SOL. The USDC becomes private by itself while the MCP server runs.
76
43
 
77
- `node_modules/.bin` and the global npm folder must not be writable by other
78
- users: the MCP server holds your wallet keys.
44
+ ## Pay
79
45
 
80
- ## Proof tools
46
+ Spending limits are optional and off by default: only the balance bounds a
47
+ payment. To set them, give setup `--max-payment`, `--max-session`, or
48
+ `--max-cumulative`, in USDC (`0.05` = 5 cents).
81
49
 
82
- The proof tools are not in this package. Download them separately and check
83
- their hashes, as `https://shinjukustaition.com/skill.md` section 7b tells you.
84
- The provers are Linux programs: use Linux, or WSL on Windows. macOS is not
85
- supported for proofs.
50
+ `x402_discover` finds sellers in public x402 listings, `x402_preview` shows
51
+ the price, and `x402_pay` pays.
52
+
53
+ ## Needs
54
+
55
+ - Node.js 22.21 or later, or Node.js 24 or later (a `--tor` run needs `NODE_USE_ENV_PROXY`, which Node.js 23 does not have).
56
+ - Linux, or Windows with WSL. macOS is not supported: the provers are Linux
57
+ programs.
58
+
59
+ The package has no install scripts. `node_modules/.bin` and the global npm
60
+ folder must not be writable by other users: the MCP server holds your wallet
61
+ keys.
62
+
63
+ This package holds one wallet release, unchanged. The `shinjukuRelease` and
64
+ `shinjukuSha256` fields in `package.json` name that release. Compare the hash
65
+ with the Releases table in
66
+ [ShinjukuStaition/shinjuku-shielded](https://github.com/ShinjukuStaition/shinjuku-shielded#releases).
67
+ From 0.1.1 on, versions are published from GitHub Actions with npm
68
+ provenance.
69
+
70
+ The full guide is
71
+ [ShinjukuStaition/shinjuku-mcp](https://github.com/ShinjukuStaition/shinjuku-mcp).
86
72
 
87
73
  ## License
88
74
 
package/manifest.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schema": "carbon-shielded-wallet/bundle-manifest/v1",
3
3
  "file": "shinjuku-wallet.mjs",
4
- "sha256": "dfff21825cc4452582636aa8ccf6fe96823b1f335bdb0514c723f9a5ae6f02dd",
5
- "bytes": 11614411,
6
- "sourceCommit": "86a54eb7c5ee61c37ab4053b7282e6e5124e1b6f",
4
+ "sha256": "285d2c1db3cfd9d8a5df47acc2c70e7e65816539c3f2ad216ede6a16358d762b",
5
+ "bytes": 12117554,
6
+ "sourceCommit": "9df252eb8f4e71413bfcb8ff3ad289a96079e147",
7
7
  "sourceDirty": false,
8
8
  "installRecordMatchesLockfile": true,
9
9
  "releaseRule": "valid only when two fresh npm ci --ignore-scripts builds on different OSes give the same sha256; installRecordMatchesLockfile true means every entry npm installed equals its package-lock.json entry and every entry not marked optional, devOptional included, is installed: an optional entry (a package for another platform) may be absent",
@@ -1281,5 +1281,6 @@
1281
1281
  "name": "@noble/hashes",
1282
1282
  "version": "1.8.0"
1283
1283
  }
1284
- ]
1284
+ ],
1285
+ "publishedAt": "2026-10-21T20:41:22.351Z"
1285
1286
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "shinjuku-shielded",
3
- "version": "0.3.52",
3
+ "version": "0.3.54",
4
4
  "mcpName": "io.github.ShinjukuStaition/shinjuku-mcp",
5
5
  "description": "Shinjuku Shielded, the private x402 facilitator on Solana: the self-custody wallet CLI and its MCP server. Shield, pay, and unshield USDC from any MCP agent, under caps you set.",
6
- "shinjukuRelease": "dfff2182",
7
- "shinjukuSha256": "dfff21825cc4452582636aa8ccf6fe96823b1f335bdb0514c723f9a5ae6f02dd",
6
+ "shinjukuRelease": "285d2c1d",
7
+ "shinjukuSha256": "285d2c1db3cfd9d8a5df47acc2c70e7e65816539c3f2ad216ede6a16358d762b",
8
8
  "license": "SEE LICENSE IN LICENSE.txt",
9
9
  "author": "Shinjuku Shielded",
10
10
  "homepage": "https://github.com/ShinjukuStaition/shinjuku-mcp#readme",
@@ -36,7 +36,7 @@
36
36
  "manifest.json"
37
37
  ],
38
38
  "engines": {
39
- "node": ">=22"
39
+ "node": "^22.21.0 || >=24.0.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public",