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/portfolio-cli-reference.md

View on GitHub
# Public-Address Portfolio — CLI Reference

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

## `portfolio chains`

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

## `portfolio total-value`

```bash
onchainos portfolio total-value --address <address> --chains <chains> [--asset-type <0|1|2>] [--exclude-risk <bool>]
```

`--chains` comma-separated (names or IDs). `--asset-type` default `0` (all / tokens / DeFi). `--exclude-risk` default `true` (ETH/BSC/SOL/BASE only). Returns `totalValue` (USD).

## `portfolio all-balances`

```bash
onchainos portfolio all-balances --address <address> --chains <chains> [--exclude-risk <0|1>] [--filter <0|1>]
```

`--chains` max 50. `--exclude-risk` default `0` (filter risky; ETH/BSC/SOL/BASE only). `--filter` default `0` (filters risk/custom/passive); `1` returns all incl. risk tokens (use when scanning for security risks). Returns `tokenAssets[]`: `chainIndex`, `tokenContractAddress`, `symbol`, `balance` (UI units), `rawBalance` (base units), `tokenPrice`, `isRiskToken`.

## `portfolio token-balances`

```bash
onchainos portfolio token-balances --address <address> --tokens <tokens> [--exclude-risk <0|1>]
```

`--tokens`: `chainIndex:tokenAddress` pairs, comma-separated, max 20 (empty address = native, e.g. `196:` for native OKB). Returns the same `tokenAssets[]` schema as `all-balances`.

## Examples

```bash
onchainos portfolio total-value --address 0xYourWallet --chains "xlayer,solana"
onchainos portfolio all-balances --address 0xYourWallet --chains "xlayer,solana,ethereum"
onchainos portfolio token-balances --address 0xYourWallet --tokens "196:,196:0x74b7f16337b8972027f6196a17a631ac6de26d22"
```
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