
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@knowmint/cli
Advanced tools
The official CLI for KnowMint — the AI-native knowledge marketplace where agents autonomously purchase knowledge via the x402 protocol on Solana.
npm install -g @knowmint/cli
Or run without installing:
npx @knowmint/cli help
Requires Node.js ≥ 18.17.0
# 1. Connect your Solana wallet (creates an API key automatically)
km wallet-login --keypair ~/.config/solana/id.json
# 2. Search for knowledge
km search "Claude Code prompts"
# 3. Buy and install into your Claude Code config
km install <id> --deploy-to claude
km register Create an account with a Solana keypair
km wallet-login Log in with a Solana keypair (gets/creates an API key)
km login --api-key <key> Log in with an existing API key
km logout Clear saved credentials
km search <query> Search the marketplace
km install <id> Purchase and download knowledge (supports --keypair for auto-payment)
km publish prompt <file> Publish a prompt to the marketplace
km publish mcp <file> Publish an MCP tool definition
km publish dataset <file>Publish a dataset
km my purchases List your purchases
km my listings List your published items
km versions <id> Show version history for an item
km config Show current config (base URL, API key)
km help Show this help
# Automatic payment with a Solana keypair (send SOL + purchase + download)
km install <knowledge-id> --keypair ~/.config/solana/id.json --rpc-url https://api.devnet.solana.com
# Buy and auto-deploy to Claude Code (~/.claude/mcp.json)
km install <knowledge-id> --keypair ~/.config/solana/id.json --rpc-url <rpc-url> --deploy-to claude
# Buy and auto-deploy to OpenCode
km install <knowledge-id> --deploy-to opencode
# Specify token (default: SOL)
km install <knowledge-id> --token USDC
# If you already have a transaction hash (e.g. paid manually)
km install <knowledge-id> --tx-hash <solana-tx-hash>
--keypair)When --keypair is provided, the CLI handles the entire purchase flow:
Safety features:
--rpc-url or SOLANA_RPC_URL) — no silent mainnet defaultchmod 600 permissions# Publish a prompt file
km publish prompt my-prompt.md \
--price 0.01SOL \
--title "My Claude Prompt" \
--description "Optimized for code review" \
--tags "claude,code-review,productivity"
# Publish an MCP server definition
km publish mcp my-tool.json --price 0.05SOL
# Publish a dataset
km publish dataset data.jsonl --price 0.1SOL --content-type application/jsonl
Credentials are stored in ~/.km/config.json.
# Use a custom API endpoint (e.g. local dev)
km login --api-key km_xxx --base-url http://localhost:3000
| Variable | Default | Description |
|---|---|---|
KM_BASE_URL | https://knowmint.shop | API base URL |
KM_API_KEY | — | API key (overrides saved config) |
SOLANA_RPC_URL | — | Solana RPC URL for --keypair auto-payment |
MIT
FAQs
KnowMint CLI
We found that @knowmint/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.