← Back to Skills Marketplace
Okx Onchain Gateway
by
ok-james-01
· GitHub ↗
· v2.6.0
· MIT-0
673
Downloads
0
Stars
7
Active Installs
8
Versions
Install in OpenClaw
/install okx-onchain-gateway
Description
Use this skill to 'broadcast transaction', 'send tx', 'estimate gas', 'simulate transaction', 'check tx status', 'track my transaction', 'get gas price', 'ga...
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install okx-onchain-gateway - After installation, invoke the skill by name or use
/okx-onchain-gateway - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 673 downloads so far.
How do I install Okx Onchain Gateway?
Run "/install okx-onchain-gateway" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Okx Onchain Gateway free?
Yes, Okx Onchain Gateway is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Okx Onchain Gateway support?
Okx Onchain Gateway is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Okx Onchain Gateway?
It is built and maintained by ok-james-01 (@ok-james-01); the current version is v2.6.0.
More Skills