elizaos-plugin-aether

中文文档
0.2.18发布于 2026/11/03MITTypeScriptES Module构建来源已验证

ElizaOS plugin for Aether: an agent wallet with spending limits that pays for APIs (x402), sends AETH and USDC, and finds paid services in the on-chain directory.

原始使用文档
文档目录3 节
  1. Actions
  2. Settings
  3. Safety

elizaos-plugin-aether

An ElizaOS plugin that gives an agent an Aether wallet: it can pay for APIs that charge per request (HTTP 402, x402), send AETH and USDC, check balances and transactions, find paid services in Aether's on-chain directory and quote AETH to OSMO swaps, within spending limits enforced in code.

npm install elizaos-plugin-aether
import aetherPlugin from "elizaos-plugin-aether";

export const character = {
  name: "Ada",
  plugins: ["@elizaos/plugin-bootstrap", "elizaos-plugin-aether"], // or plugins: [aetherPlugin] in code
  settings: {
    secrets: { AETHER_MNEMONIC: process.env.AETHER_MNEMONIC },
    AETHER_MAX_PER_PAYMENT: "0.1 AETH",
    AETHER_DAILY_BUDGET: "1 AETH",
  },
};

New to Aether? Make the agent an account (once) and keep its phrase as AETHER_MNEMONIC:

node -e 'import("aether-chain-client").then(({Key})=>{const {key,mnemonic}=Key.generate();console.log(key.address+"\n"+mnemonic)})'

Then ask the agent to get itself some testnet AETH: it asks the faucet.

Actions

ActionWhat it doesSpends
AETHER_GET_BALANCEBalance of an address in every known asset (the agent's own if none is given)no
AETHER_TRANSACTION_STATUSWhether a transaction is pending, confirmed or failedno
AETHER_FIND_PAID_SERVICESPaid APIs in the on-chain directory, by words and maximum priceno
AETHER_SEND_PAYMENTSends AETH (or USDC) to an addressyes
AETHER_CALL_PAID_APICalls an API, pays what it asks up to a maximum, returns the answeryes
AETHER_REQUEST_TESTNET_FUNDSAsks the testnet faucet for starter AETHno
AETHER_QUOTE_SWAPQuotes swapping AETH for OSMO in the AETH/OSMO pool on Osmosis testnet (OSMO out, cost, a minOutput); quotes only, never swapsno
AETHER_GET_INFLOW_CAPSThe tokens other chains may send onto Aether and the room each has left; more is refused and refunded on the sending chainno

The AETHER_WALLET provider tells the agent its address and what's left of its budget.

Settings

SettingDefault
AETHER_MNEMONICnoneThe agent account's 24-word recovery phrase. A secret. Without it the plugin is read-only.
AETHER_MAX_PER_PAYMENT1 AETHMost one payment may be, with its unit.
AETHER_DAILY_BUDGET5 AETHMost it may spend in a rolling 24 hours, in the same asset.
AETHER_RPC_URLhttps://rpc.157-245-252-221.sslip.ioThe public testnet.
AETHER_CHAIN_IDaether-testnet-1
AETHER_FAUCET_URLthe public testnet faucetnone turns it off.
AETHER_USDC_PATH, AETHER_USDC_BASE_DENOM, AETHER_USDC_ISSUERunset (AETH only)The USDC to know. Testnet USDC from Injective: transfer/channel-2, erc20:0x0C382e685bbeeFE5d3d9C29e29E341fEE8E84C5d, Injective. To spend USDC, give the limits in USDC.

Safety

  • Limits hold in code. A payment over AETHER_MAX_PER_PAYMENT, or past AETHER_DAILY_BUDGET in 24 hours, is refused before anything is signed, whatever the conversation says. Anyone who can talk to the agent can ask it to spend within them: set them to what you're prepared to lose, and keep only that much in the account.
  • One message pays at most once. A send's idempotency key comes from the message, not the model, so a retried handler doesn't pay twice.
  • Untrusted text stays data. Memos, service names and descriptions and API answers are written by other people; the model is told not to take instructions or payment details from them.
  • Use a dedicated account for the agent, never one holding anything else.

The tools themselves are AetherToolkit in aether-chain-client, which also gives them as plain JSON tool specs for any other framework.

版本与发布记录

elizaos-plugin-aether 共发布 9 个版本,首次发布于 2026/10/11;过去 12 个月发布了 9 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.2.18latest2026/11/03今天
0.2.172026/11/012 天前
0.2.162026/10/305 天前
0.2.152026/10/286 天前
0.2.142026/10/1816 天前
0.2.132026/10/1618 天前

关于 elizaos-plugin-aether 的常见问题

elizaos-plugin-aether 是什么?

ElizaOS以太坊插件:一个具有支出限制的代理钱包,用于支付api (x402),发送AETH和USDC,并在链上目录中查找付费服务。

如何安装 elizaos-plugin-aether?

在项目目录运行 npm install elizaos-plugin-aether,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@elizaos/core(^1.0.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

elizaos-plugin-aether 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

elizaos-plugin-aether 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

elizaos-plugin-aether 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

elizaos-plugin-aether 可以商用吗?

elizaos-plugin-aether 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

elizaos-plugin-aether 还在维护吗?

最新版本 0.2.18 发布于 2026/11/03(今天);至今共发布 9 个版本,其中过去 12 个月发布了 9 个;首次发布于 2026/10/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。