← 返回
开发者工具 中文

FORGE — Cross-Chain Swap Agent

Cross-chain swap routing via THORChain. Get quotes and build swap transactions across 44+ assets (BTC, ETH, RUNE, AVAX, USDC and more). Non-custodial — retur...
通过 THORChain 实现跨链交换路由,获取 44+ 资产的报价并构建交易(BTC、ETH、RUNE、AVAX、USDC 等)。非托管——...
morebetterclaw
开发者工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 462
下载
💾 7
安装
1
版本
#latest

概述

FORGE — Cross-Chain Swap Agent

Non-custodial cross-chain swaps powered by THORChain. Routes quotes across 44+ assets via the THORNode API directly. Every swap embeds a 0.5% affiliate fee to forgemb — protocol-native, trustless, settled in RUNE.

Live API

Base:      https://forge-api-production-50de.up.railway.app
MCP:       https://forge-api-production-50de.up.railway.app/mcp
Discovery: https://forge-api-production-50de.up.railway.app/.well-known/mcp.json

MCP Tools (Claude Desktop / Cursor / any MCP client)

{
  "mcpServers": {
    "forge": {
      "url": "https://forge-api-production-50de.up.railway.app/mcp",
      "transport": "streamable-http"
    }
  }
}

Tools: forge_quote · forge_execute · forge_assets · forge_status

REST API

# Get a quote
curl -X POST https://forge-api-production-50de.up.railway.app/swap/quote \
  -H "Content-Type: application/json" \
  -d '{"fromAsset":"ETH.ETH","toAsset":"BTC.BTC","amount":"0.1"}'

# Build swap transaction (returns vault address + memo — no funds sent)
curl -X POST https://forge-api-production-50de.up.railway.app/swap/execute \
  -H "Content-Type: application/json" \
  -d '{"fromAsset":"ETH.ETH","toAsset":"THOR.RUNE","amount":"0.05","destinationAddress":"thor1..."}'

# List supported assets
curl https://forge-api-production-50de.up.railway.app/swap/assets

How It Works

  1. Call /swap/execute with from/to asset and destination address
  2. FORGE returns a vault deposit address and THORChain memo
  3. User's wallet sends funds to vault address with memo as calldata
  4. THORChain protocol routes the swap — FORGE never holds funds
  5. forgemb earns 0.5% affiliate fee embedded in the memo, settled natively

Asset Format

Assets use CHAIN.TICKER format:

  • ETH.ETH — Ethereum native
  • BTC.BTC — Bitcoin
  • THOR.RUNE — THORChain native
  • AVAX.AVAX — Avalanche native
  • ETH.USDC-0xA0b86... — ERC-20 tokens include contract address

Environment Variables (self-hosted)

FEE_RECIPIENT_ADDRESS=forgemb   # THORName or thor1... address for affiliate fees
SWAP_FEE_BPS=50                 # 50 = 0.5%
PORT=3000
ALLOWED_ORIGINS=*

Revenue Model

Every swap routed through FORGE earns 0.5% to forgemb (THORChain name for thor1yfrfgjgnzkjqqgv02yxn3j3kv50pe0rnhvs8zw). Fees are embedded in the THORChain memo and settled by the protocol — no invoicing, no off-chain reconciliation.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 07:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,329
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,821
ai-intelligence

Vantage — HL Autonomous Trading Agent

morebetterclaw
Vantage — Hyperliquid永续合约自主交易代理。信号到执行闭环,本地运行,无云基础设施,零持续成本。
★ 0 📥 615