@merdikim

Intent Transfer Completion via LI.FI

OpenClaw plugin and bundled skill for completing token transfer intents with LI.FI routing.

Current version
v1.0.0
code-pluginCommunitysource-linked

intent-transfer-completion-lifi

Production-ready OpenClaw extension composed of:

  • a native plugin/tool named complete_transfer_intent
  • a bundled skill named intent_transfer_completion_lifi

The plugin fulfills natural-language token transfer intents such as:

  • send 50usdc to merkim.eth on base
  • send 0.1 eth to vitalik.eth on arbitrum
  • transfer 250 dai to 0xabc... on optimism

When the wallet lacks enough of the requested token on the requested chain, the plugin:

  1. parses the intent
  2. resolves the destination chain, token, and recipient
  3. inspects balances across configured chains
  4. asks LI.FI for quotes/routes to cover the shortfall
  5. enforces gas reserve and slippage policy
  6. executes the route
  7. performs the final native/ERC-20 transfer
  8. tracks status until completion

Files

  • openclaw.plugin.json: plugin manifest with bundled skill and config schema
  • src/index.ts: plugin entrypoint and tool implementation
  • skills/intent_transfer_completion_lifi/SKILL.md: model instructions for when to invoke the tool

Setup

  1. Install dependencies:
npm install
  1. Configure the plugin through OpenClaw plugin config or the native tool context. Provide:
  • per-chain RPC URLs
  • optional lifiApiKey
  • optional ensRpcUrl for ENS recipients
  1. Connect a local wallet in OpenClaw for live execution. The plugin discovers that wallet from native tool context and returns an error if none is available.

  2. Build:

npm run build
  1. Test:
npm test

Notes

  • All executable logic lives in the TypeScript plugin.
  • The bundled skill contains routing guidance only.
  • Live execution requires a funded local OpenClaw wallet.
  • ENS resolution uses the configured ensRpcUrl.
  • The runtime does not load configuration from .env.

Source and release

Source repository

https://github.com/merdikim/intent-transfer-completion-lifi

Open repo

Source commit

6e109622efbb63a410867887c2ce9dce64bbe4ed

View commit

Install command

openclaw plugins install clawhub:intent-transfer-completion-lifi

Metadata

  • Package: intent-transfer-completion-lifi
  • Created: 2026/04/08
  • Updated: 2026/04/08
  • Executes code: Yes
  • Source tag: main

Compatibility

  • Built with OpenClaw: 2026.3.24-beta.2
  • Plugin API range: >=2026.3.24-beta.2
  • Tags: latest
  • Files: 68