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

@sequence0/agent

v2.4.5

Published

Sequence0 Network — Run an agent node

Readme

@sequence0/agent (Legacy npm wrapper)

Legacy npm wrapper for the Sequence0 FROST signing agent binary. This package installs a platform-specific native binary via npm but is no longer the recommended installation method.

Recommended: Install via curl -fsSL https://install.sequence0.network | sh — no Node.js required. This installs BlockClaw, which manages the agent binary automatically with AI-powered monitoring, self-healing, and an interactive CLI.

App developers: Use @sequence0/sdk to build applications on top of the Sequence0 network.

Install

# Recommended: BlockClaw (manages agent binary, no Node.js required)
curl -fsSL https://install.sequence0.network | sh
blockclaw setup

Alternative: npm install

# Legacy npm install (requires Node.js)
npm install -g @sequence0/agent

# Or one-shot with npx
npx @sequence0/agent --network mainnet

Quick Start

# Run on mainnet
sequence0-agent --network mainnet

# Run on testnet
sequence0-agent --network testnet

# Custom config
sequence0-agent \
  --network mainnet \
  --port 9000 \
  --api-port 8080 \
  --data-dir ~/.sequence0/data

Alternative Installation

# curl installer
curl -fsSL https://install.sequence0.network | sh

# Build from source
git clone https://github.com/sequence0network/sequence0.git
cd sequence0/agent-node
cargo build --release

# Docker
docker run -d -p 9000:9000 -p 8080:8080 sequence0/agent --network mainnet

First Run

On the first start, the agent automatically generates a new wallet:

$ sequence0-agent --network mainnet

  Starting Sequence0 Agent v2.0.0
  Network: mainnet (chain 800801)

  ╔══════════════════════════════════════════════════════╗
  ║  New Wallet Generated                               ║
  ╠══════════════════════════════════════════════════════╣
  ║  Address:     0x7a3b...c4f2                         ║
  ║  Private Key: 0x9e1f...8a3d                         ║
  ╠══════════════════════════════════════════════════════╣
  ║  Save your private key — it will NOT be shown again ║
  ╚══════════════════════════════════════════════════════╝

Important: The private key is shown only once on first run. Copy it somewhere safe.

The wallet keystore is encrypted (AES-256-GCM) and saved to ~/.sequence0/data/wallet.json. On subsequent runs, the agent loads this keystore automatically.

Wallet Management

The agent resolves your wallet using a 3-tier priority:

| Priority | Source | Use Case | |----------|--------|----------| | 1 | SEQUENCE0_WALLET_KEY=0x... env var | CI/CD, automation | | 2 | Keystore at ~/.sequence0/data/wallet.json | Normal restarts | | 3 | Interactive generation (first run) | Initial setup |

Registration

Free for the first 1,000 agents! No registration fee required — just fund your wallet with a small amount of ETH for gas (~0.001 ETH). After 1,000 agents have joined, the standard 0.1 ETH registration fee applies.

The agent auto-registers on the AgentRegistry contract at startup. Once registered, it begins receiving DKG and signing requests.

For testnet ETH, use the faucet: https://faucet.sequence0.network

How It Works

@sequence0/agent is a thin npm wrapper (used internally by BlockClaw) that installs the correct native binary for your platform:

| Package | OS | Arch | |---|---|---| | @sequence0/agent-darwin-arm64 | macOS | Apple Silicon | | @sequence0/agent-darwin-x64 | macOS | Intel | | @sequence0/agent-linux-x64 | Linux | x86_64 | | @sequence0/agent-linux-arm64 | Linux | ARM64 |

npm resolves os + cpu fields automatically — only your platform's binary (~20MB) is downloaded.

CLI Options

| Flag | Default | Description | |------|---------|-------------| | --network | mainnet | Network: mainnet or testnet | | --port | 9000 | P2P listen port | | --api-port | 8080 | Agent control port | | --data-dir | ~/.sequence0/data | Persistent key storage | | --log-level | info | Log level: debug, info, warn, error | | --rpc-url | (auto) | Custom RPC URL | | --bootstrap | (auto) | Bootstrap peer multiaddr |

What the Agent Does

On startup, the agent:

  1. Connects to the Sequence0 RPC (chain 800801 mainnet / 800800 testnet)
  2. Joins the P2P mesh via bootstrap peers and Kademlia DHT + GossipSub
  3. Auto-registers on the AgentRegistry contract (FREE for first 1,000 agents)
  4. Begins receiving DKG ceremonies and signing requests
  5. Earns fees in ETH on the Sequence0 chain (chain 800801) for every co-signed transaction

Agent Communication

When managed by BlockClaw (recommended), the agent communicates via IPC (Unix domain socket at ~/.sequence0/agent.sock). BlockClaw handles all agent interactions automatically.

For direct binary usage, the agent exposes an HTTP interface on port 8080. See the SDK documentation for details.

Earning Fees

Agents earn fees for every transaction they co-sign:

  • Fee split: 80% to participating agents, 10% treasury, 10% reserve
  • Fee currency: Paid in ETH on the Sequence0 chain (chain 800801)
  • Accrual: Fees accrue in the FeeCollector contract (0xccd70007534c33b0ab3997d81207fea5e59ca54a)
  • Auto-withdrawal: The agent automatically withdraws accrued earnings every hour
  • Manual withdrawal: Call withdraw() on the FeeCollector contract from your agent's wallet

Requirements

  • 2+ CPU cores, 4GB RAM, 50GB SSD
  • Public IP with port 9000 (P2P) open
  • Registration: FREE for first 1,000 agents (0.1 ETH after)

Networks

| | Mainnet | Testnet | |---|---|---| | Chain ID | 800801 | 800800 | | RPC | https://rpc.sequence0.network | https://testnet-rpc.sequence0.network | | Explorer | https://explorer.sequence0.network | https://testnet.sequence0.network |

Uninstall

# If using BlockClaw (recommended):
blockclaw uninstall

# If using the standalone npm package:
npm uninstall -g @sequence0/agent

# (Optional) Remove wallet keystore and all local data
rm -rf ~/.sequence0

Warning: ~/.sequence0/data/wallet.json contains your encrypted wallet keystore. Back up your private key before deleting this directory.

License

MIT