← 返回 Skills 市场
ok-james-01

Okx Onchain Gateway

作者 ok-james-01 · GitHub ↗ · v2.6.0 · MIT-0
cross-platform ⚠ suspicious
673
总下载
0
收藏
7
当前安装
8
版本数
在 OpenClaw 中安装
/install okx-onchain-gateway
功能描述
Use this skill to 'broadcast transaction', 'send tx', 'estimate gas', 'simulate transaction', 'check tx status', 'track my transaction', 'get gas price', 'ga...
安全使用建议
This skill is coherent with its purpose: it relies on an external onchainos CLI distributed via GitHub releases and includes checksum verification steps. Before installing, review the installer script and checksums on the referenced GitHub repo (https://github.com/okx/onchainos-skills) to ensure they match official releases, run the installer in a controlled environment if possible, and avoid pasting private keys into command lines. If you plan to use a personal API key, confirm where that key should be stored and prefer a secure secret store over a plaintext .env file. If you are uncomfortable executing remote installers, decline installation or request a sealed/bundled binary from a trusted source.
功能分析
Type: OpenClaw Skill Name: okx-onchain-gateway Version: 2.6.0 The skill instructions in SKILL.md mandate a 'curl | bash' pattern, directing the AI agent to download and execute shell scripts (install.sh) or PowerShell scripts (install.ps1) from a remote GitHub repository (okx/onchainos-skills) during 'Pre-flight Checks'. While the instructions include SHA256 checksum verification and appear intended for legitimate tool maintenance of the OKX Onchain OS CLI, the requirement for an AI to autonomously fetch and run installers from the internet represents a significant security risk and a high-privilege execution pattern.
能力标签
cryptorequires-walletcan-sign-transactionsrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description match the runtime instructions: the skill routes user requests to an onchain CLI (onchainos) for gas estimation, simulation, broadcasting, and order tracking across multiple chains. No unrelated credentials or unrelated binaries are requested in the manifest.
Instruction Scope
The SKILL.md instructs the agent to fetch releases and an installer from GitHub, verify checksums, run the installer, run the installed onchainos CLI, and read/write files under ~/.onchainos, ~/.local/bin, and temp dirs. These file and network operations are consistent with installing and using a CLI but they do grant the skill the ability to read and write user-local files and execute a downloaded installer — the instructions do not attempt to access unrelated secrets, but they do reference local paths not declared in the manifest (which is expected for an installer).
Install Mechanism
There is no registry install spec in the package, but the instructions download an installer script and checksums from raw.githubusercontent.com and GitHub releases and execute that installer. Using GitHub as the source and requiring SHA256 verification is a reasonable practice, but executing a remote install script is higher-risk than an instruction-only skill that never writes to disk.
Credentials
The skill declares no required environment variables or credentials. The documentation mentions a shared API key and suggests creating a personal key if rate-limited, but it does not demand unrelated secrets or multiple unrelated credentials. This is proportionate to the stated gateway functionality.
Persistence & Privilege
always:false and the skill does not request elevated platform privileges. However, the runtime instructions install a persistent CLI binary (writes to ~/.local/bin or similar) which results in on-disk persistence outside the agent's ephemeral runtime. That behavior is reasonable for a CLI-based gateway but is a persistent footprint the user should be aware of.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install okx-onchain-gateway
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /okx-onchain-gateway 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.6.0
- Version bumped to 2.6.0 in metadata. - No functional changes or new features introduced. - Documentation and command references remain unchanged from the previous version.
v2.4.0
- Version updated to 2.4.0. - No other visible changes or new features in this release.
v2.2.10
- Skill version updated to 2.2.10. - The pre-flight check process now continues with version drift checks even if earlier steps are skipped (clarified step 1). - Version drift checks (step 4) are now marked as always required, with updated instructions for warning if the CLI version is newer than the skill version. - Minor wording corrections for accuracy and clarity in installation flow.
v2.2.7
okx-onchain-gateway 2.2.7 - Updated skill version to 2.2.7 in metadata. - Removed the "Wallet Tips" section from the documentation. - Documentation is now more concise, focusing on pre-flight checks and core usage. - Clarified and updated chain table entries (e.g., added correct Base chainIndex). - No changes to code or file structure; this is a documentation and metadata update only.
v2.0.0
okx-onchain-gateway 2.0.0 introduces major security, guidance, and multilingual updates. - Adds stronger installation workflow with version, checksum, and integrity verification steps for enhanced security. - New wallet tips: each conversation randomly shows one helpful tip after the first wallet command. - Expands keyword/intent matching to cover more terms, including Chinese queries and colloquial phrasing. - Updates instructions: prefers manual user intervention on failures, removes auto-reinstall on errors. - License updated to MIT. - Adds CLI reference documentation in the `references/cli-reference.md` file.
v1.0.2
okx-onchain-gateway 1.0.2 - Updated metadata version to 1.0.2. - Clarified `.env` file configuration instructions (added note about "OKX_ACCESS_KEY"). - Minor formatting and punctuation changes in the description for improved clarity. - No functional or feature changes to skill logic.
v1.0.1
- Migrated documentation to CLI-based usage, replacing REST API and TypeScript examples with clear Bash command instructions. - Added pre-flight checks for installation and auto-update of the `onchainos` CLI before running any gateway command. - Updated skill to reference chain names (e.g., "xlayer", "ethereum") and provided chain name/ID table for improved usability. - Provided new CLI quickstart, command reference, and unified operation flow tailored for CLI users. - Clarified cross-skill workflows and next-step suggestions using the new CLI approach. - Bumped metadata version to 1.0.1.
v1.0.0
Initial release of okx-onchain-gateway skill: - Provides on-chain transaction operations such as gas estimation, transaction simulation, broadcasting, and order tracking across 20+ blockchains. - Supports key endpoints for gas price retrieval, gas limit estimation, transaction simulation, signed tx broadcasting, and order status tracking. - Authentication via HMAC-SHA256 using API keys and environment variables; credentials must never be exposed to users. - Intended to handle user workflows involving sending, simulating, and tracking on-chain transactions (not for swap quoting/execution or programming queries). - Includes developer quickstart examples, workflow outlines, and guidance on endpoint usage.
元数据
Slug okx-onchain-gateway
版本 2.6.0
许可证 MIT-0
累计安装 8
当前安装数 7
历史版本数 8
常见问题

Okx Onchain Gateway 是什么?

Use this skill to 'broadcast transaction', 'send tx', 'estimate gas', 'simulate transaction', 'check tx status', 'track my transaction', 'get gas price', 'ga... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 673 次。

如何安装 Okx Onchain Gateway?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install okx-onchain-gateway」即可一键安装,无需额外配置。

Okx Onchain Gateway 是免费的吗?

是的,Okx Onchain Gateway 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Okx Onchain Gateway 支持哪些平台?

Okx Onchain Gateway 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Okx Onchain Gateway?

由 ok-james-01(@ok-james-01)开发并维护,当前版本 v2.6.0。

💬 留言讨论