FORGE — Cross-Chain Swap Agent
/install forge-swap
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
- Call
/swap/executewith from/to asset and destination address - FORGE returns a vault deposit address and THORChain memo
- User's wallet sends funds to vault address with memo as calldata
- THORChain protocol routes the swap — FORGE never holds funds
forgembearns 0.5% affiliate fee embedded in the memo, settled natively
Asset Format
Assets use CHAIN.TICKER format:
ETH.ETH— Ethereum nativeBTC.BTC— BitcoinTHOR.RUNE— THORChain nativeAVAX.AVAX— Avalanche nativeETH.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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install forge-swap - 安装完成后,直接呼叫该 Skill 的名称或使用
/forge-swap触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 207 次。
如何安装 FORGE — Cross-Chain Swap Agent?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install forge-swap」即可一键安装,无需额外配置。
FORGE — Cross-Chain Swap Agent 是免费的吗?
是的,FORGE — Cross-Chain Swap Agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
FORGE — Cross-Chain Swap Agent 支持哪些平台?
FORGE — Cross-Chain Swap Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 FORGE — Cross-Chain Swap Agent?
由 morebetterclaw(@morebetterclaw)开发并维护,当前版本 v0.1.0。