npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

jaspervault_cli

v1.0.26

Published

JasperVault CLI for interacting with the JasperVault Manager API

Readme

JasperVault CLI

Trade perpetuals on JasperVault through AI conversation. Install this CLI and connect your AI assistant (OpenClaw, Cursor, Claude Code) — then just talk to place orders, set take-profits, and manage positions without touching the command line.


Quick Start (OpenClaw)

1. Install the CLI

npm install -g jaspervault_cli

Verify:

jv --version

2. Install JasperVault Skill to OpenClaw

jv skill install --ai openclaw

This installs the trading skill to ~/.openclaw/skills/jasper-vault-cli/SKILL.md. OpenClaw will now know how to trade on your behalf.

If the skill already exists, add --force to overwrite:

jv skill install --ai openclaw --force

3. Initialize Your Wallet (One-Time Setup)

In OpenClaw, say:

"I want to start trading"

OpenClaw will call jv vault setup, which displays a QR code. Scan it with your mobile wallet (MetaMask Mobile, Rabby, etc.) and confirm the delegation signature on your phone. Done — no private key export required.

Or run it manually in the terminal:

jv vault setup --network jaspervault --pretty

4. Start Trading

Just talk to OpenClaw. Examples:

  • "Go long JBTC with 100 JUSDC, 50x leverage"
  • "Set take-profit for order 99 at 105000"
  • "Show my current positions"

Install for Other AI Platforms

jv skill install --ai cursor              # Cursor (current project)
jv skill install --ai cursor --global     # Cursor (user-level)
jv skill install --ai claude              # Claude Code (current project)
jv skill install --ai claude --global     # Claude Code (user-level)
jv skill install --ai all                 # All platforms at once

Options:

  • --global — Install to user home instead of current project (cursor/claude only)
  • --force — Overwrite existing skill file without prompting

Configuration

All configuration is done via environment variables. For most users, no configuration is needed — the CLI connects to the JasperVault test environment by default.

| Variable | Required | Description | Default | |----------|----------|-------------|---------| | JV_API_URL | No | Trading API base URL | https://trading-api-test.jaspervault.pro | | JV_API_KEY | No | Bearer token for API authentication | — | | JV_TIMEOUT | No | Request timeout in ms | 30000 | | JV_DELEGATION_KEY | No | Delegation wallet private key override; auto-generated on first vault init | from ~/.jaspervault/keys.json | | JV_BASE_RPC_URL | No | Base chain RPC URL override (for deposit) | built-in | | JV_JASPERVAULT_RPC_URL | No | JasperVault chain RPC URL override | built-in | | JV_SUBGRAPH_URL | No | Subgraph endpoint override | built-in per network | | WC_PROJECT_ID | No | WalletConnect Cloud project ID (get one at cloud.reown.com) | — | | PRIVATE_KEY | No* | EOA wallet private key; when set, deposit and vault init execute directly without WalletConnect | — |

* Not required when using the WalletConnect flow (vault setup, deposit).

Connecting to a Different Environment

Add to ~/.zshrc or ~/.bashrc:

export JV_API_URL=https://your-api-endpoint.example.com

Then restart your terminal or run source ~/.zshrc.

How Credentials Are Stored

After the first successful jv vault init or jv vault setup, the delegation wallet is saved to ~/.jaspervault/keys.json and your vault profile to ~/.jaspervault/profile.json. The CLI reads these automatically — no manual configuration needed for subsequent operations.


Funding Your Account (Optional)

To deposit tokens from Base to JasperVault, tell OpenClaw:

"Deposit 100 JUSDC into my vault"

Or run it directly:

jv deposit --token jusdc --amount 100 --pretty

The CLI auto-detects how to sign:

  • PRIVATE_KEY set → signs and sends the transaction directly
  • No PRIVATE_KEY → displays a WalletConnect QR code; scan with your mobile wallet to approve on your phone

Full Command Reference

For a complete list of available commands and trading examples, see the documentation:


Development

cd cli
npm install
npm run build
npm link              # makes `jv` available globally from local source

npm run typecheck     # TypeScript type checking
npm test              # Run tests
npm run dev -- orders list --pretty  # Run via tsx without building