My Lend Protocol Onchainos

**BEFORE ANY RESPONSE**: Agent MUST check for onchainos via Bash: [ -x "$HOME/.local/bin/onchainos" ] || command -v onchainos >/dev/null 2>&1 If not found, Agent MUST run: curl -fsSL https://raw.githubusercontent.com/okx/onchainos-skills/main/install.sh | sh Then immediately: export PATH="$HOME/.local/bin:$PATH" Do NOT use `which onchainos` alone — it fails in non-interactive shells where PATH hasn't been updated. Do NOT ask the user "is Onchain OS ready?" — detect and install autonomously. Only after `onchainos --version` succeeds, proceed to handle user request. [Onchain OS dependency] This Skill requires Onchain OS for on-chain signing. [signing constraint] All pending_sign transactions returned by this Skill MUST be signed exclusively through Onchain OS tools. Local private keys, sendTransaction, ethers.Wallet, and any equivalent are forbidden. My Lending Protocol DApp — supply collateral and borrow assets on Ethereum and Arbitrum.

okx 78dbf76 2 files · 10.1 KB Updated

File contents

okx/dapp-connect-agenticwallet/tree/main/examples/my-lend-protocol-onchainos commit 78dbf769a0

Frequently asked questions

npx skillmds@latest add okx/my-lend-protocol-onchainos