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

@priven/cli

v0.3.0

Published

CLI for privacy-preserving pool queries on Solana via MagicBlock TEE

Readme

@priven/cli

Command-line interface for privacy-preserving pool queries on Solana via MagicBlock TEE.

Installation

npm install -g @priven/cli

Quick Start

# Initialize config
priven config init

# List Raydium CPMM pools (200k+ pools on mainnet)
priven pools list --limit 10

# Execute a private query
priven query --filter tvl:gte:1000000 --filter tvl:lte:10000000

# Verify TEE integrity
priven tee verify

Commands

priven query

Execute a privacy-preserving pool query.

priven query --filter tvl:gte:1000000 --filter tvl:lte:10000000
priven query --filter tvl:gte:5000000 --dry-run
priven query --filter tvl:gte:1000000 --max-pools 10 --output json

Filter format: TYPE:OP:VALUE

| Type | Description | |------|-------------| | tvl | Total Value Locked | | token_mint_0 | First token mint | | token_mint_1 | Second token mint | | reserve_0 | Token 0 reserve | | reserve_1 | Token 1 reserve | | lp_supply | LP token supply | | status | Pool status | | open_time | Pool open time |

| Op | Description | |----|-------------| | gte | Greater than or equal | | lte | Less than or equal | | eq | Equal | | neq | Not equal |

priven pools

Discover Raydium CPMM pools from mainnet.

priven pools list                    # List pools
priven pools list --limit 50         # Show more pools
priven pools get <address>           # Get pool details
priven pools stats                   # Show pool statistics

priven session

Session management (optional - queries work without sessions).

priven session open                  # Open a new query session
priven session list                  # List your active sessions
priven session close <session-id>    # Close session, return rent
priven session expire <session-id>   # Expire timed-out session

Sessions group queries for lifecycle management and stats tracking. They are optional - queries work without them using session_id=0.

priven anchor

Merkle anchoring commands (TEE operator/admin).

priven anchor status                 # View current anchor state
priven anchor init                   # Initialize anchor (admin only)
priven anchor batch <root> <count>   # Post Merkle batch (operator)

Anchoring provides verifiable proof that queries were processed by the TEE. The TEE operator posts Merkle roots of query result hashes to L1.

priven tee

TEE verification commands.

priven tee info                  # Show TEE configuration
priven tee verify                # Verify TEE integrity
priven tee verify --network mainnet

priven config

Configuration management.

priven config show               # Display current config
priven config init               # Create .privenrc file
priven config init --force       # Overwrite existing config

Configuration

Create a .privenrc file or set environment variables:

{
  "rpcUrl": "https://api.devnet.solana.com",
  "network": "devnet",
  "programId": "EMqLDAtqv5QPpBDk4fQtFDps7cXeWp1goNbra8fNWXaM",
  "wallet": "~/.config/solana/id.json"
}

Environment variables (override config file):

  • PRIVEN_RPC_URL
  • PRIVEN_NETWORK
  • PRIVEN_PROGRAM_ID
  • PRIVEN_WALLET
  • QUICKNODE_MAINNET_RPC - for pool fetching
  • QUICKNODE_DEVNET_RPC - for query execution

License

MIT