New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@agonx402/agent-wallet

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agonx402/agent-wallet

Generic local agent wallet and signer hook for Agon Gateway SIWX and x402 flows.

latest
Source
npmnpm
Version
0.4.2
Version published
Maintainers
1
Created
Source

@agonx402/agent-wallet

Default SIWX-only signer for Agon Gateway Tokens API routes (sign-in-with-x). It keeps first-time agent setup low-friction: create a wallet, point AGON_SIGNER_COMMAND at authorize.

Not supported here: x402 exact-payment signing. For paid RPC/DAS/Helius-style exact routes, use a different AGON_SIGNER_COMMAND that returns PAYMENT-SIGNATURE / X-PAYMENT.

npx -y @agonx402/agent-wallet setup --profile default
npx -y @agonx402/agent-wallet show --profile default
npx -y @agonx402/agent-wallet authorize --stdin

authorize reads a normalized kind: "siwx" auth request from stdin and returns signer output:

{
  "headers": {
    "SIGN-IN-WITH-X": "..."
  },
  "address": "...",
  "chainId": "solana:..."
}

External wallets replace this hook with the same stdin JSON / stdout JSON contract via AGON_SIGNER_COMMAND.

Keywords

agon

FAQs

Package last updated on 02 May 2026

Related posts