{
  "schemaVersion": "1.0",
  "item": {
    "slug": "01-exchange-kill",
    "name": "01-exchange-skill(not official)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Bouncyknighter/01-exchange-kill",
    "canonicalUrl": "https://clawhub.ai/Bouncyknighter/01-exchange-kill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/01-exchange-kill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=01-exchange-kill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "01xyz-developer-monitoring-guide.md",
      "01xyz-developer-README.md",
      "01xyz-developer-risk-management.md",
      "01xyz-developer-safety-first.md",
      "01xyz-developer-sdk-reference.md",
      "01xyz-developer-trading-basics.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/01-exchange-kill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/01-exchange-kill",
    "agentPageUrl": "https://openagent3.xyz/skills/01-exchange-kill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/01-exchange-kill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/01-exchange-kill/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "01.xyz Exchange Developer Skill",
        "body": "Non-custodial perpetual futures on Solana. Built by traders, for traders."
      },
      {
        "title": "What this Skill is for",
        "body": "Use this Skill when the user asks for:\n\nMarket Monitoring: Orderbook depth, mark prices, funding rates, 24h stats\nAccount Tracking: Position monitoring, margin health, liquidation risk\nTrading Strategies: Market making, DCA, grid trading, trend following\nSDK Integration: Setting up Nord.ts (@n1xyz/nord-ts) for TypeScript/Python\nAPI Development: Building on the FTX-inspired REST API\nRisk Management: Position sizing, circuit breakers, margin calculations\nN1 Protocol: Understanding the N1 blockchain and ZO protocol architecture"
      },
      {
        "title": "Overview",
        "body": "01.xyz is a non-custodial perpetual futures exchange built on the N1 blockchain (evolution of the ZO protocol). It enables fully self-custodied derivatives trading with up to 20x leverage on major crypto assets."
      },
      {
        "title": "Key Design Principles",
        "body": "FeatureDescriptionNon-custodialYour private keys never leave your machine. No central counterparty risk.FTX-inspired APIFamiliar REST patterns for easy migration from centralized exchanges.Local SigningUsers run a local API that signs transactions — funds remain under user control.High PerformanceSub-second finality on N1 blockchain with Solana settlement.Deep LiquidityProfessional market makers and tight spreads on major pairs."
      },
      {
        "title": "Architecture Flow",
        "body": "┌─────────────────────────────────────────────────────────────┐\n│                    User/Developer                           │\n│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐      │\n│  │   AI Agent   │  │  Local API   │  │   Browser    │      │\n│  └──────┬───────┘  └──────┬───────┘  └──────┬───────┘      │\n└─────────┼─────────────────┼─────────────────┼──────────────┘\n          │                 │ (signed txs)    │\n          │                 ▼                 │\n          │        ┌──────────────┐           │\n          │        │  N1 Network  │           │\n          │        │  (L2 chain)  │           │\n          │        └──────┬───────┘           │\n          │               │                   │\n          │    ┌──────────▼──────────┐        │\n          └────►  zo-mainnet.n1.xyz  ◄────────┘\n               │    REST/WebSocket    │\n               └──────────┬───────────┘\n                          │\n               ┌──────────▼──────────┐\n               │   Solana L1         │\n               │   (settlement)      │\n               └─────────────────────┘"
      },
      {
        "title": "Network Endpoints",
        "body": "NetworkBase URLPurposeStatusMainnethttps://zo-mainnet.n1.xyzLive trading, real fundsProductionDevnethttps://zo-devnet.n1.xyzTesting, dev workDevelopment"
      },
      {
        "title": "Default Stack Decisions",
        "body": "These are opinionated defaults. Adjust for your specific use case."
      },
      {
        "title": "1. Data Access Pattern",
        "body": "Use CaseRecommended ApproachAuth RequiredMarket data (prices, orderbook)Direct HTTP to public endpoints❌ NoAccount data (positions, balances)Local API or Nord SDK✅ YesOrder placementLocal API with user confirmation✅ Yes"
      },
      {
        "title": "2. SDK Selection",
        "body": "LanguagePackageUse WhenTypeScript@n1xyz/nord-tsFull-featured trading, complex strategiesPythonn1-sdk (pip)Quant research, ML models, backtestingRaw HTTPDirect REST callsSimple monitoring, language-agnostic"
      },
      {
        "title": "3. Security Model",
        "body": "AI only reads public data — Never expose private keys to AI systems\nLocal signing mandatory — All transactions signed by user's local instance\nExplicit confirmation — Trading actions require human approval\nTestnet first — Always validate on devnet before mainnet"
      },
      {
        "title": "4. Development Priority",
        "body": "Read-only monitoring ✅ — Start here, safe for all users\nAccount health tracking ✅ — Requires wallet address only\nPaper trading simulation ⚠️ — Test strategies without real funds\nLive trading ⚠️ — Requires local API + explicit user consent"
      },
      {
        "title": "Operating Procedure",
        "body": "When working with 01.xyz integration:"
      },
      {
        "title": "Phase 1: Discovery",
        "body": "Identify the task type:\n\nMONITORING — Market data, public stats\nACCOUNT — Position/balance queries\nTRADING — Order placement, strategy execution\nRISK — Health checks, liquidation analysis\n\n\n\nDetermine authentication needs:\n\nPublic endpoints: No auth needed\nAccount data: Wallet address sufficient\nTrading: Local API with signing required"
      },
      {
        "title": "Phase 2: Data Collection",
        "body": "For market data:\n// Direct HTTP — no auth required\nconst markets = await fetch('https://zo-mainnet.n1.xyz/info').json();\n\n\n\nFor account data:\n// Via local API or SDK\nconst account = await nord.getAccount(walletAddress);"
      },
      {
        "title": "Phase 3: Safety Validation",
        "body": "Before any trading action:\n\n☐ Verify account health (margin fraction > 10%)\n☐ Check open orders for conflicts\n☐ Calculate position impact on margin\n☐ Confirm funding rate direction\n☐ Get explicit user confirmation"
      },
      {
        "title": "Phase 4: Execution",
        "body": "Execute with monitoring:\n\nSubmit order via local API\nTrack fill status\nUpdate position state\nLog all actions"
      },
      {
        "title": "Progressive Disclosure",
        "body": "Read these files when the topic comes up:\n\nFileRead WhenSafety Levelsafety-first.mdFIRST — before anything else⚠️ Mandatorymonitoring-guide.mdGetting market data, checking prices✅ Saferisk-management.mdManaging leverage, liquidation risk✅ Read-onlytrading-basics.mdUnderstanding order types, markets⚠️ Gatedsdk-reference.mdSetting up Nord.ts SDK✅ DocumentationREADME.mdProject overview, installation✅ General"
      },
      {
        "title": "Examples Directory",
        "body": "Working code samples in examples/:\n\nmonitor-wallet.js — Read-only wallet monitoring\ncheck-funding-rates.js — Market analysis\nsimple-order.js — Basic order placement (requires local API)"
      },
      {
        "title": "Market IDs Reference",
        "body": "01.xyz uses numeric market IDs (not symbols):\n\nIDMarketMax LeverageTick Size0BTCUSD20x$0.501ETHUSD20x$0.102SOLUSD20x$0.013HYPEUSD10x$0.01...See /info endpoint"
      },
      {
        "title": "HTTP Endpoints",
        "body": "Public (no auth):\n\nGET /info                    # All markets\nGET /market/{id}/orderbook   # L2 orderbook\nGET /market/{id}/stats       # 24h stats, funding\nGET /trades                  # Recent trades\n\nPrivate (requires local API):\n\nGET /account/{address}       # Positions, balances\nPOST /action                 # Submit orders"
      },
      {
        "title": "Common SDK Operations",
        "body": "import { Nord } from '@n1xyz/nord-ts';\n\n// Initialize\nconst nord = await Nord.new({\n  app: 'zoau54n5U24GHNKqyoziVaVxgsiQYnPMx33fKmLLCT5',\n  solanaConnection: connection,\n  webServerUrl: 'https://zo-mainnet.n1.xyz',\n});\n\n// Get markets\nconst markets = await nord.getMarkets();\n\n// Get orderbook\nconst orderbook = await nord.getOrderbook(2); // SOLUSD\n\n// Place order (requires auth)\nconst order = await nord.placeOrder({\n  marketId: 2,\n  side: 'buy',\n  size: 1.0,\n  price: 150.00,\n  orderType: 'limit',\n});"
      },
      {
        "title": "Pre-Trading Checklist",
        "body": "☐ Read safety-first.md — Non-custodial reality check\n☐ Verify on devnet first — Test all logic with fake funds\n☐ Check account health — Margin fraction > 10% (ideally > 20%)\n☐ Review funding rates — Can flip PnL significantly\n☐ Calculate liquidation price — Know your liquidation level\n☐ Set stop-losses — Use trigger orders for downside protection\n☐ Confirm market ID — Numeric IDs, not symbols"
      },
      {
        "title": "In-Flight Monitoring",
        "body": "☐ Monitor margin fraction — Alert if < 15%\n☐ Track funding payments — Every 8 hours\n☐ Watch for liquidations — Cascading effects in volatile markets\n☐ Log all operations — Audit trail for debugging"
      },
      {
        "title": "Emergency Procedures",
        "body": "Approaching liquidation: Reduce position size immediately or add collateral\nAPI unresponsive: Check local API status, verify network connectivity\nUnexpected fills: Review order history, check for stale orders\nWrong market ID: Cancel all pending orders, verify symbol mapping"
      },
      {
        "title": "Official Documentation",
        "body": "01.xyz: https://01.xyz\nDeveloper Docs: https://docs.01.xyz\nAPI Reference: https://api.01.xyz\nN1 Blockchain: https://docs.n1.xyz"
      },
      {
        "title": "SDKs & Tools",
        "body": "Nord TypeScript: npm install @n1xyz/nord-ts\nNord Python: pip install n1-sdk\nGitHub: https://github.com/n1-exchange"
      },
      {
        "title": "Community",
        "body": "Discord: N1 Exchange Community\nTwitter/X: @01_exchange"
      },
      {
        "title": "Updates",
        "body": "Version: 1.0.0\nLast Updated: 2026-02-04\nAPI Version: 2026-01\nCompatibility: N1 Mainnet, Devnet\n\nThis Skill follows the OpenClaw Skill Specification. For more information on creating Skills, see the Skill documentation."
      }
    ],
    "body": "01.xyz Exchange Developer Skill\n\nNon-custodial perpetual futures on Solana. Built by traders, for traders.\n\nWhat this Skill is for\n\nUse this Skill when the user asks for:\n\nMarket Monitoring: Orderbook depth, mark prices, funding rates, 24h stats\nAccount Tracking: Position monitoring, margin health, liquidation risk\nTrading Strategies: Market making, DCA, grid trading, trend following\nSDK Integration: Setting up Nord.ts (@n1xyz/nord-ts) for TypeScript/Python\nAPI Development: Building on the FTX-inspired REST API\nRisk Management: Position sizing, circuit breakers, margin calculations\nN1 Protocol: Understanding the N1 blockchain and ZO protocol architecture\nOverview\n\n01.xyz is a non-custodial perpetual futures exchange built on the N1 blockchain (evolution of the ZO protocol). It enables fully self-custodied derivatives trading with up to 20x leverage on major crypto assets.\n\nKey Design Principles\nFeature\tDescription\nNon-custodial\tYour private keys never leave your machine. No central counterparty risk.\nFTX-inspired API\tFamiliar REST patterns for easy migration from centralized exchanges.\nLocal Signing\tUsers run a local API that signs transactions — funds remain under user control.\nHigh Performance\tSub-second finality on N1 blockchain with Solana settlement.\nDeep Liquidity\tProfessional market makers and tight spreads on major pairs.\nArchitecture Flow\n┌─────────────────────────────────────────────────────────────┐\n│                    User/Developer                           │\n│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐      │\n│  │   AI Agent   │  │  Local API   │  │   Browser    │      │\n│  └──────┬───────┘  └──────┬───────┘  └──────┬───────┘      │\n└─────────┼─────────────────┼─────────────────┼──────────────┘\n          │                 │ (signed txs)    │\n          │                 ▼                 │\n          │        ┌──────────────┐           │\n          │        │  N1 Network  │           │\n          │        │  (L2 chain)  │           │\n          │        └──────┬───────┘           │\n          │               │                   │\n          │    ┌──────────▼──────────┐        │\n          └────►  zo-mainnet.n1.xyz  ◄────────┘\n               │    REST/WebSocket    │\n               └──────────┬───────────┘\n                          │\n               ┌──────────▼──────────┐\n               │   Solana L1         │\n               │   (settlement)      │\n               └─────────────────────┘\n\nNetwork Endpoints\nNetwork\tBase URL\tPurpose\tStatus\nMainnet\thttps://zo-mainnet.n1.xyz\tLive trading, real funds\tProduction\nDevnet\thttps://zo-devnet.n1.xyz\tTesting, dev work\tDevelopment\nDefault Stack Decisions\n\nThese are opinionated defaults. Adjust for your specific use case.\n\n1. Data Access Pattern\nUse Case\tRecommended Approach\tAuth Required\nMarket data (prices, orderbook)\tDirect HTTP to public endpoints\t❌ No\nAccount data (positions, balances)\tLocal API or Nord SDK\t✅ Yes\nOrder placement\tLocal API with user confirmation\t✅ Yes\n2. SDK Selection\nLanguage\tPackage\tUse When\nTypeScript\t@n1xyz/nord-ts\tFull-featured trading, complex strategies\nPython\tn1-sdk (pip)\tQuant research, ML models, backtesting\nRaw HTTP\tDirect REST calls\tSimple monitoring, language-agnostic\n3. Security Model\nAI only reads public data — Never expose private keys to AI systems\nLocal signing mandatory — All transactions signed by user's local instance\nExplicit confirmation — Trading actions require human approval\nTestnet first — Always validate on devnet before mainnet\n4. Development Priority\nRead-only monitoring ✅ — Start here, safe for all users\nAccount health tracking ✅ — Requires wallet address only\nPaper trading simulation ⚠️ — Test strategies without real funds\nLive trading ⚠️ — Requires local API + explicit user consent\nOperating Procedure\n\nWhen working with 01.xyz integration:\n\nPhase 1: Discovery\n\nIdentify the task type:\n\nMONITORING — Market data, public stats\nACCOUNT — Position/balance queries\nTRADING — Order placement, strategy execution\nRISK — Health checks, liquidation analysis\n\nDetermine authentication needs:\n\nPublic endpoints: No auth needed\nAccount data: Wallet address sufficient\nTrading: Local API with signing required\nPhase 2: Data Collection\n\nFor market data:\n\n// Direct HTTP — no auth required\nconst markets = await fetch('https://zo-mainnet.n1.xyz/info').json();\n\n\nFor account data:\n\n// Via local API or SDK\nconst account = await nord.getAccount(walletAddress);\n\nPhase 3: Safety Validation\nBefore any trading action:\n☐ Verify account health (margin fraction > 10%)\n☐ Check open orders for conflicts\n☐ Calculate position impact on margin\n☐ Confirm funding rate direction\n☐ Get explicit user confirmation\nPhase 4: Execution\nExecute with monitoring:\nSubmit order via local API\nTrack fill status\nUpdate position state\nLog all actions\nProgressive Disclosure\n\nRead these files when the topic comes up:\n\nFile\tRead When\tSafety Level\nsafety-first.md\tFIRST — before anything else\t⚠️ Mandatory\nmonitoring-guide.md\tGetting market data, checking prices\t✅ Safe\nrisk-management.md\tManaging leverage, liquidation risk\t✅ Read-only\ntrading-basics.md\tUnderstanding order types, markets\t⚠️ Gated\nsdk-reference.md\tSetting up Nord.ts SDK\t✅ Documentation\nREADME.md\tProject overview, installation\t✅ General\nExamples Directory\n\nWorking code samples in examples/:\n\nmonitor-wallet.js — Read-only wallet monitoring\ncheck-funding-rates.js — Market analysis\nsimple-order.js — Basic order placement (requires local API)\nQuick Reference\nMarket IDs Reference\n\n01.xyz uses numeric market IDs (not symbols):\n\nID\tMarket\tMax Leverage\tTick Size\n0\tBTCUSD\t20x\t$0.50\n1\tETHUSD\t20x\t$0.10\n2\tSOLUSD\t20x\t$0.01\n3\tHYPEUSD\t10x\t$0.01\n...\tSee /info endpoint\t\t\nHTTP Endpoints\n\nPublic (no auth):\n\nGET /info                    # All markets\nGET /market/{id}/orderbook   # L2 orderbook\nGET /market/{id}/stats       # 24h stats, funding\nGET /trades                  # Recent trades\n\n\nPrivate (requires local API):\n\nGET /account/{address}       # Positions, balances\nPOST /action                 # Submit orders\n\nCommon SDK Operations\nimport { Nord } from '@n1xyz/nord-ts';\n\n// Initialize\nconst nord = await Nord.new({\n  app: 'zoau54n5U24GHNKqyoziVaVxgsiQYnPMx33fKmLLCT5',\n  solanaConnection: connection,\n  webServerUrl: 'https://zo-mainnet.n1.xyz',\n});\n\n// Get markets\nconst markets = await nord.getMarkets();\n\n// Get orderbook\nconst orderbook = await nord.getOrderbook(2); // SOLUSD\n\n// Place order (requires auth)\nconst order = await nord.placeOrder({\n  marketId: 2,\n  side: 'buy',\n  size: 1.0,\n  price: 150.00,\n  orderType: 'limit',\n});\n\nSafety & Risk Checklist\nPre-Trading Checklist\n\n☐ Read safety-first.md — Non-custodial reality check\n☐ Verify on devnet first — Test all logic with fake funds\n☐ Check account health — Margin fraction > 10% (ideally > 20%)\n☐ Review funding rates — Can flip PnL significantly\n☐ Calculate liquidation price — Know your liquidation level\n☐ Set stop-losses — Use trigger orders for downside protection\n☐ Confirm market ID — Numeric IDs, not symbols\n\nIn-Flight Monitoring\n\n☐ Monitor margin fraction — Alert if < 15%\n☐ Track funding payments — Every 8 hours\n☐ Watch for liquidations — Cascading effects in volatile markets\n☐ Log all operations — Audit trail for debugging\n\nEmergency Procedures\nApproaching liquidation: Reduce position size immediately or add collateral\nAPI unresponsive: Check local API status, verify network connectivity\nUnexpected fills: Review order history, check for stale orders\nWrong market ID: Cancel all pending orders, verify symbol mapping\nResources\nOfficial Documentation\n01.xyz: https://01.xyz\nDeveloper Docs: https://docs.01.xyz\nAPI Reference: https://api.01.xyz\nN1 Blockchain: https://docs.n1.xyz\nSDKs & Tools\nNord TypeScript: npm install @n1xyz/nord-ts\nNord Python: pip install n1-sdk\nGitHub: https://github.com/n1-exchange\nCommunity\nDiscord: N1 Exchange Community\nTwitter/X: @01_exchange\nUpdates\nVersion: 1.0.0\nLast Updated: 2026-02-04\nAPI Version: 2026-01\nCompatibility: N1 Mainnet, Devnet\n\nThis Skill follows the OpenClaw Skill Specification. For more information on creating Skills, see the Skill documentation."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Bouncyknighter/01-exchange-kill",
    "publisherUrl": "https://clawhub.ai/Bouncyknighter/01-exchange-kill",
    "owner": "Bouncyknighter",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/01-exchange-kill",
    "downloadUrl": "https://openagent3.xyz/downloads/01-exchange-kill",
    "agentUrl": "https://openagent3.xyz/skills/01-exchange-kill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/01-exchange-kill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/01-exchange-kill/agent.md"
  }
}