{"_id":"@402wallet/cli","_rev":"3-5a00be043255516d43d90db69cb8f4a7","name":"@402wallet/cli","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@402wallet/cli","version":"0.1.0","keywords":["402","x402","mcp","payments","api","cli"],"author":{"name":"402Wallet"},"license":"MIT","_id":"@402wallet/cli@0.1.0","maintainers":[{"name":"402wallet","email":"402wallet@proton.me"}],"homepage":"https://github.com/402wallet/cli#readme","bugs":{"url":"https://github.com/402wallet/cli/issues"},"bin":{"402":"dist/index.js"},"dist":{"shasum":"4967eec5fb61b2023d4eb003d90d534759d5ddc4","tarball":"https://registry.npmjs.org/@402wallet/cli/-/cli-0.1.0.tgz","fileCount":3,"integrity":"sha512-yK+pgfSIoVkLDgguvthVCYWSNqm4bQu0EwzOlbhUhl7Lr7EeoWnUrfbgvyEmMQ/tydPNyzAvLL+TsSCIIXNpng==","signatures":[{"sig":"MEUCIHfITWAt8fc3l60dZyko5GmlU4fr66b9Zb6AGWpA3399AiEAtoPpnuaWmgG4h5U4omeun+OAcl08Icbqva0T6zSifmM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":357249},"type":"module","engines":{"node":">=18"},"scripts":{"dev":"bun run src/index.ts","build":"bun build src/index.ts --outdir dist --target node","prepublishOnly":"bun run build"},"_npmUser":{"name":"402wallet","email":"402wallet@proton.me"},"repository":{"url":"git+https://github.com/402wallet/cli.git","type":"git"},"_npmVersion":"10.9.2","description":"CLI tool to register and manage 402 services","directories":{},"_nodeVersion":"23.10.0","dependencies":{"ora":"^8.0.1","zod":"^3.23.8","chalk":"^5.3.0","commander":"^12.1.0","@iarna/toml":"^2.2.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1767129087014_0.7195453178730469","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@402wallet/cli","version":"0.1.1","keywords":["402","x402","mcp","payments","api","cli"],"author":{"name":"402Wallet"},"license":"MIT","_id":"@402wallet/cli@0.1.1","maintainers":[{"name":"402wallet","email":"402wallet@proton.me"}],"homepage":"https://github.com/402wallet/cli#readme","bugs":{"url":"https://github.com/402wallet/cli/issues"},"bin":{"402":"dist/index.js"},"dist":{"shasum":"9ce3300620a55a28036098b1640789dde2b7a19e","tarball":"https://registry.npmjs.org/@402wallet/cli/-/cli-0.1.1.tgz","fileCount":3,"integrity":"sha512-M2yxasOfmI8PrgFc7FGpEhu9MDCHge7rHA3zYFgPStAIgL9pvxm86tscIsj8Otcd9f1oTMIYJPTuS0BxiJplyA==","signatures":[{"sig":"MEYCIQCbjvgx54KT8nfKIVrn/A8q3vzBrilCS7eod7isX7IOIAIhAI95PMWlVpQyKRoraZLbIelDerhp/avo+qNXxOM6Y0sk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":357798},"type":"module","engines":{"node":">=18"},"scripts":{"dev":"bun run src/index.ts","build":"bun build src/index.ts --outdir dist --target node","prepublishOnly":"bun run build"},"_npmUser":{"name":"402wallet","email":"402wallet@proton.me"},"repository":{"url":"git+https://github.com/402wallet/cli.git","type":"git"},"_npmVersion":"10.9.2","description":"CLI tool to register and manage 402 services","directories":{},"_nodeVersion":"23.10.0","dependencies":{"ora":"^8.0.1","zod":"^3.23.8","chalk":"^5.3.0","commander":"^12.1.0","@iarna/toml":"^2.2.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1767130012978_0.26888263611837915","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@402wallet/cli","version":"0.1.2","description":"CLI tool to register and manage 402 services","type":"module","bin":{"402":"dist/index.js"},"scripts":{"build":"bun build src/index.ts --outdir dist --target node","dev":"bun run src/index.ts","prepublishOnly":"bun run build"},"keywords":["402","x402","mcp","payments","api","cli"],"author":{"name":"402Wallet"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/402wallet/cli.git"},"dependencies":{"@iarna/toml":"^2.2.5","chalk":"^5.3.0","commander":"^12.1.0","ora":"^8.0.1","zod":"^3.23.8"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.0.0"},"engines":{"node":">=18"},"_id":"@402wallet/cli@0.1.2","bugs":{"url":"https://github.com/402wallet/cli/issues"},"homepage":"https://github.com/402wallet/cli#readme","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-i+CLMe8Y6XKYRfQjtcxmRSlHU7YgR09jmM4p7eKFdkDy2loEW1MzDLrR0b/k/O67XqJt8YzmDm+cZY847JNUWw==","shasum":"506cb6d3dfd20a12f2c0541621e056930cd27e42","tarball":"https://registry.npmjs.org/@402wallet/cli/-/cli-0.1.2.tgz","fileCount":3,"unpackedSize":357798,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFU5kpwUeXpYCcno4TmHiKzajaAMEq3HM+trK//R4mbIAiEA+ysW7jrHmr5OfalFFdP2aX2MrKsKBezmUExuCw1vNJE="}]},"_npmUser":{"name":"402wallet","email":"402wallet@proton.me"},"directories":{},"maintainers":[{"name":"402wallet","email":"402wallet@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.2_1767130038426_0.49319201487253594"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-30T21:11:26.866Z","modified":"2025-12-30T21:27:18.799Z","0.1.0":"2025-12-30T21:11:27.358Z","0.1.1":"2025-12-30T21:26:53.152Z","0.1.2":"2025-12-30T21:27:18.599Z"},"bugs":{"url":"https://github.com/402wallet/cli/issues"},"author":{"name":"402Wallet"},"license":"MIT","homepage":"https://github.com/402wallet/cli#readme","keywords":["402","x402","mcp","payments","api","cli"],"repository":{"type":"git","url":"git+https://github.com/402wallet/cli.git"},"description":"CLI tool to register and manage 402 services","maintainers":[{"name":"402wallet","email":"402wallet@proton.me"}],"readme":"# @402wallet/cli\n\nCLI tool to register and manage 402 services in the 402Wallet Bazaar.\n\n## Installation\n\n```bash\nnpm install -g @402wallet/cli\n# or\nnpx @402wallet/cli\n```\n\n## Usage\n\n### Initialize a new configuration\n\n```bash\n402 init\n```\n\nCreates a `402.toml` template in your current directory.\n\n### Publish your service\n\n```bash\n402 publish --wallet 0xYourWalletAddress\n```\n\nOptions:\n- `-f, --file <path>` - Path to config file (default: `402.toml`)\n- `-w, --wallet <address>` - Owner wallet address (or set `WALLET_ADDRESS` env)\n- `--dry-run` - Validate without publishing\n- `--api <url>` - Custom API endpoint\n\n## 402.toml Format\n\n```toml\n[service]\nname = \"My Service\"\ndescription = \"A brief description\"\n\n[payment]\nnetwork = \"base\"\ncurrency = \"USDC\"\nprice = \"0.01\"\nrecipient_address = \"0x...\"\n\n[mcp]\nendpoint = \"https://api.example.com/mcp\"\nauth_required = false\n\n[meta]\ncategory = \"utilities\"\ngithub_url = \"https://github.com/...\"\n```\n\n## Links\n\n- [Documentation](https://402wallet.app/docs/register)\n- [Bazaar](https://402wallet.app/bazaar)\n","readmeFilename":"README.md"}