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

@crossmint/lobster.cash

v0.3.16

Published

OpenClaw plugin for Solana wallet integration with Crossmint smart wallets

Downloads

1,876

Readme

Lobster.Cash Wallet Plugin

Give your OpenClaw agent a wallet that can hold virtual credit cards, and stablecoins in Solana.

Overview

This plugin enables OpenClaw agents to:

  • Generate and manage local Solana signing keys
  • Pair with a user wallet using consent-based setup (/api/claw/setup/*)
  • Check wallet balances
  • Create, approve, and track wallet transactions
  • Send tokens (backward-compatible convenience wrapper)

Installation

openclaw plugins install @crossmint/lobster.cash

Configuration

Enable the plugin in ~/.openclaw/.openclaw.json5:

{
  plugins: {
    entries: {
      "lobster.cash": {
        enabled: true,
        config: {
          serverBaseUrl: "https://www.lobster.cash",
          requestTimeoutMs: 15000,
        },
      },
    },
  },
}

If you previously installed an older build that used the openclaw-wallet id, remove that entry and extension to avoid duplicate plugin warnings.

Setup Workflow

Step 1: Start setup

Ask the agent: "Set up my lobster.cash wallet"

The plugin will:

  1. Generate (or reuse) a local signer keypair
  2. Call POST /api/agent/setup/sessions
  3. Sign pairingNonce locally
  4. Call POST /api/agent/setup/sessions/{setupSessionId}/verify
  5. Return a consent URL for the user to open

Step 2: User approves consent URL

Open the URL in browser and approve.

Step 3: Finalize setup

Run lobster_setup again.

The plugin will:

  1. Poll GET /api/agent/setup/sessions/{setupSessionId}
  2. Read retrievalNonce when approved
  3. Sign retrievalNonce
  4. Call POST /api/agent/setup/sessions/{setupSessionId}/retrieve
  5. Store walletAddress, accessToken, refreshToken, and expiry locally

Authentication Model

  • Protected calls use Authorization: Bearer <accessToken>
  • On expiry, plugin refreshes automatically via:
    • POST /api/agent/token/refresh/init
    • POST /api/agent/token/refresh
  • Refresh is proof-of-possession gated (signed nonce)

Tools

| Tool | Description | | --------------------- | --------------------------------------------- | | lobster_setup | Start/finalize server-based setup flow | | lobster_balance | Check wallet balances | | lobster_tx_create | Create transaction and return message to sign | | lobster_tx_approve | Approve/broadcast transaction with signature | | lobster_wallet_info | Get wallet/setup session info | | lobster_tx_status | Check transaction status | | lobster_send | Convenience wrapper: transfer create+approve |

Recommended Integration Flow

For cross-skill interoperability (e.g. external checkout/orchestration skills), use the atomic transaction flow:

  1. lobster_tx_create (type: transfer, serialized, or calls)
  2. lobster_tx_approve (provide signature or let lobster sign messageToSign)
  3. lobster_tx_status (optionally with wait: true)

lobster_send remains available for simple transfer UX and backward compatibility.

Local Storage

Plugin state is stored at:

  • ~/.openclaw/lobster-cash/wallets.json
  • or LOBSTER_CASH_WALLETS_DIR if set

Per agent it stores:

  • local signer keypair
  • pairing/setup state
  • wallet address
  • access/refresh tokens

Migration Note

If you previously configured wallet + API key manually, run lobster_setup again to migrate.

Development Testing

From the monorepo root:

pnpm run test:plugin:unit
pnpm run test:plugin:integration
pnpm run test:plugin

Test files are intentionally kept outside the publishable plugin package, under plugins/openclaw/tests/.

Coverage includes:

  • tool/api/wallet unit tests
  • plugin registration + tool wiring
  • package/manifest metadata sync checks (openclaw.plugin.json vs package.json)
  • local end-to-end plugin flow over HTTP mock server (setup, refresh, balance, tx create/approve, send, status)

For real server validation (no mocks), use the live scripts:

pnpm run e2e:plugin:setup
pnpm run e2e:plugin:balance

These live scripts preflight-check localhost server reachability before executing.

Optional destructive checks:

PLUGIN_LIVE_SEND_CONFIRM=YES PLUGIN_LIVE_SEND_RECIPIENT=<address> pnpm run e2e:plugin:send

See plugins/openclaw/tests/README.md for full live test configuration.