@wzrd_sol/eliza-plugin
v0.1.2
Published
WZRD Liquid Attention Protocol plugin for ElizaOS — leaderboard, portfolio, deposit, claim, velocity
Downloads
300
Maintainers
Readme
@wzrd_sol/eliza-plugin
ElizaOS plugin for the WZRD Liquid Attention Protocol on Solana. Gives ElizaOS agents the ability to discover AI model velocity, manage attention market positions, deposit USDC, and claim CCM yield.
Install
npm install @wzrd_sol/eliza-pluginConfiguration
Set these in your ElizaOS runtime settings or environment:
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| SOLANA_PRIVATE_KEY | Yes (for tx) | — | Base58 keypair for signing deposits/claims |
| WZRD_API_URL | No | https://api.twzrd.xyz | WZRD backend endpoint |
| SOLANA_RPC_URL | No | Helius mainnet | Solana RPC for on-chain reads |
Usage
import { wzrdPlugin } from "@wzrd_sol/eliza-plugin";
// Register with your ElizaOS agent
const agent = new AgentRuntime({
plugins: [wzrdPlugin],
// ... other config
});Actions
| Action | Auth | Description |
|--------|------|-------------|
| WZRD_LEADERBOARD | No | Fetch top markets ranked by velocity EMA |
| WZRD_VELOCITY | No | Classify attention signal strength for a market |
| WZRD_PORTFOLIO | Yes | View positions and accrued yield |
| WZRD_DEPOSIT | Yes | Deposit USDC into an attention market, receive vLOFI |
| WZRD_CLAIM | Yes | Claim accrued CCM via gasless relay or self-signed tx |
Example prompts
- "Show me the top WZRD markets"
- "What's the velocity signal for market 6?"
- "Check my WZRD portfolio"
- "Deposit 1 USDC into market 3"
- "Claim my CCM rewards"
Links
License
MIT
