Skip to content

LeoYeAI/agent-master-skills / skills/aurehub-xaut-trade

xaut-trade

Flagged

Buy or sell XAUT (Tether Gold) on Ethereum. Supports market orders (Uniswap V3) and limit orders (UniswapX). Wallet modes: Foundry keystore or WDK. Delegates non-XAUT intents to registered skills (e.g. Polymarket prediction markets, Hyperliquid trading). Triggers: buy XAUT, XAUT trade, swap USDT for XAUT, sell XAUT, swap XAUT for USDT, limit order, limit buy XAUT, limit sell XAUT, check limit order, cancel limit order, XAUT when, create wallet, setup wallet, polymarket, prediction market, bet on, odds on, hyperliquid, perp, perpetual, long, short, open long, open short, close position, leverage.

FileKindSize
README.mdmarkdown15.0 KB
SKILL.mdskill md29.2 KB
SKILL.tests.yamlconfig12.1 KB
_meta.jsonconfig991 B
config.example.yamlconfig1.7 KB
references/balance.mdmarkdown2.6 KB
references/buy.mdmarkdown3.8 KB
references/limit-order-buy-place.mdmarkdown4.6 KB
references/limit-order-cancel.mdmarkdown2.2 KB
references/limit-order-sell-place.mdmarkdown4.8 KB
references/limit-order-status.mdmarkdown1.6 KB
references/live-trading-runbook.mdmarkdown3.9 KB
references/onboarding.mdmarkdown12.9 KB
references/quote.mdmarkdown2.0 KB
references/sell.mdmarkdown5.9 KB
references/skill-delegation.mdmarkdown2.8 KB
references/wallet-modes.mdmarkdown1.3 KB
scripts/__tests__/helpers.test.jsscript2.7 KB
scripts/__tests__/integration.test.jsscript1.2 KB
scripts/__tests__/swap-cli.test.jsscript3.7 KB
scripts/__tests__/wallet-init.test.jsscript10.7 KB
scripts/helpers.jsscript1.2 KB
scripts/lib/__tests__/config.test.jsscript2.9 KB
scripts/lib/__tests__/create-wallet.test.jsscript6.1 KB
scripts/lib/__tests__/erc20.test.jsscript3.3 KB
scripts/lib/__tests__/provider.test.jsscript7.6 KB
scripts/lib/__tests__/signer.test.jsscript7.6 KB
scripts/lib/__tests__/uniswap.test.jsscript3.6 KB
scripts/lib/config.jsscript4.3 KB
scripts/lib/create-wallet.jsscript5.7 KB
scripts/lib/erc20.jsscript3.8 KB
scripts/lib/export-seed.jsscript6.5 KB
scripts/lib/provider.jsscript8.3 KB
scripts/lib/signer.jsscript6.8 KB
scripts/lib/uniswap.jsscript5.3 KB
scripts/limit-order.jsscript13.6 KB
scripts/package-lock.jsonmanifest182.2 KB
scripts/package.jsonmanifest703 B
scripts/setup.shscript29.5 KB
scripts/swap.jsscript15.7 KB

config.example.yaml

View on GitHub
# xaut-trade example config (safe to commit)
# For local use, copy to config.yaml and modify as needed.

# Informational only — not read by scripts.
# The active RPC endpoint comes from ETH_RPC_URL in ~/.aurehub/.env.
# chain_id is passed explicitly when needed (e.g. --chain-id 1 for limit orders).
networks:
  ethereum_mainnet:
    chain_id: 1
    rpc_env: ETH_RPC_URL
  anvil_fork:
    chain_id: 31337
    rpc: http://127.0.0.1:8545   # for local fork testing with `anvil --fork-url`

contracts:
  router: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45"
  quoter: "0x61fFE014bA17989E743c5F6cB21bF9697530B21e"
  permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3"

tokens:
  XAUT:
    address: "0x68749665FF8D2d112Fa859AA293F07A622782F38"
    decimals: 6
  USDT:
    address: "0xdAC17F958D2ee523a2206206994597C13D831ec7"
    decimals: 6

# Whitelist: only the following pairs are supported; all others hard-stop
pairs:
  - key: "USDT_XAUT"
    enabled: true
    token_in: "USDT"
    token_out: "XAUT"
    fee_tier: 3000
  - key: "XAUT_USDT"
    enabled: true
    token_in: "XAUT"
    token_out: "USDT"
    fee_tier: 3000

token_rules:
  USDT:
    requires_reset_approve: true

risk:
  default_slippage_bps: 50
  max_slippage_bps_warn: 50
  confirm_trade_usd: 10
  large_trade_usd: 1000
  approve_confirmation_mode: "first_only" # always | first_only | never (never is high-risk; advanced users only)
  approve_force_confirm_multiple: 10
  min_eth_for_gas: "0.005"
  deadline_seconds: 300

# Limit order config (UniswapX)
limit_order:
  default_expiry_seconds: 86400    # Default expiry: 1 day
  max_expiry_seconds: 2592000      # Maximum: 30 days (API-tested upper bound)
  min_expiry_seconds: 300          # Minimum: 5 minutes
  uniswapx_api: "https://api.uniswap.org/v2"
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall