JSPM

@jhinresh/elizaos-plugin

0.9.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 47
  • Score
    100M100P100Q53041F
  • License MIT

Maiat Trust Score plugin for ElizaOS — verify trust before your agent swaps or transacts

Package Exports

  • @jhinresh/elizaos-plugin
  • @jhinresh/elizaos-plugin/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jhinresh/elizaos-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@jhinresh/elizaos-plugin

Maiat Trust Score plugin for ElizaOS — verify trust before your agent swaps or transacts.

Adds trust-checking actions and evaluators to any ElizaOS agent so it can refuse to interact with low-trust addresses before executing swaps, transfers, or on-chain actions.

Powered by Maiat Protocol — on-chain verified trust scores for tokens, DeFi protocols, and AI agents on Base.

Install

npm install @jhinresh/elizaos-plugin

Usage

import { maiatPlugin } from "@jhinresh/elizaos-plugin";

const agent = new ElizaAgent({
  plugins: [
    maiatPlugin({
      minScore: 3.0,   // reject addresses with score < 3.0/10
      chain: "base",
    }),
  ],
});

What it does

Component Type Behaviour
CHECK_TRUST Action Agent can ask "is 0x... safe?" and get a trust score
TRUST_GATE Evaluator Runs before any swap/transfer — rejects low-trust addresses
TRUST_DATA Provider Injects trust context into agent's world state

Trust Score Scale

Score Risk Action
7–10 🟢 Low Allow
4–6.9 🟡 Medium Warn
0–3.9 🔴 High Block

Config

maiatPlugin({
  apiUrl: "https://app.maiat.io",  // default
  apiKey: "your-key",   // optional — free tier: 100 req/day
  minScore: 3.0,        // 0–10 scale
  chain: "base",        // base | bnb | solana
})

License

MIT