@stwd/eliza-plugin
The@stwd/eliza-plugin package provides drop-in Steward wallet management for ElizaOS agents.
Installation
Plugin Structure
Exports
StewardService
The core service that initializes the Steward SDK connection.| Variable | Required | Description |
|---|---|---|
STEWARD_API_URL | Yes | Steward API base URL |
STEWARD_API_KEY | No* | Tenant API key |
STEWARD_AGENT_TOKEN | No* | Agent JWT (preferred) |
STEWARD_AGENT_ID | Yes | Agent ID in Steward |
STEWARD_API_KEY or STEWARD_AGENT_TOKEN is required.
Accessing from runtime:
Actions
signTransactionAction
Signs and broadcasts an EVM transaction through Steward. Trigger: Agent determines a blockchain transaction is needed (via LLM reasoning). Parameters extracted from conversation:to— Destination addressvalue— Amount in weidata— Optional calldatachainId— Target chain
transferAction
Transfers native tokens (ETH/SOL) to an address. Parameters:to— Recipient addressamount— Amount (human-readable, e.g., “0.1 ETH”)
Providers
walletStatusProvider
Injects wallet context into the agent’s prompt:balanceProvider
Injects current balance into the agent’s prompt:Evaluators
approvalRequiredEvaluator
Checks for pending transactions in the Steward approval queue. When a transaction requires manual approval, it injects context for the agent to inform the user.Usage in Character Config
Related
- ElizaOS Integration Guide — Step-by-step setup
- StewardClient Reference — Underlying SDK client
- Agent Setup Guide — Creating agents with policies