JSPM

@axiom-stack/eliza-plugin

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q68151F
  • License MIT

ElizaOS plugin for institutional RWA oracle data via the Axiom crypto-paywall

Package Exports

  • @axiom-stack/eliza-plugin

Readme

@axiom-stack/eliza-plugin

ElizaOS plugin for Axiom Stack institutional RWA oracle data. Agents can autonomously pay the 0.01 SOL machine-to-machine access fee, verify the transaction on-chain, and retrieve consensus valuations, confidence scores, and audit hashes from the Axiom API.

Installation

npm install @axiom-stack/eliza-plugin

Peer dependency: @elizaos/core (>= 0.1.0).

Action triggers

The GET_AXIOM_VALUATION action is selected when the user message matches intent keywords and contains a valid asset ID (pattern like HOUSTON-001, HAWTHORNE-001).

Phrases that typically trigger evaluation include:

  • “evaluate property HOUSTON-001” (replace with your asset id)
  • “check valuation for HOUSTON-001”
  • “valuation for HOUSTON-001”
  • “score for HOUSTON-001”
  • “buy data” / “get data for” (with an asset ID present)
  • Mentions of institutional, oracle, or RWA together with an asset ID

The model also sees similes such as EVALUATE_PROPERTY, GET_PROPERTY_VALUATION, and CHECK_RWA_SCORE via the action metadata Eliza exposes to the planner.

Configuration

Solana wallet (required)

The plugin signs M2M transfers with a Solana keypair loaded from disk.

Variable Default Description
KEYPAIR_PATH ~/.config/solana/id.json Path to the agent’s Solana keypair JSON

Ensure the wallet holds enough SOL for the access fee (default 0.01 SOL) plus transaction rent and priority fees per your RPC settings.

RPC, treasury, fee, and API

Variable Default Description
RPC_URL http://127.0.0.1:8899 Solana RPC endpoint
AXIOM_TREASURY (bundled default) Treasury pubkey receiving fees
M2M_FEE_LAMPORTS 10000000 Fee in lamports (0.01 SOL)
AXIOM_API_URL https://api.axiomstack.com Oracle API base URL
AXIOM_API_BASE (fallback only) Legacy alias for AXIOM_API_URL
PROGRAM_ID (bundled default) On-chain program id reference

Set AXIOM_API_URL to your local or dev API base when testing against non-production clusters.

Registering the plugin

import { axiomPlugin } from "@axiom-stack/eliza-plugin";

const character = {
  name: "AxiomAgent",
  plugins: [axiomPlugin],
  // ...
};

License

MIT — see LICENSE in this package directory.