shinjuku-shield 0.0.1 → 0.3.80

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/LICENSE.txt CHANGED
@@ -1,2 +1,4 @@
1
- Shinjuku Shield: shinjuku-shield
2
- Copyright (c) 2026 Shinjuku Shield. All rights reserved.
1
+ Shinjuku Shielded wallet
2
+ Copyright (c) 2026 Shinjuku Shielded. All rights reserved.
3
+
4
+ The open-source packages inside this file keep their own licenses: see THIRD_PARTY_NOTICES.txt.
package/README.md CHANGED
@@ -1,13 +1,78 @@
1
- # shinjuku-shield
1
+ # shinjuku-shielded
2
2
 
3
- `shinjuku-shield` is the coming package name of Shinjuku Shield: a self-custody wallet that pays x402 URLs privately from
4
- a shielded USDC balance on Solana.
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.
5
6
 
6
- This package installs nothing. It prints how to install the wallet:
7
+ ## Set up
7
8
 
8
9
  ```sh
9
- npm install -g shinjuku-shielded@0.3.80
10
- shinjuku-shielded setup
10
+ npx -y --no-audit --no-fund shinjuku-shielded setup
11
11
  ```
12
12
 
13
- Docs and host configs: https://github.com/ShinjukuStaition/shinjuku-mcp
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.
18
+
19
+ ## Add it to your agent host
20
+
21
+ Claude Code:
22
+
23
+ ```sh
24
+ claude mcp add --scope user shinjuku-shielded -- npx -y --no-audit --no-fund shinjuku-shielded mcp
25
+ ```
26
+
27
+ Claude Desktop (`claude_desktop_config.json`) or Cursor (`~/.cursor/mcp.json`):
28
+
29
+ ```json
30
+ { "mcpServers": { "shinjuku-shielded": { "command": "npx", "args": ["-y", "--no-audit", "--no-fund", "shinjuku-shielded", "mcp"] } } }
31
+ ```
32
+
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.
43
+
44
+ ## Pay
45
+
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).
49
+
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).
72
+
73
+ ## License
74
+
75
+ `LICENSE.txt` (Shinjuku Shielded wallet, all rights reserved) and
76
+ `THIRD_PARTY_NOTICES.txt` (the open-source packages inside the file) ship
77
+ unchanged from the release. `manifest.json` names the source commit and every
78
+ bundled package.