okx-agentic-wallet

Manages OKX Agentic Wallet authentication, balances, transfers, contract calls, and message signing via onchainos CLI.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/Nith567/xlayer-skills-arena --skill okx-agentic-wallet-nith567
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: okx-agentic-wallet
Source: https://github.com/Nith567/xlayer-skills-arena/tree/main/okx-agentic-wallet
Command: npx skills add https://github.com/Nith567/xlayer-skills-arena --skill okx-agentic-wallet-nith567

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing a self-custody crypto wallet across multiple chains (X Layer, EVM, Solana) requires juggling authentication, balance queries, token transfers, transaction history, and smart contract interactions. This Skill turns those operations into natural-language commands executed through the OKX onchainos CLI with TEE-based signing. ## Core Features & Use Cases - Wallet Authentication & Accounts: Email OTP or API Key login, account creation, switching, status checks, and logout, with locale-aware verification flows. - Balances & Transfers: Query authenticated balances per chain or token, send native and ERC-20/SPL tokens with simulation checks and confirmation handling. - Contract Calls & Signing: Execute non-swap smart contract calls with optional MEV protection, and sign messages via personalSign (EVM + Solana) or EIP-712 (EVM only). - Use Case: Ask "send 100 USDC to 0xAbc on Base" — the Skill resolves the chain ID, validates the recipient, runs pre-execution simulation, handles any confirmation prompt, and broadcasts the transaction with TEE signing. ## Quick Start Ask the agent to show your wallet balance or send a specific amount of a token to an address on a named chain, and it will handle login, chain resolution, and execution.

Frequently Asked Questions about okx-agentic-wallet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send USDC or other ERC-20 tokens from my OKX wallet?▼

Use the wallet send command with --readable-amount for the human-readable amount, --receipt for the recipient address, --chain for the numeric chain ID, and --contract-token for the token contract address. The CLI runs a simulation first and will not broadcast if it fails.

How does OKX Agentic Wallet sign transactions without exposing my private key?▼

Signing uses a TEE (Trusted Execution Environment) where the private key is generated and stored inside a server-side secure enclave and never leaves it. The send and contract-call flows are atomic: unsigned transaction, signing, and broadcast happen in one command.

Can I use chain names like ethereum or solana instead of chain IDs?▼

No, the --chain parameter only accepts numeric chain IDs such as 1 for Ethereum, 501 for Solana, or 196 for X Layer. The agent infers the correct ID from your input and asks for confirmation if it is not confident.

Does the wallet support MEV protection on Solana?▼

Yes, but Solana MEV protection requires both the --mev-protection flag and the --jito-unsigned-tx parameter containing Jito bundle unsigned transaction data. Ethereum, BSC, and Base support MEV protection without extra parameters.

Why did my wallet command return a confirming response with exit code 2?▼

Exit code 2 means the backend requires explicit user confirmation, typically for high-risk transactions. The agent displays the message to you, and only after you confirm does it re-run the same command with the --force flag appended.

Can I sign EIP-712 typed data on Solana?▼

No, EIP-712 typed structured data signing is supported on EVM chains only. Solana supports personalSign (EIP-191 style) message signing, which returns a base58-encoded signature along with the signer's public key.