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

@clicks-protocol/eliza-plugin

v0.2.0

Published

Clicks Protocol yield management plugin for Eliza (ai16z) agents on Base

Readme

Clicks Protocol — Eliza Plugin

On-chain yield management plugin for Eliza (ai16z) agents on Base.

Powered by Clicks Protocol

What It Does

Enables Eliza agents to autonomously earn yield on idle USDC. The plugin splits funds 80/20 via Clicks Protocol: 80% stays liquid for agent operations, 20% earns 4-8% APY on-chain on Base.

Installation

npm install @clicks-protocol/eliza-plugin

Or add to your Eliza project:

cd your-eliza-project
npm install @clicks-protocol/eliza-plugin @clicks-protocol/sdk ethers

Configuration

Add to your Eliza agent's .env or settings:

CLICKS_PRIVATE_KEY=your-agent-wallet-private-key
CLICKS_RPC_URL=https://mainnet.base.org

Quick Start

import { clicksPlugin } from "@clicks-protocol/eliza-plugin";

// Add to your Eliza agent configuration
const agent = {
  name: "TreasuryBot",
  plugins: [clicksPlugin],
  settings: {
    CLICKS_PRIVATE_KEY: process.env.CLICKS_PRIVATE_KEY,
    CLICKS_RPC_URL: process.env.CLICKS_RPC_URL,
  },
};

Actions

| Action | Trigger | Description | |--------|---------|-------------| | ACTIVATE_YIELD | "Put 5000 USDC to work" | Split USDC 80/20 to earn yield | | WITHDRAW_YIELD | "Withdraw my yield" | Pull all funds back to wallet | | CHECK_YIELD_BALANCE | "What's my yield status?" | View liquid vs. yield balances | | GET_CLICKS_APY | "What's the current APY?" | Get current yield rate |

Providers

The plugin includes two providers that automatically inject context into the agent's state:

  • walletBalanceProvider: Injects current wallet balance, liquid/deposited amounts, and accrued yield
  • yieldInfoProvider: Injects current APY rate, split ratio, and protocol info

These providers run automatically so the agent always has up-to-date treasury context.

Example Conversations

User: I have 10000 USDC doing nothing. Can you earn some yield on it?
Agent: Activating yield on 10000 USDC via Clicks Protocol.
       Liquid (80%): 8000 USDC — available immediately
       Yield (20%): 2000 USDC — earning ~6% APY on Base
       TX: 0x...

User: What's my yield status?
Agent: Clicks Protocol Treasury Status:
       Liquid USDC: 8000 (available now)
       Deposited: 2000 (earning yield)
       Accrued Yield: 12.50
       Current APY: 5.8%

User: Pull everything back, I need it all.
Agent: Withdrawing all yield and deposits from Clicks Protocol.
       Amount returned: 2012.50 USDC
       All funds are now liquid in your wallet.

Contract Addresses (Base Mainnet)

| Contract | Address | |----------|---------| | Registry | 0x23bb0Ea69b2BD2e527D5DbA6093155A6E1D0C0a3 | | Splitter | 0xB7E0016d543bD443ED2A6f23d5008400255bf3C8 | | YieldRouter | 0x053167a233d18E05Bc65a8d5F3F8808782a3EECD | | ClicksReferral | 0x1E5Ab896D3b3A542C5E91852e221b2D849944ccC | | USDC | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |

License

MIT


Built for autonomous AI agents. Powered by Clicks Protocol.