Index of every page on this site: llms.txt
All skills
binance avatar

/binance-agentic-wallet

@f422171 #1 trending · Oct 2026
by binancebinance/binance-skills-hub1.1k stars
249
Run it yourself

Use when the user mentions wallet connect/sign in/sign out, check balance, send/transfer tokens, swap/buy/sell tokens, DEX trade, limit/market order, cancel order, get a quote, transaction history, wallet settings, daily limit, slippage, MEV protection, supported chains, send to ENS domain, send to .eth or .bnb name, resolve domain name to address, domain-based transfer, send to .ai Agent ID name, prediction market, place prediction, redeem winnings, prediction PnL, x402 payment, HTTP 402 Payment Required, check/revoke/manage token approvals, DeFi protocols, staking, liquidity pool, LP, yield farming, deposit, redeem, stake, unstake, claim rewards/fees, health factor, APY, TVL, sign external transaction, contract call, sign message, EIP-712, developer mode, speed up/cancel/replace transaction, pending/stuck transactions, gas price, gas fee, network fee, fee levels, gas tiers, or any on-chain wallet operation.

Use this Skill: https://skilld.dev/gh/binance/binance-skills-hub/binance-agentic-wallet

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesauthentication.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Authentication

Authentication Flow

Authentication flow:

  1. Initiate sign-in — run auth signin --json and display the returned pairingCode to the user. The pairingCode must be displayed verbatim.
  2. Open the link for the user — open the returned urlForWeb in the browser directly (e.g., open "<urlForWeb>" on macOS). The urlForWeb must be used verbatim from the JSON response — never modify, truncate, or reconstruct it. Also display the urlForWeb as a clickable link so the user can open it manually if the browser fails to launch.
  3. Confirm in Binance App — the user verifies the pairingCode matches and confirms sign-in in the Binance Wallet App.
  4. Verify — run auth verify --qrCodeId <qrCodeId> --json. This blocks until the user confirms in the Binance App (or times out after 5 minutes).

Sign-in troubleshooting

Sign-in has a few failure modes that the happy path above doesn't cover. Handle them explicitly instead of leaving the user stuck.

  • Keep signin / verify running until they finish. auth verify is a foreground, blocking call — it must stay running until the user confirms in the App. If the process is killed or backgrounded before it returns, the authentication may not land locally even if the App shows success. Do not start verify and then abandon it. If you're an agent that would otherwise reap a long-blocking child, keep it alive until it returns or times out.
  • QR / pairing code expires (~5 min). If auth verify returns an error like AUTH_REJECTED ("QR code does not exist or expired"), the code is stale. Do not keep retrying verify with the same qrCodeId — start over: run baw auth signin --json again to get a fresh code, show it, then verify the new qrCodeId.
  • App shows "signed in" but CLI still UNCONNECTED. This intermediate state can happen (e.g. verify returned SUCCESS but wallet status is still UNCONNECTED, or the blocking verify was interrupted). Re-check with baw wallet status --json; if still unconnected, restart the flow from auth signin (fresh code) rather than assuming the App's "success" means the CLI is connected. Confirm connection via wallet status, not via the App screen.
  • Confirm with wallet status, not the App. The source of truth for "am I connected" is baw wallet status --json, not what the Binance App displays.

auth signin

Start the sign-in flow. Open the returned urlForWeb in the browser so the user can scan the QR code with the Binance Wallet App.

Syntax

baw auth signin --json

Parameters

No command-specific parameters.

Example

baw auth signin --json

Response

{
  "success": true,
  "data": {
    "urlForWeb": "https://web3.binance.com/en/agent-login?expireAt=1772767626000&url=xxx",
    "qrCodeId": "a191884d-0e05-435b-a887-336bc242fafc",
    "expireAt": "1772767626000",
    "pairingCode": "654321"
  }
}

If already logged in:

{
  "success": true,
  "data": { "status": "ALREADY_CONNECTED" }
}

auth verify

Poll the QR-code scan status and wait for wallet creation to finish. This command blocks until the user confirms in the Binance App and the wallet is ready, or times out after 5 minutes.

Syntax

baw auth verify --qrCodeId <qrCodeId> --json

Parameters

Parameter Required Default Description
--qrCodeId Yes — QR code ID from auth signin --json response

Example

baw auth verify --qrCodeId a191884d-0e05-435b-a887-336bc242fafc --json

Response

Success:

{
  "success": true,
  "data": {
    "status": "SUCCESS"
  }
}

Timeout, rejection, or other failure:

{
  "success": false,
  "error": {
    "code": 10002004,
    "name": "AUTH_REJECTED",
    "message": "QR code does not exist or expired, please try a new code or restart the log in process."
  }
}

auth signout

Sign out of the wallet and clear the local session.

Syntax

baw auth signout --json

Parameters

No command-specific parameters.

Example

baw auth signout --json

Response

{
  "success": true,
  "data": { "status": "LOGGED_OUT" }
}

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings1d3 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    This skill provides a secure and well-structured interface for the Binance Agentic Wallet CLI. It includes numerous security guardrails such as mandatory user confirmations for all financial transactions, automatic token security audits before trading, and explicit defenses against prompt injection from on-chain data or third-party API outputs. All external dependencies and network calls are directed to official Binance or affiliate infrastructure.

  • Socket3d

    1 alert: gptSecurity

  • Snyk3d

    Risk: MEDIUM · 1 issue

Signed by skilld at f422171. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 13 hours ago.

Activeupdated 4 days ago
Other metadata
metadata
{
  "author": "binance-web3-team",
  "version": "1.13.0",
  "requiredCliVersion": "1.11.0",
  "openclaw": {
    "requires": {
      "bins": [
        "baw"
      ]
    },
    "install": [
      {
        "kind": "node",
        "package": "@binance/agentic-wallet",
        "bins": [
          "baw"
        ],
        "label": "Install Binance Agentic Wallet CLI (npm)"
      }
    ]
  }
}

README badge

README badge for binance/binance-skills-hub/binance-agentic-wallet