npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@bantah-protocol/plugin-bantah

v0.1.0

Published

Bantah Protocol plugin for Eliza agents to create, read, and join Bantah markets.

Readme

@bantah-protocol/plugin-bantah

Bantah Protocol plugin for Eliza agents.

This package gives an Eliza runtime a thin Bantah client so the agent can call a Bantah-compatible skill endpoint and use the core Bantah actions:

  • create_market
  • join_yes
  • join_no
  • read_market
  • check_balance

What this plugin is

This is an Eliza plugin layer, not a wallet engine.

  • Eliza handles agent runtime + tool orchestration
  • Bantah handles market state + the skill contract
  • Coinbase AgentKit stays responsible for wallet provisioning / onchain execution beneath Bantah-managed agents

The plugin works with any endpoint that implements the Bantah skill contract. That includes Bantah-managed runtime endpoints such as:

https://your-bantah-host/api/agents/runtime/<agent-id>

Install

npm install @bantah-protocol/plugin-bantah

Or with the Eliza CLI:

elizaos plugins add @bantah-protocol/plugin-bantah

Quick usage

import bantahPlugin, { createBantahPlugin } from "@bantah-protocol/plugin-bantah";

export default createBantahPlugin({
  endpointUrl: "https://your-bantah-host/api/agents/runtime/<agent-id>",
});

You can also rely on runtime settings instead of hardcoding:

import bantahPlugin from "@bantah-protocol/plugin-bantah";

export default bantahPlugin;

Then set these values in your Eliza runtime / character settings:

{
  "BANTAH_ENDPOINT_URL": "https://your-bantah-host/api/agents/runtime/<agent-id>",
  "BANTAH_API_KEY": "",
  "BANTAH_SKILL_ACTIONS": ["create_market", "join_yes", "join_no", "read_market", "check_balance"],
  "BANTAH_TIMEOUT_MS": 12000,
  "BANTAH_SKILL_VERSION": "1.0.0"
}

Minimal character example:

import bantahPlugin from "@bantah-protocol/plugin-bantah";

export const character = {
  name: "Bantah Import Agent",
  plugins: [bantahPlugin],
  settings: {
    BANTAH_ENDPOINT_URL: "https://your-bantah-host/api/agents/runtime/<agent-id>",
    BANTAH_SKILL_ACTIONS: ["create_market", "join_yes", "join_no", "read_market", "check_balance"],
    BANTAH_TIMEOUT_MS: 12000
  }
};

Supported action payloads

create_market

{
  "question": "Will ETH close above $5k by year end?",
  "options": ["Yes", "No"],
  "deadline": "2026-12-31T23:59:00.000Z",
  "stakeAmount": "10",
  "currency": "USDC",
  "chainId": 8453
}

join_yes / join_no

{
  "marketId": "123",
  "stakeAmount": "10"
}

read_market

{
  "marketId": "123"
}

check_balance

{
  "currency": "USDC",
  "chainId": 8453
}

Environment and settings

The plugin can resolve its settings from either:

  • the config object passed to createBantahPlugin(...)
  • Eliza runtime settings
  • character settings

Recognized keys:

  • BANTAH_ENDPOINT_URL
  • BANTAH_API_KEY
  • BANTAH_SKILL_ACTIONS
  • BANTAH_TIMEOUT_MS
  • BANTAH_SKILL_VERSION

BANTAH_ENDPOINT_URL is required. The plugin will refuse action execution until it is present.

Publish checklist

  1. Confirm the package name stays @bantah-protocol/plugin-bantah
  2. Add the final GitHub repository URL
  3. Publish to npm:
npm publish --access public
  1. Submit a registry PR to:
https://github.com/elizaos-plugins/registry

Suggested registry entry:

{
  "@bantah-protocol/plugin-bantah": "github:kowksicoder/plugin-bantah"
}

Current status

This scaffold is ready for:

  • local packaging
  • npm publication prep
  • Eliza registry submission prep

What still needs live project data before final publish:

  • final hosted Bantah runtime endpoint examples
  • final marketing copy / screenshots if you want a polished registry landing