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

refinore-cli

v1.1.0

Published

CLI tool for ORE mining on Solana via refinORE

Readme

refinore-cli

⛏️ CLI tool for ORE mining on Solana via refinORE

The easiest way to mine $ORE on Solana from the command line. Powered by refinORE — the most advanced ORE mining platform with full AI agent API support.

Quick Start

Install and start mining with one command:

npx -y refinore-cli --auto-mine

This will:

  1. Prompt for your refinORE API key (if not configured)
  2. Start mining with sensible defaults (0.01 SOL, 15 tiles, optimal strategy)

After the first run, the refinore command will be available globally.

Installation

Via npx (Recommended)

npx refinore-cli init

Global Install

npm install -g refinore-cli
refinore init

Setup

  1. Get an API Key

    • Visit automine.refinore.com
    • Sign in with email
    • Go to Settings → API Keys → Create Key
    • Copy your API key (starts with rsk_)
  2. Initialize CLI

    refinore init

    Paste your API key when prompted.

  3. Fund Your Wallet

    refinore deposit

    Follow the instructions to add SOL or USDC to your wallet.

  4. Start Mining

    refinore mine

Commands

refinore init

Set up the CLI with your refinORE API key.

refinore mine

Start a new mining session.

Options:

  • -a, --amount <amount> - Amount to deploy per round (default: 0.01)
  • -t, --tiles <tiles> - Number of tiles 1-25 (default: 15)
  • --token <token> - Mining token: SOL, USDC, ORE, stORE, SKR (default: SOL)
  • -m, --mode <mode> - Tile selection: optimal, random, custom (default: optimal)
  • --ev-min <number> - Minimum EV% to mine (e.g., 5 = only mine if EV > 5%)
  • --motherlode-min <number> - Minimum motherlode ORE to mine
  • --sol-deployed-max <number> - Maximum total SOL deployed to mine
  • --no-auto-restart - Disable auto-restart after each round

Examples:

# Interactive mode (prompts for settings)
refinore mine

# Quick start with defaults
refinore mine -a 0.01 -t 15 --token SOL

# Conservative mining (fewer tiles)
refinore mine -a 0.005 -t 10

# Aggressive (all tiles)
refinore mine -a 0.02 -t 25

# Mine with USDC (stablecoin)
refinore mine -a 0.01 -t 15 --token USDC

# Only mine when EV is positive
refinore mine -a 0.01 -t 15 --ev-min 5

# Only mine when motherlode is big
refinore mine -a 0.01 -t 15 --motherlode-min 100

# Only mine in low-competition rounds
refinore mine -a 0.01 -t 15 --sol-deployed-max 1000

refinore status

Show your current mining session status, including:

  • Session configuration
  • Rounds played / won
  • ORE earned
  • Current round info (motherlode, EV, time remaining)

refinore balance

Show wallet token balances for SOL, ORE, USDC, stORE, and SKR.

refinore stop

Stop the active mining session.

refinore history

Show recent mining rounds with results.

Options:

  • -l, --limit <limit> - Number of rounds to show (default: 20)

Example:

refinore history -l 50

refinore deposit

Show deposit instructions and your wallet address.

refinore whoami

Show your account information and configuration.

Configuration

Config is stored at ~/.refinore/config.json:

{
  "apiKey": "rsk_...",
  "apiUrl": "https://automine.refinore.com/api",
  "walletAddress": "..."
}

You can also use environment variables:

  • REFINORE_API_KEY - Your API key
  • REFINORE_API_URL - API base URL (optional)

Mining Strategies

Tile Selection Modes

  • optimal (default) - refinORE AI picks the best tiles based on historical data
  • random - Random tile selection (higher variance)
  • custom - Manual tile selection (advanced)

Advanced Thresholds

Control when to mine based on round conditions:

  • --ev-min - Only mine when Expected Value (EV) exceeds this percentage

    • Example: --ev-min 5 = only mine rounds with EV > 5%
    • Helps avoid negative EV rounds and maximizes profitability
  • --motherlode-min - Only mine when motherlode jackpot is large enough

    • Example: --motherlode-min 100 = only mine when motherlode > 100 ORE
    • Great for jackpot hunting strategies
  • --sol-deployed-max - Only mine in low-competition rounds

    • Example: --sol-deployed-max 1000 = skip rounds with >1000 SOL deployed
    • Reduces competition and increases win probability

Multi-Coin Mining

Mine with any supported token:

  • SOL - Deploy Solana directly
  • USDC - Stablecoin mining (auto-swap to/from SOL)
  • ORE - Compound your ORE earnings
  • stORE - Staked ORE (earn staking rewards while mining!)
  • SKR - Seeker token

Why refinORE?

refinORE is the only ORE mining platform with:

  • Full REST API for CLI/automation
  • Real-time EV (Expected Value) - know if a round is profitable
  • Motherlode tracking - watch the jackpot grow
  • Multi-coin mining - SOL, USDC, ORE, stORE, SKR
  • Advanced strategies - AI-optimized tile selection
  • Auto-restart - mine 24/7 without intervention
  • Card/Apple Pay deposits - via Coinbase onramp

Troubleshooting

"Not configured. Run: refinore init"

You need to set up your API key first. Run refinore init.

"API error 401"

Your API key is invalid or expired. Run refinore init to update it.

"insufficient funds"

Your wallet doesn't have enough SOL/USDC. Run refinore deposit for instructions.

"already have an active mining session"

Stop your current session first with refinore stop.

Support

License

MIT


Made with ⛏️ by the refinORE community