vault-swap-demo

Community

Preview and run demo vault swaps safely.

Authordubzn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Users need a reliable way to preview a token swap from a vault and only execute it when the preview indicates the vault is ready, avoiding unsafe transactions during a live demo on X Layer.

Core Features & Use Cases

  • Demo Script Execution: Runs the provided npm run demo:swap command with appropriate flags.
  • Safety Guardrails: Automatically checks preview results and blocks execution if the vault is not ready.
  • Result Reporting: Returns jobId, txHash, and payment details when execution succeeds, or lists blockers from riskFlags and warnings when it does not.
  • Use Case: An operator receives a request like “Usa el vault 0x..., haz un swap de 1 USDT a USDC, primero preview y ejecuta si está listo,” and the skill performs the full safe workflow.

Quick Start

Run a preview of the swap from vault 0xABC for 1 USDT to USDC and execute it if ready.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vault-swap-demo
Download link: https://github.com/dubzn/operator-xlayer/archive/main.zip#vault-swap-demo

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.