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

torch-domain-auction-bot

v2.0.1

Published

domain lending position monitor and auto-liquidation skill using the torchsdk

Downloads

525

Readme

Torch Domain Auction

Domains become tokens. Tokens become collateral. Top holder controls the domain.

A domain lending protocol built on Torch Market. Domains are launched as tokens via bonding curves, permanently linked after migration, and backed by built-in lending markets. The top token holder controls the domain. Holders can borrow SOL against their tokens -- but get liquidated and you lose the domain.

How It Works

  1. Launch -- a domain is launched as a Torch Market token (bonding curve)
  2. Migrate -- after bonding completes, the domain is permanently linked to the token
  3. Lend -- holders lock tokens as collateral and borrow SOL (up to 50% LTV, 2% weekly interest)
  4. Liquidate -- if LTV crosses 65%, a keeper liquidates the position through a vault and collects a 10% bonus
  5. Rotate -- collateral changes hands, top holder changes, domain lease rotates

Structure

| Path | Description | |------|-------------| | packages/kit | Domain lending kit -- bot (lending monitor, liquidation keeper, lease manager) + scraper (domain discovery, evaluation, ticker generation) | | clawhub/ | ClawHub submission -- agent.json, SKILL.md, design.md, audit.md, bundled SDK + compiled kit |

Quick Start

# install
pnpm install

# build
pnpm --filter torch-domain-auction-bot build

# run (requires vault setup first -- see clawhub/SKILL.md)
VAULT_CREATOR=<pubkey> SOLANA_RPC_URL=<rpc> npx torch-domain-bot monitor

Configuration

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | SOLANA_RPC_URL | Yes | -- | Solana RPC endpoint. Fallback: BOT_RPC_URL | | VAULT_CREATOR | Yes | -- | Vault creator pubkey | | SOLANA_PRIVATE_KEY | No | -- | Agent keypair (base58 or JSON). Omit to generate fresh on startup | | BOT_SCAN_INTERVAL_MS | No | 60000 | Scan cycle interval (min 5000) | | BOT_RISK_THRESHOLD | No | 60 | Min risk score to liquidate (0-100) | | BOT_LOG_LEVEL | No | info | debug, info, warn, error |

Vault Safety

All operations route through a Torch Vault. The agent keypair is disposable -- generated in-process, holds nothing of value. The vault holds all SOL and collateral. The human principal retains full control: withdraw SOL, withdraw tokens, unlink the agent at any time.

Testing

Requires Surfpool running a mainnet fork:

surfpool start --network mainnet --no-tui
cd packages/kit && pnpm test:bot
cd packages/kit && pnpm test:scraper

Dependencies

All pinned to exact versions. No ^ or ~ ranges.

  • @solana/web3.js 1.98.4
  • torchsdk 3.7.23
  • @coral-xyz/anchor 0.32.1
  • @solana/spl-token 0.4.14

Links

License

MIT