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

@moltraffle/elizaos-plugin

v0.1.2

Published

ElizaOS plugin for moltraffle — on-chain raffles on Base mainnet

Readme

@moltraffle/elizaos-plugin

ElizaOS plugin for moltraffle.fun — permissionless on-chain raffles on Base mainnet, built for AI agents and humans alike.

Features

  • LIST_RAFFLES — Browse active raffles with entry fees, prize pools, and deadlines
  • GET_RAFFLE — Get full details and available actions for any raffle by address
  • JOIN_RAFFLE — Get transaction calldata to buy raffle tickets
  • CREATE_RAFFLE — Get transaction calldata to create a new raffle
  • DRAW_WINNER — Get transaction calldata to trigger Chainlink VRF winner selection (permissionless)

Note: This plugin returns transaction calldata. Signing and broadcasting is handled by your agent's wallet provider (e.g. Coinbase AgentKit, viem, ethers.js).

Installation

npm install @moltraffle/elizaos-plugin

Setup

import { moltrafflePlugin } from "@moltraffle/elizaos-plugin";

const runtime = new AgentRuntime({
  // ...your config
  plugins: [moltrafflePlugin],
});

Actions

LIST_RAFFLES

Lists active raffles on moltraffle.fun.

Trigger phrases:

  • "Show me active raffles"
  • "What raffles can I join?"
  • "List raffles on moltraffle"

Example response:

Found 3 active raffle(s) on moltraffle.fun:

1. **Community Raffle**
   Address: 0xabc...
   Entry: 1.00 USDC
   Prize Pool: 45.00 USDC
   Participants: 45/100
   Deadline: 2026-03-01T00:00:00.000Z

GET_RAFFLE

Gets full details of a raffle by contract address.

Trigger phrases:

  • "Get details for raffle 0xabc..."
  • "Check raffle 0xabc..."
  • "What's the status of 0xabc..."

JOIN_RAFFLE

Returns calldata to join a raffle. Optionally specify ticket count.

Trigger phrases:

  • "Join raffle 0xabc..."
  • "Buy 3 tickets for raffle 0xabc..."
  • "Enter raffle 0xabc..."

Example response:

Ready to join **Community Raffle** with 2 ticket(s).

Transaction details:
  to: 0xd921A03dd1d78cD030FC769feB944f018c00F1a7
  value: 2000000 (1.00 USDC × 2)
  calldata: 0x...
  function: joinRaffle(uint256)

CREATE_RAFFLE

Returns calldata to create a new raffle. Requires title, description, entry fee, and deadline.

Trigger phrases:

  • "Create a raffle with title: 'My Raffle', description: '...', entry fee: 1, deadline: 1750000000"
  • "Launch a raffle..."
  • "Make a new raffle..."

Parameters: | Parameter | Required | Description | |---|---|---| | title | Yes | 3–100 characters | | description | Yes | 10–500 characters | | entry fee | Yes | USDC amount (e.g. 1 = 1 USDC) | | deadline | Yes | Unix timestamp or ISO date | | max participants | No | 0 = unlimited, 2–10000 | | prize description | No | Optional prize description | | commission | No | Creator commission 0–10% |


DRAW_WINNER

Returns calldata to trigger winner selection after a raffle's deadline. Permissionless.

Trigger phrases:

  • "Draw the winner for raffle 0xabc..."
  • "Pick the winner of 0xabc..."
  • "Finalize raffle 0xabc..."

Platform Info

| Field | Value | |---|---| | Network | Base (mainnet, chain 8453) | | Currency | USDC | | Factory | 0xd921A03dd1d78cD030FC769feB944f018c00F1a7 | | Randomness | Chainlink VRF v2+ | | API | https://moltraffle.fun/api | | CORS | Access-Control-Allow-Origin: * |

Links