Skip to content

internet-court/internet-court-skill / vendored/okx/okx-agentic-wallet

okx-agentic-wallet

Unverified

OKX Agentic Wallet — the single skill for the user's wallet and on-chain execution. Use it whenever the user wants to operate their wallet or execute an on-chain action, including: login & accounts, balance / holdings, wallet address / deposit / receive, send / transfer, contract calls (approve / deposit / withdraw), transaction history & status, message signing, wallet export & policy; pay gas with a stablecoin (Gas Station, Solana); swap / trade / buy / sell / convert, get a quote; cross-chain bridge & track arrival; limit orders (buy dip / take profit / stop loss / buy above) plus cancel / list / resume them; broadcast / gas / simulate / track a transaction; look up any public address's holdings; security scanning (token / honeypot 蜜罐 / 貔貅, DApp phishing, tx & signature checks, approvals); audit log. Once matched, follow this skill's Intent Routing to dispatch to the exact action.

references/gateway-cli-reference.md

View on GitHub
# Transaction Gateway — CLI Reference

Syntax, parameters, and key return fields for the 6 `onchainos gateway` subcommands. Verify with `onchainos gateway <subcommand> --help` when unsure.

## `gateway chains`

Supported chains (no params). Returns `chainIndex`, `name`, `shortName`, `logoUrl`.

## `gateway gas --chain <chain>`

Current gas prices. Returns `normal` / `min` / `max` (legacy), `supporteip1559`, and `eip1559Protocol.{suggestBaseFee, baseFee, proposePriorityFee, safePriorityFee, fastPriorityFee}`. Solana: `proposePriorityFee`, `safePriorityFee`, `fastPriorityFee`, `extremePriorityFee`.

## `gateway gas-limit`

```bash
onchainos gateway gas-limit --from <address> --to <address> --chain <chain> [--amount <minimal_units>] [--data <hex>]
```

`--amount` default `"0"`; `--data` for contract interactions. Returns `gasLimit`.

## `gateway simulate`

```bash
onchainos gateway simulate --from <address> --to <address> --data <hex> --chain <chain> [--amount <minimal_units>]
```

Returns `intention`, `assetChange[]` (`symbol`, `rawValue`), `gasUsed`, `failReason` (empty = success), `risks[]`.

## `gateway broadcast`

Broadcast a fully signed transaction (this CLI does not sign).

```bash
onchainos gateway broadcast --signed-tx <tx> --address <address> --chain <chain> [--mev-protection]
```

| Param | Required | Description |
|---|---|---|
| `--signed-tx` | Yes | Fully signed tx (hex for EVM, base58 for Solana). |
| `--address` | Yes | Sender wallet address. |
| `--chain` | Yes | Chain name or ID. |
| `--mev-protection` | No | Boolean; enables MEV protection on EVM (`enableMevProtection: true`). See [gateway.md](gateway.md) → MEV Protection. |

Returns `orderId` (for status queries) and `txHash`.

## `gateway orders`

```bash
onchainos gateway orders --address <address> --chain <chain> [--order-id <id>]
```

Returns `cursor` and `orders[]`: `orderId`, `txHash`, `chainIndex`, `address`, `txStatus` (`1` Pending · `2` Success · `3` Failed), `failReason`.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall