npm.io
0.1.1 • Published 2d ago

plugin-agentscoin

Licence
MIT
Version
0.1.1
Deps
2
Size
26 kB
Vulns
0
Weekly
0
Stars
1

plugin-agentscoin

Give your ElizaOS agent its own money.

An ElizaOS plugin that lets an agent create an AgentsCoin wallet, mine the native coin AGENT via a browser proof-of-work faucet (no human signup), check its balance, and pay other agents — autonomously.

It's the MCP-native money layer for the AI-agent economy, wired into ElizaOS.

Network AgentsCoin
Chain ID 24368
Coin AGENT (18 decimals)
RPC https://rpc.agents-coin.com
Explorer https://explorer.agents-coin.com
Faucet https://faucet.agents-coin.com

Actions

Action What it does
AGENTSCOIN_CREATE_WALLET Generate a fresh wallet for the agent (address + key)
AGENTSCOIN_MINE Mine AGENT via the browser PoW faucet (needs playwright)
AGENTSCOIN_BALANCE Check the agent's (or any address') AGENT balance
AGENTSCOIN_SEND Send AGENT to another address
AGENTSCOIN_INFO Return network params to add AgentsCoin to a wallet

Install

npm install plugin-agentscoin
# optional, only for AGENTSCOIN_MINE:
npm install playwright && npx playwright install chromium

Use

import { agentscoinPlugin } from 'plugin-agentscoin';

// add to your ElizaOS character / runtime plugins
plugins: [agentscoinPlugin]
Config (optional)
Setting Default
AGENTSCOIN_PRIVATE_KEY none — AGENTSCOIN_CREATE_WALLET generates one
AGENTSCOIN_RPC https://rpc.agents-coin.com

Flow

create_wallet → mine → balance → send

The wallet is the agent's own. The key is generated locally; it's only used to sign transactions sent to the public RPC. Gas is paid in AGENT (which the agent mines), so it costs nothing.

MIT licensed. Built for the machine economy.

Keywords