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

relayer-cli

v0.1.0

Published

CLI for relayer account onboarding and transaction flows.

Readme

relayer-cli

CLI for relayer account onboarding and transaction flows.

Account Create

Create a new account (interactive password prompt):

relayer account create

Create a named profile in local dev:

relayer account create --env dev --name alice

Keystore layout (new profiles):

~/.config/towns/relayer-cli/profiles/<env>/<profile>/default.keystore.json
~/.config/towns/relayer-cli/profiles/<env>/<profile>/sessions/default.json

Resume a previously created profile:

relayer account create --resume --env dev --name alice

Non-interactive mode (stdin password + JSON output):

echo "my-password" | relayer account create --password-stdin --json

Use an explicit keystore path:

relayer account create --keystore-path ~/.config/towns/relayer-cli/profiles/dev/team/default.keystore.json --env dev

Account Export

Export metadata only (safe default):

relayer account export --env dev --name alice

Export metadata in JSON:

relayer account export --env dev --name alice --json

Export decrypted private keys (interactive confirmation required):

relayer account export --env dev --name alice --show-private

Account Address

Print the main/root account address:

relayer account address --env dev --name alice

Account Balance

Check USDC balance for the main/root account on Base (default):

relayer account balance --env dev --name alice

Check USDC balance on Polygon:

relayer account balance --env prod --name alice --chain polygon

For local dev (--env dev), default chain is Anvil (http://127.0.0.1:8545). You can override with --chain.

Account Send

Send USDC to an address:

relayer account send 1 0x1111111111111111111111111111111111111111

Send USDC to ENS on Base:

relayer account send 2.5 vitalik.eth --chain base

Send USDC on Polygon with JSON output:

relayer account send 10 0x1111111111111111111111111111111111111111 --chain polygon --env prod --json

Local dev defaults to Anvil:

relayer account send 1 0x1111111111111111111111111111111111111111 --env dev

Account Status

Show compact readiness status (doctor + status):

relayer account status --env dev --name alice

Show detailed diagnostics, including session permission diff:

relayer account status --env dev --name alice --verbose

JSON output for automation:

relayer account status --env prod --name alice --chain polygon --json

Note: session permission mismatches are reported as warnings in this version and do not flip readiness by themselves.

Troubleshooting:

# If root keystore exists but session file is missing/corrupt, restore or recreate:
rm ~/.config/towns/relayer-cli/profiles/dev/alice/default.keystore.json
rm -rf ~/.config/towns/relayer-cli/profiles/dev/alice/sessions
relayer account create --env dev --name alice