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

@missionsquad/agent-wallet

v1.0.0

Published

Universal multi-chain secure signing SDK for AI agents

Readme

agent-wallet

License: MIT Node.js

@missionsquad/agent-wallet is a TypeScript SDK and CLI for secure wallet-based signing on TRON and EVM chains.

The package is sign-only:

  • create or import wallets
  • resolve the active wallet
  • sign transactions, messages, and typed data
  • optionally use hosted adapters such as Privy

It does not broadcast transactions for you.

Install

npm install @missionsquad/agent-wallet
# or
pnpm add @missionsquad/agent-wallet

Install the CLI globally if needed:

npm install -g @missionsquad/agent-wallet

Quick Start

SDK

import { resolveWallet } from "@missionsquad/agent-wallet";

const wallet = await resolveWallet({ network: "tron:nile" });
const signature = await wallet.signMessage(new TextEncoder().encode("hello"));

resolveWallet automatically uses ~/.agent-wallet unless AGENT_WALLET_DIR is set.

CLI

Create an encrypted wallet:

agent-wallet start

List wallets:

agent-wallet list

Sign a message:

agent-wallet sign msg "MESSAGE" -n tron -p 'StrongPassword123!@#'

Wallet Types

| Wallet Type | Source | Networks | Password Required | Notes | |-------------|--------|----------|-------------------|-------| | local_secure | CLI config | EVM + TRON | Yes | Encrypted on disk; recommended. | | raw_secret | CLI config / env | EVM + TRON | No | Plaintext in config or env; dev only. | | privy | CLI config | EVM + TRON | No | Hosted signing through Privy. |

Public API

import {
  resolveWallet,
  resolveWalletProvider,
  ConfigWalletProvider,
  EnvWalletProvider,
  TenantWalletProvider,
} from "@missionsquad/agent-wallet";

resolveWallet

Returns a ready-to-sign Wallet:

const wallet = await resolveWallet({ network: "eip155:1" });
const signed = await wallet.signTransaction({ to: "0x...", value: 0 });

resolveWalletProvider

Returns either ConfigWalletProvider or EnvWalletProvider based on local config and environment.

TenantWalletProvider

TenantWalletProvider is intended for managed multi-tenant server deployments where each tenant owns one encrypted wallet directory:

import { TenantWalletProvider } from "@missionsquad/agent-wallet";

const provider = new TenantWalletProvider({
  tenantId: "41...",
  walletDir: "/srv/app/data/tenants/41.../agent-wallet",
  masterPassword: "derived-server-side-password",
  network: "tron",
});

const created = await provider.createPrimaryTronWallet();

Design rules:

  • one wallet per tenant (primary)
  • encrypted local_secure storage
  • no runtime_secrets.json required for managed tenant directories

Environment Variables

| Variable | Description | |---|---| | AGENT_WALLET_DIR | Wallet directory (default ~/.agent-wallet) | | AGENT_WALLET_PASSWORD | Password for local_secure wallets | | AGENT_WALLET_PRIVATE_KEY | Env fallback private key | | AGENT_WALLET_MNEMONIC | Env fallback mnemonic | | AGENT_WALLET_MNEMONIC_ACCOUNT_INDEX | Mnemonic derivation index |

Examples

Documentation

Development

pnpm install
pnpm test
pnpm build

License

MIT