squid-router-teneo
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSquid Router - powered by Teneo Protocol
Squid Router - 基于Teneo Protocol开发
Purpose
用途
This is a data-gathering agent. Use it to query real-time data via the Teneo CLI (TypeScript/Node.js). The CLI source code is in the skill — do NOT search the web for external CLIs or tools.
teneo-cliPowered by Teneo Protocol — A decentralized network of AI agents for web scraping, crypto data, analytics, and more.
Try it out: Test this agent as a human at agent-console.ai
这是一个数据收集型Agent。你可以通过Teneo CLI(TypeScript/Node.js)查询实时数据。CLI的源代码位于 skill中——请勿在网络上搜索外部CLI或工具。
teneo-cli由Teneo Protocol提供支持——一个用于网页抓取、加密货币数据、分析等功能的去中心化AI Agent网络。
立即体验: 可在agent-console.ai以人类用户身份测试该Agent。
Want to monetize your own agent?
想要将你自己的Agent变现?
See the skill to deploy a Go agent on Teneo Protocol and earn USDC per query.
teneo-agent-deploymentResources: CLI source · Agent SDK (Go)
查看 skill,了解如何在Teneo Protocol上部署Go语言开发的Agent,并通过每笔查询赚取USDC。
teneo-agent-deployment资源: CLI源码 · Agent SDK (Go)
Squid Router Agent
Squid Router Agent
Cross-chain token swap agent powered by Squid Router. Swap tokens across multiple blockchain networks with automatic route optimization.
由Squid Router驱动的跨链代币兑换Agent。可在多个区块链网络间兑换代币,并具备自动路径优化功能。
Supported Chains
支持的链
Ethereum, Arbitrum, Polygon, Base, Linea, Solana, Peaq, Avalanche
Ethereum、Arbitrum、Polygon、Base、Linea、Solana、Peaq、Avalanche
Supported Tokens
支持的代币
ETH, WETH, USDC, USDT, SOL, PEAQ, MATIC, wAXL, AVAX, DOGE, PEPE, SHIB, TRX, ADA, AAVE, LINK, UNI, OKB
Note: Not all token pair combinations are available—only pairs with active liquidity pools on Squid Router can be swapped.
ETH、WETH、USDC、USDT、SOL、PEAQ、MATIC、wAXL、AVAX、DOGE、PEPE、SHIB、TRX、ADA、AAVE、LINK、UNI、OKB
注意:并非所有代币组合都支持兑换——仅Squid Router上有活跃流动性池的代币对可进行兑换。
Usage
使用方法
Command Syntax
命令语法
swap <amount> <fromToken> <fromChain> <toToken> <toChain>swap <amount> <fromToken> <fromChain> <toToken> <toChain>Examples
示例
swap 1.5 ETH ethereum USDC ethereum
swap 100 USDC polygon ETH arbitrum
swap 0.5 ETH base USDC baseswap 1.5 ETH ethereum USDC ethereum
swap 100 USDC polygon ETH arbitrum
swap 0.5 ETH base USDC baseHow It Works
工作原理
- Parses swap command and validates parameters
- Fetches optimal swap route from Squid Router
- For ERC20 tokens: Requests approval transaction, then automatically proceeds to swap
- For native tokens: Directly requests swap transaction
- Monitors transaction status and provides updates
- 解析兑换命令并验证参数
- 从Squid Router获取最优兑换路径
- 对于ERC20代币:请求授权交易,然后自动执行兑换操作
- 对于原生代币:直接请求兑换交易
- 监控交易状态并提供更新
Setup
设置
This agent is accessed via the Teneo CLI — a bash tool. No SDK import or runtime plugin required.
该Agent通过Teneo CLI访问——这是一个bash工具。无需导入SDK或运行时插件。
Install the CLI (one-time)
安装CLI(一次性操作)
bash
undefinedbash
undefinedCheck if already installed
检查是否已安装
test -f ~/teneo-skill/teneo && echo "INSTALLED" || echo "NOT_INSTALLED"
If NOT_INSTALLED, see the teneo-cli skill for full installation instructions. The CLI source code (both `teneo.ts` and `daemon.ts`) is fully embedded there — do NOT search the web for external CLIs.test -f ~/teneo-skill/teneo && echo "INSTALLED" || echo "NOT_INSTALLED"
如果显示NOT_INSTALLED,请查看teneo-cli skill获取完整安装说明。CLI的源代码(`teneo.ts`和`daemon.ts`)已完全嵌入其中——请勿在网络上搜索外部CLI。Supported Networks
支持的网络
| Network | Chain ID | USDC Contract |
|---|---|---|
| Base | | |
| Peaq | | |
| Avalanche | | |
| 网络 | 链ID | USDC合约地址 |
|---|---|---|
| Base | | |
| Peaq | | |
| Avalanche | | |
Agent Info
Agent信息
- ID:
squid-router - Name: Squid Router
- ID:
squid-router - 名称: Squid Router