Test Swap

[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. Test Swap DApp — scaffold smoke-test fixture.

okx 6cd157f 5 files · 9.1 KB Updated

File contents

Pre-flight Checks

  1. Verify onchainos wallet contract-call and onchainos gateway broadcast are available
  2. If not installed, run: npx skills add okx/onchainos-skills
  3. Confirm installation succeeded

Signing Constraint

All pending_sign transactions must be signed only by the Onchain OS tool named in next_action.tool. Local private keys, signTransaction, ethers.Wallet, and sendTransaction are forbidden in DApp code.

okx/dapp-connect-agenticwallet/tree/main/examples/test-swap commit 6cd157f196

Frequently asked questions

npx skillmds@latest add okx/test-swap