Xpersona
G

Gasless stop-loss, limit, TWAP, take-profit & market swaps across 8 EVM chains. Zero fees.

CLAWHUB · Unverified

Use for gasless non-custodial EVM market, limit, TWAP, stop-loss, take-profit, delayed-start swaps.

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1789z9gme6hjt89mbfd852wy183ng7a:spot-advanced-swap-orders
  1. Install using `clawhub skill install s1789z9gme6hjt89mbfd852wy183ng7a:spot-advanced-swap-orders` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/eranp-orbs/spot-advanced-swap-orders before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-eranp-orbs-spot-advanced-swap-orders/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

147,376 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: spot-advanced-swap-orders
description: Use for gasless non-custodial EVM market, limit, TWAP, stop-loss, take-profit, delayed-start swaps.
---

# Spot Advanced Swap Orders

Use this skill when the agent needs to turn user intent into a final Spot order payload on a supported EVM chain.
It covers order-shape selection, param normalization, typed-data population, approval guidance, signing, submission, query, and cancellation.
This bundle is instruction-only: build everything locally from the bundled markdown and JSON assets, then submit only the final signed payload.
Execution remains decentralized, non-custodial, oracle-protected, immutable, audited, and battle-tested onchain.

## Supported Chains

1. Ethereum - `1` - adapter `0xC1bB4d5071Fe7109ae2D67AE05826A3fe9116cfc`
2. BNB Chain - `56` - adapter `0x67Feba015c968c76cCB2EEabf197b4578640BE2C`
3. Polygon - `137` - adapter `0x75A3d70Fa6d054d31C896b9Cf8AB06b1c1B829B8`
4. Sonic - `146` - adapter `0xD87ee28806bc0060789C4789F123647f4Df25A6C`
5. Base - `8453` - adapter `0xc64d6E64A713EfbbCcB14413479c56461F9c0b77`
6. Arbitrum One - `42161` - adapter `0x6F1002141Fcb5d3A3aA8b12A49e6e7DCE5661ae9`
7. Avalanche - `43114` - adapter `0xc64d6E64A713EfbbCcB14413479c56461F9c0b77`
8. Linea - `59144` - adapter `0x55E4da2cd634729064bEb294EC682Dc94f5c3f24`

## Relay

1. Submit signed orders with `POST https://agents-sink.orbs.network/orders/new`.
2. Query orders with `GET https://agents-sink.orbs.network/orders`; see [references/lifecycle.md](references/lifecycle.md) for filters, polling, and cancellation follow-up.

## Workflow

1. Read [references/quickstart.md](references/quickstart.md) for the minimum end-to-end flow.
2. Use [references/params.md](references/params.md) to map user intent into params, defaults, validation, and order-shape fields.
3. Use [references/sign.md](references/sign.md) to fill the template, handle approval, sign, and submit.
4. Use [references/lifecycle.md](references/lifecycle.md) for relay query semantics, status polling, and cancellation.
5. Use [references/examples.md](references/examples.md) only when the final relay payload shape is still unclear.
6. Use [assets/token-addressbook.md](assets/token-addressbook.md) only for optional token alias lookup on supported chains.
7. Use [assets/repermit.template.json](assets/repermit.template.json) as the canonical typed-data shape.
8. Treat `## Supported Chains` as the authoritative source for chain support and per-chain adapters.
9. Treat `## Relay` as the authoritative relay endpoint list.

## Guardrails

1. `## Supported Chains` is authoritative for chain support and per-chain adapters.
2. `## Relay` is authoritative for relay endpoints.
3. [assets/token-addressbook.md](assets/token-addressbook.md) is a convenience alias list only. It does not expand chain support or override explicit user-provided addresses.
4. This skill is instruction-only. Do not fetch or execute external helper code.
5. Normalize params with [references/param

README.md

<!-- Generated by script/sync.zsh from the repository root README.md. Do not edit directly. -->

> Auto-synced workspace README for `@orbs-network/spot-skill`. Repo-relative links are rewritten to canonical GitHub URLs.
# Spot — Limit, TWAP, Stop-Loss, Take-Profit Non-Custodial Decentralized DeFi Protocol

**Agent-ready decentralized DeFi protocol for non-custodial advanced order types on EVM chains.**

Spot provides non-custodial market, limit, TWAP, stop-loss, take-profit, and delayed-start orders on EVM chains, backed by immutable onchain contracts.

**🔒 [Security Audit Report](https://github.com/orbs-network/spot/blob/master/Audit-AstraSec.pdf)** by AstraSec

## Why Spot

1. ✅ **Non-custodial**: RePermit binds spend authorization to exact order hashes instead of handing custody to the protocol.
2. 🔒 **Oracle-protected**: Trigger checks, slippage caps, freshness windows, and deadlines constrain execution.
3. 🛡️ **Battle-tested**: Contracts are audited and covered by an extensive Foundry test suite.
4. 🏗️ **Production-ready**: Spot is built for multi-chain deployment with repo-shipped config, ABIs, skill files, and a hosted MCP endpoint.

## Supported Order Types

1. Market swaps
2. Limit orders
3. TWAP orders
4. Stop-loss orders
5. Take-profit orders
6. Delayed-start orders
7. Chunked recurring execution

## Supported Chains

Spot supports multiple EVM chains. See [`config.json`](https://github.com/orbs-network/spot/blob/master/config.json) as the canonical source for supported chains and runtime addresses.

## How It Works

Each Spot order combines timing, sizing, trigger, and settlement rules in a single signed payload.

1. `input.amount` is the per-fill chunk size.
2. `input.maxAmount` is the total budget across fills.
3. `output.limit` is the minimum acceptable output per chunk.
4. `output.triggerLower` and `output.triggerUpper` define stop-loss and take-profit style trigger bands.
5. `epoch` controls recurrence: `0` for one-shot, `> 0` for recurring fills.
6. `start` and `deadline` define the execution window.

`output.limit`, `triggerLower`, and `triggerUpper` are encoded as per-chunk output-token amounts in the output token's decimals.

A typical order lifecycle is:

1. **Order creation**: The user signs one EIP-712 order with chunk size, total amount, limits, slippage tolerance, epoch interval, and deadline.
2. **Price attestation**: The cosigner signs both trigger-time and current market price data.
3. **Execution trigger**: A whitelisted executor calls `Executor.execute()` when the order is eligible.
4. **Validation**: `OrderReactor` validates signatures, checks `start`, enforces epoch windows, verifies timestamps, and applies slippage protection.
5. **Settlement**: The reactor transfers input tokens, validates the fill result, and enforces minimum output.
6. **Distribution**: Surplus output is distributed between the swapper and optional referrer according to configured shares.

## Security

Spot's contracts were professionally 

_meta.json

{
  "ownerId": "kn7c83x396b8yyv6m7m7ts757s83nhzk",
  "slug": "spot-advanced-swap-orders",
  "version": "2.5.5",
  "publishedAt": 1778091214465
}

references/examples.md

# Examples

These are mock final relay payloads.
Copy the nearest shape, then replace addresses, amounts, timing, and signature.
Mix limit, trigger, and delay fields as needed.

## Limit Order

```json
{
  "order": {
    "permitted": {
      "token": "0x1111111111111111111111111111111111111111",
      "amount": "1000000"
    },
    "spender": "0x000000b33fE4fB9d999Dd684F79b110731c3d000",
    "nonce": "1712345601",
    "deadline": "1712345901",
    "witness": {
      "reactor": "0x000000b33fE4fB9d999Dd684F79b110731c3d000",
      "executor": "0x000642A0966d9bd49870D9519f76b5cf823f3000",
      "exchange": {
        "adapter": "0x9999999999999999999999999999999999999999",
        "ref": "0x0000000000000000000000000000000000000000",
        "share": 0,
        "data": "0x"
      },
      "swapper": "0x2222222222222222222222222222222222222222",
      "nonce": "1712345601",
      "start": "1712345601",
      "deadline": "1712345901",
      "chainid": 42161,
      "exclusivity": 0,
      "epoch": 0,
      "slippage": 500,
      "freshness": 50,
      "input": {
        "token": "0x1111111111111111111111111111111111111111",
        "amount": "1000000",
        "maxAmount": "1000000"
      },
      "output": {
        "token": "0x3333333333333333333333333333333333333333",
        "limit": "250000000000000",
        "triggerLower": "0",
        "triggerUpper": "0",
        "recipient": "0x2222222222222222222222222222222222222222"
      }
    }
  },
  "signature": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b"
}
```

## Stop-Loss Order

```json
{
  "order": {
    "permitted": {
      "token": "0x4444444444444444444444444444444444444444",
      "amount": "5000000000000000000"
    },
    "spender": "0x000000b33fE4fB9d999Dd684F79b110731c3d000",
    "nonce": "1712346602",
    "deadline": "1712347202",
    "witness": {
      "reactor": "0x000000b33fE4fB9d999Dd684F79b110731c3d000",
      "executor": "0x000642A0966d9bd49870D9519f76b5cf823f3000",
      "exchange": {
        "adapter": "0x9999999999999999999999999999999999999999",
        "ref": "0x0000000000000000000000000000000000000000",
        "share": 0,
        "data": "0x"
      },
      "swapper": "0x5555555555555555555555555555555555555555",
      "nonce": "1712346602",
      "start": "1712346602",
      "deadline": "1712347202",
      "chainid": 1,
      "exclusivity": 0,
      "epoch": 0,
      "slippage": 500,
      "freshness": 50,
      "input": {
        "token": "0x4444444444444444444444444444444444444444",
        "amount": "5000000000000000000",
        "maxAmount": "5000000000000000000"
      },
      "output": {
        "token": "0x6666666666666666666666666666666666666666",
        "limit": "0",
        "triggerLower": "9000000000000",
        "triggerUpper": "0",
        "recipient": "0x5555555555555555555555555555555555555555"
      }
    }
  },
  "signature": "0xccccccccccccccccccccccccccccccccccccccccccccc

references/lifecycle.md

# Lifecycle

Use this file for relay query semantics, status polling, and exact-match cancellation.

## Query

1. Primary query path: `GET https://agents-sink.orbs.network/orders?hash=<orderHash>`.
2. Canonical response shape is a top-level object with an `orders` array. When you query by `hash`, use the first element of `orders`.
3. Canonical order status field is `.orders[0].metadata.status`. If it is absent, fall back to `.orders[0].status`.
4. Canonical chunk status field is `.orders[0].metadata.chunks[].status` when `metadata.chunks` exists.
5. Known non-terminal statuses are `pending` and `eligible`.
6. Known terminal statuses are `filled`, `completed`, `partially_completed`, `cancelled`, `expired`, `failed`, and `rejected`.
7. Cancellation can surface as `cancelled`, or `failed` with cancellation text, depending on relay normalization. Treat them as terminal outcomes after you have confirmed the onchain cancel transaction.
8. `partially_completed` means at least one chunk reached a successful final state and at least one chunk did not. Treat it as terminal for polling and report the chunk statuses.
9. Poll every 5 seconds until the order reaches a terminal status.
10. Canonical CLI query path:

```sh
curl -fsS "https://agents-sink.orbs.network/orders?hash=$order_hash" \
  | jq -r '.orders[0] | (.metadata.status // .status // "pending")'
```

11. Canonical CLI chunk-status path:

```sh
curl -fsS "https://agents-sink.orbs.network/orders?hash=$order_hash" \
  | jq -r '.orders[0].metadata.chunks[]?.status'
```

12. Secondary recovery path: `GET https://agents-sink.orbs.network/orders?swapper=<swapper>`. Use it only when you do not have `orderHash` yet or need to recover from an ambiguous submit response.
13. If you query by `swapper` and receive multiple orders, disambiguate by `hash` before polling or reporting status.

## Cancel

1. Cancellation is exact-match and onchain. It invalidates only the digest you pass, not every order by the same `swapper`.
2. Always keep the exact populated `typedData` used for signing and submission. The cancellation digest must be derived from that same populated payload.
3. Compute the EIP-712 digest for that exact populated `typedData`, then call `cancel(bytes32[] digests)` on `typedData.domain.verifyingContract` from `swapper` with `[digest]`.
4. Canonical CLI cancel call once you already have the digest:

```sh
cast send "$typed_data_domain_verifying_contract" 'cancel(bytes32[])' "[$order_digest]"
```

5. Canonical JavaScript cancel path with `ethers` once you already have the digest:

```js
import { Contract } from "ethers";

const repermit = new Contract(typedData.domain.verifyingContract, ["function cancel(bytes32[] digests)"], signer);

const tx = await repermit.cancel([orderDigest]);
await tx.wait();
```

6. In both examples, the contract address is the exact `typedData.domain.verifyingContract` value from the submitted order.
7. Use the same signer that created the order. The caller must equal `swappe

Sponsored

Ads related to Gasless stop-loss, limit, TWAP, take-profit & market swaps across 8 EVM chains. Zero fees. and adjacent AI workflows.