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

blockchain-buddies

v0.1.2

Published

OpenClawd Blockchain Buddies CLI with Metaplex, OpenAI Codex, and Petdex-compatible integrations.

Readme

OpenClawd Blockchain Buddies CLI

The OpenClawd Blockchain Buddies CLI installs, browses, submits, and exports buddy packages for the OpenClawd agent stack.

It includes four integration paths in one package:

  • OpenClawd: installs buddies into ~/.openclawd/buddies.
  • Metaplex: generates Agent Registry metadata for Solana onchain identity flows.
  • OpenAI Codex: syncs buddies into the Codex-compatible ~/.codex/pets format.
  • Petdex CLI compatibility: keeps the legacy petdex binary and Petdex-compatible API environment variables.

Install

npx @openclawdsolana/blockchain-buddies --help
npm install -g @openclawdsolana/blockchain-buddies

The package exposes these binaries:

  • blockchain-buddies - primary OpenClawd command
  • buddies - short alias
  • petdex - legacy compatibility alias

Quick Start

blockchain-buddies list
blockchain-buddies install boba
blockchain-buddies codex sync boba
blockchain-buddies metaplex metadata boba --out boba-agent.json

Commands

| Command | What it does | | --- | --- | | blockchain-buddies list | Lists approved buddies from the live gallery manifest. | | blockchain-buddies install <slug> | Installs a buddy into ~/.openclawd/buddies/<slug>/. | | blockchain-buddies submit <path> | Submits a buddy folder, zip, or parent directory. | | blockchain-buddies login | Starts Clerk OAuth + PKCE for submissions. | | blockchain-buddies whoami | Prints the signed-in user. | | blockchain-buddies logout | Clears local credentials. | | blockchain-buddies codex install <slug> | Installs a buddy and syncs it into OpenAI Codex-compatible pets. | | blockchain-buddies codex sync [slug] | Copies one installed buddy, or all installed buddies, into ~/.codex/pets. | | blockchain-buddies metaplex metadata <slug\|path> [--out file] | Generates Metaplex Agent Registry metadata. | | blockchain-buddies petdex <command> | Runs Petdex-compatible commands through the new package. |

OpenClawd Buddy Layout

Install writes:

~/.openclawd/buddies/<slug>/
  pet.json
  spritesheet.webp or spritesheet.png
  openclawd-buddy.json

openclawd-buddy.json records where the buddy came from and gives OpenClawd tools a stable discovery target.

Override the install directory:

OPENCLAWD_BUDDIES_DIR=/path/to/buddies blockchain-buddies install boba

Metaplex Integration

Generate metadata for the Metaplex Agent Registry or other Solana identity workflows:

blockchain-buddies metaplex metadata boba --out boba-agent.json

The command is offline and safe: it reads a local buddy package and writes JSON. It does not mint assets, sign transactions, or use wallet secrets.

The generated metadata includes:

  • OpenClawd platform identity
  • Blockchain Buddies collection metadata
  • Metaplex Agent Registry integration marker
  • EIP-8004-compatible agent metadata marker
  • Codex and Petdex compatibility attributes
  • buddy asset file references

Use METAPLEX_AGENT_NETWORK to label the intended network:

METAPLEX_AGENT_NETWORK=solana-devnet blockchain-buddies metaplex metadata boba

OpenAI Codex Integration

Blockchain Buddies keeps the same pet.json and spritesheet.* asset shape expected by Codex-style pet tooling.

Install and sync one buddy:

blockchain-buddies codex install boba

Sync an already installed buddy:

blockchain-buddies codex sync boba

Sync every installed buddy:

blockchain-buddies codex sync

The Codex target defaults to ~/.codex/pets. Override it with:

CODEX_PETS_DIR=/path/to/codex/pets blockchain-buddies codex sync

Petdex CLI Compatibility

This package keeps Petdex compatibility in two ways:

  • The petdex binary still exists and points at this CLI.
  • The blockchain-buddies petdex <command> namespace routes to compatible commands.

Examples:

petdex list
blockchain-buddies petdex install boba
PETDEX_URL=https://petdex.example.com blockchain-buddies petdex list

The compatibility layer intentionally keeps pet.json naming because that is the shared package format.

Submit

A buddy folder or zip must contain:

pet.json
spritesheet.webp

or:

pet.json
spritesheet.png

Examples:

blockchain-buddies login
blockchain-buddies submit ~/.openclawd/buddies/boba
blockchain-buddies submit ~/Downloads/boba.zip
blockchain-buddies submit ~/.openclawd/buddies

Environment

The CLI defaults to https://buddies.solanaclawd.com.

| Variable | Purpose | | --- | --- | | BLOCKCHAIN_BUDDIES_URL | Override the OpenClawd Blockchain Buddies API base URL. | | BUDDIES_URL | Short alias for the API base URL. | | PETDEX_URL | Legacy alias for Petdex-compatible APIs. | | OPENCLAWD_BUDDIES_DIR | Override the OpenClawd install directory. | | BLOCKCHAIN_BUDDIES_DIR | Compatible alias for the OpenClawd install directory. | | CODEX_PETS_DIR | Override the OpenAI Codex-compatible pet directory. | | METAPLEX_AGENT_NETWORK | Labels generated Metaplex metadata, default solana-mainnet. | | BLOCKCHAIN_BUDDIES_CLERK_ISSUER | Clerk OAuth issuer for CLI login. | | BLOCKCHAIN_BUDDIES_CLERK_CLIENT_ID | Clerk public OAuth client ID for CLI login. | | CLERK_CLI_ISSUER | Compatible alias for the Clerk issuer. | | CLERK_OAUTH_CLIENT_ID | Compatible alias for the Clerk OAuth client ID. |

Auth tokens are stored in the OS keychain under blockchain-buddies-cli, with a file fallback at ~/.config/openclawd/blockchain-buddies/openclawd.json.