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

@usenami/plugin-signer

v0.2.0

Published

ElizaOS plugin: place / cancel perp orders on 6 venues (Binance, OKX, Asterdex, KuCoin, Bybit, Hyperliquid), query account, and verify Nitro Enclave attestation through the Usenami Signer — keys never leave the enclave.

Readme

@usenami/plugin-signer

ElizaOS plugin for the Usenami Signer: place / cancel CEX or DEX orders, query account state, and verify the running Nitro Enclave attestation — without the agent ever holding the venue API key.

Status: v0 — works against six perp venues (Binance USD-M, OKX swap, Asterdex BSC, KuCoin Futures, Bybit V5 linear, Hyperliquid L1) via the same public gateway as @usenami/signer-mcp.

Why

If your ElizaOS agent trades on a CEX today, the API key lives in agent memory or in a .env file the agent process can read. That's the threat model — compromise the agent, compromise the key.

Usenami Signer keeps the key inside an AWS Nitro Enclave. HMAC and EIP-712 signatures are computed inside attested code. The agent calls the gateway, gets back a signed venue request, submits it, and reads the response. The key is never on disk, never in memory the agent can address, and the running code is provable via PCR0.

Install

npm install @usenami/plugin-signer

Add to your character:

import signerPlugin from "@usenami/plugin-signer";

export const character = {
  // ... existing config
  plugins: [signerPlugin],
  settings: {
    secrets: {
      SIGNER_GATEWAY_URL: "https://signer.usenami.io",
      SIGNER_API_TOKEN: "your-token-from-usenami.io/signer",
    },
  },
};

For local development you can also put the same vars in .env.

What the agent gets

Actions

| Name | Auth | Purpose | |---|---|---| | GET_SIGNER_ATTESTATION | none | Fetch the running enclave's PCR0 + registered_onchain flag. The trust receipt. | | LIST_SIGNER_VENUES | none | Static manifest of supported venues + auth schemes. | | GET_SIGNER_ACCOUNT | token | Equity / free margin / positions for a venue. Read-only signed request. | | PLACE_SIGNER_ORDER | token | Single market or limit order. Enclave enforces per-asset signature caps. | | CANCEL_SIGNER_ORDER | token | Cancel by order_id (+ symbol for binance / okx routes). |

Providers

SIGNER_ATTESTATION_PROVIDER runs every turn (60-second cache) and surfaces a one-line [signer] running enclave PCR0=… on-chain=… snippet to the agent's context. Lets the agent answer "what code is signing my orders?" without an explicit action call.

Supported venues

LIST_SIGNER_VENUES returns all six (read-only static manifest, no gateway call):

| venue id | asset class | auth scheme | symbol example | |---------------------|-------------|----------------------|-----------------| | binance | perp | hmac_sha256 | BTCUSDT | | okx | perp | hmac_sha256 | BTC-USDT-SWAP | | asterdex | perp | eip712 (bsc) | BTC-USD | | kucoin | perp | hmac_sha256 | XBTUSDTM | | bybit | perp | hmac_sha256 | BTCUSDT | | hyperliquid_main | perp | eip712 (hyperliquid) | BTC |

Which venues a given token may trade is bound server-side to that token's policy; LIST_SIGNER_VENUES reports the full set the gateway can sign.

Same contract as signer-mcp

This plugin and @usenami/signer-mcp share the same gateway protocol:

  • Same env vars (SIGNER_GATEWAY_URL, SIGNER_API_TOKEN, SIGNER_FETCH_TIMEOUT_MS).
  • Same Option-A signed-request bundle pattern (/account, /sign/order, /sign/cancel return one or more SignedRequests; client submits, reads the venue response).
  • Same 6-venue set (binance / okx / asterdex / kucoin / bybit / hyperliquid_main), in lockstep with signer-mcp v0.2.0.

If you already use signer-mcp with Claude Desktop or Cursor, the token you have works here unchanged.

What v0 deliberately does NOT do

  • stdio MCP transport (use @usenami/signer-mcp for that).
  • Multi-account per venue per token.
  • Withdrawals, transfers, or leverage configuration.
  • Streaming / WebSocket data.

Verify the enclave

curl https://signer.usenami.io/attestation

Returns {pcr0_sha384, registered_onchain, timestamp_ms}. Cross-check pcr0_sha384 against the published build hash at usenami.io/signer/attestations, and against the on-chain registry at 0x38b42eED740b0fDeb211bBDf773F2238cAEec240 on Base mainnet.

License

MIT.