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

bore-miner

v1.0.1

Published

BORE mining CLI - agent-first, gasless by default, post-quantum AL8 PoW on Base

Downloads

83

Readme

bore-miner

AL8 BORE mining SDK and CLI for Base. Agent-first defaults are built in, so miners can run with no required CLI args after init.

Installation

npm install bore-miner
# or run directly
npx bore-miner --help

Agent-First Quick Start

# 1) Create owner EOA + smart wallet config (.env)
npx bore-miner init

# 2) Start continuous mining
npx bore-miner mine

Default bootstrap settings:

  • RPC: https://mainnet.base.org
  • Paymaster: https://www.minebore.com/api/sponsor
  • Network: Base Mainnet
  • Contract: auto-detected from network defaults

You can override any default with CLI flags or .env values.

CLI Commands

bore-miner --help
bore-miner init --help
bore-miner mine --help

Main commands:

  • init: create owner EOA key + gasless-smart-wallet config
  • mine: continuous mining loop
  • mine-epoch: mine one epoch and exit
  • status: current epoch phase/timers and minted counters
  • stats: chain-level tokenomics/burn metrics (RPC-only)
  • balance: owner + smart-wallet balances

Logging modes:

  • default: live status line (clean terminal UX)
  • --log-everything: full line-by-line logs for piping/agents

Self-pay runway model:

  • Commit gas: 70,000
  • Reveal gas: 105,000
  • Safety buffer: +10%
  • Miner estimates remaining mined-epoch runway and warns below 100 by default (--topup-warning-mines).

Mining Workflow (Current BoreAL8)

  1. Miner waits for commit window.
  2. Miner selects tx route per epoch:
    • gasless smart-wallet path when paymaster health is good
    • self-pay EOA path when paymaster is unavailable
  3. Miner grinds nonces (prefilter -> AL8 -> PoW) for the selected mining address.
  4. Miner submits commit and waits for confirmation.
  5. Miner waits for reveal window.
  6. Miner submits reveal, parses reward, and updates session counters.

Important protocol constraint

BoreAL8 keeps one active commit state per miner address. That means a single address cannot safely pipeline epoch N+1 commit while epoch N is still unrevealed.

For parallel mining across overlapping windows, use multiple mining addresses.

Programmatic Usage

import { BoreAL8Miner } from 'bore-miner';

const miner = new BoreAL8Miner({
  rpcUrl: 'https://sepolia.base.org',
  privateKey: process.env.PRIVATE_KEY!,
  contractAddress: process.env.CONTRACT_ADDRESS!,
  paymasterUrl: process.env.PAYMASTER_URL,
});

await miner.mine();

Fast Nonce Search API

import { al8 } from 'bore-miner';

const y = al8(challenge, minerAddress, nonce, epoch);

MCP Server

npx bore-miner-mcp

Available MCP tools:

  • bore_contract_probe
  • bore_status
  • bore_stats
  • bore_recent_events
  • bore_balance
  • bore_gasless_health
  • bore_mine_epoch
  • bore_init_wallet

License

MIT