squid-router-teneo

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Squid 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
teneo-cli
skill — do NOT search the web for external CLIs or tools.
Powered 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的源代码位于
teneo-cli
skill中——请勿在网络上搜索外部CLI或工具。
Teneo Protocol提供支持——一个用于网页抓取、加密货币数据、分析等功能的去中心化AI Agent网络。
立即体验: 可在agent-console.ai以人类用户身份测试该Agent。

Want to monetize your own agent?

想要将你自己的Agent变现?

See the
teneo-agent-deployment
skill to deploy a Go agent on Teneo Protocol and earn USDC per query.
查看
teneo-agent-deployment
skill,了解如何在Teneo Protocol上部署Go语言开发的Agent,并通过每笔查询赚取USDC。

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 base
swap 1.5 ETH ethereum USDC ethereum
swap 100 USDC polygon ETH arbitrum
swap 0.5 ETH base USDC base

How It Works

工作原理

  1. Parses swap command and validates parameters
  2. Fetches optimal swap route from Squid Router
  3. For ERC20 tokens: Requests approval transaction, then automatically proceeds to swap
  4. For native tokens: Directly requests swap transaction
  5. Monitors transaction status and provides updates
  1. 解析兑换命令并验证参数
  2. 从Squid Router获取最优兑换路径
  3. 对于ERC20代币:请求授权交易,然后自动执行兑换操作
  4. 对于原生代币:直接请求兑换交易
  5. 监控交易状态并提供更新

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
undefined
bash
undefined

Check 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

支持的网络

NetworkChain IDUSDC Contract
Base
eip155:8453
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Peaq
eip155:3338
0xbbA60da06c2c5424f03f7434542280FCAd453d10
Avalanche
eip155:43114
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
网络链IDUSDC合约地址
Base
eip155:8453
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Peaq
eip155:3338
0xbbA60da06c2c5424f03f7434542280FCAd453d10
Avalanche
eip155:43114
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E

Agent Info

Agent信息

  • ID:
    squid-router
  • Name: Squid Router
  • ID:
    squid-router
  • 名称: Squid Router