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/cli

v0.2.1

Published

CLI for Clicks Protocol — autonomous DeFi yield for AI agents on Base. Check yield rates, simulate payment splits, manage agents, and withdraw earnings from the terminal.

Downloads

385

Readme

@clicks-protocol/cli

CLI for Clicks Protocol — autonomous DeFi yield for AI agents on Base.

Check yield rates, simulate payment splits, manage agents, and withdraw earnings from the terminal.

Install

npm install -g @clicks-protocol/cli

Or use directly with npx:

npx @clicks-protocol/cli status

Usage

Read‑only (no private key needed)

# Live yield rates
clicks status

# Look up an agent
clicks agent 0x1234...

# Simulate a payment split
clicks simulate 100

# Check USDC balance
clicks balance 0x1234...

# Referral stats
clicks referral 0x1234...

# Contract addresses & links
clicks info

Write (needs private key)

Set your private key:

export CLICKS_PRIVATE_KEY=0x...

Then:

# Register an agent
clicks register 0x1234...

# Deposit USDC (register + approve + split)
clicks deposit 100 --agent 0x1234...

# Withdraw yield + principal
clicks withdraw 0x1234...

# Set custom yield split (5–50%)
clicks yield-pct 30

Environment

| Variable | Purpose | Default | |----------|---------|---------| | CLICKS_PRIVATE_KEY | Private key for write operations | – | | CLICKS_RPC_URL | Base RPC URL | https://mainnet.base.org |

How Clicks Works

Every USDC payment your agent receives gets auto‑split:

Payment in
 ├── 80% → Agent Wallet (liquid, instant)
 └── 20% → DeFi Yield (Aave V3 or Morpho, auto‑routed to best APY)
      │
      └── Withdraw anytime → Agent gets principal + yield (minus 2% fee on yield only)
  • No lockup. Withdraw anytime.
  • No manual steps. Fully autonomous.
  • 2% fee on yield only. Never on principal.
  • Auto‑rebalances between Aave V3 and Morpho for best APY.

x402 + Coinbase Agentic Wallets

Clicks works natively with the x402 payment protocol and Coinbase Agentic Wallets on Base.

Your agent holds USDC for x402 payments? Make it earn yield between transactions:

# Agent holds 1000 USDC for x402 payments
clicks deposit 1000 --agent 0xAgentAddress

# 800 USDC liquid for instant x402 payments
# 200 USDC earning 4–8% APY via Morpho

Same chain (Base), same USDC contract. 80% liquid for instant x402 payments, 20% earning yield.

Referral Network

Agents recruit agents. Three levels deep. On‑chain.

| Level | Share of protocol fee | |-------|-----------------------| | L1 (direct) | 40% | | L2 | 20% | | L3 | 10% | | Treasury | 30% |

The referred agent pays nothing extra. Rewards come from the 2% protocol fee.

Agent Teams

Form squads, hit TVL milestones, earn bonus yield:

| Tier | TVL threshold | Bonus yield | |------|---------------|-------------| | 🥉 Bronze | $50k | +0.20% | | 🥈 Silver | $250k | +0.50% | | 🥇 Gold | $1M | +1.00% | | 💎 Diamond | $5M | +2.00% |

Contracts (Base Mainnet)

| Contract | Address | |----------|---------| | ClicksRegistry | 0x23bb0Ea69b2BD2e527D5DbA6093155A6E1D0C0a3 | | ClicksSplitterV3 | 0x24323A30626BBE78C00beA45A3c0eE36bA31FcB4 | | ClicksYieldRouter | 0x4E29571FCCE958823c0B184a66EEb7bCbe1c849F | | ClicksFee | 0xc47B162D3c456B6C56a3cE6EE89A828CFd34E6bE | | USDC | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |

Links

  • Website: https://clicksprotocol.xyz
  • SDK: npm install @clicks-protocol/sdk
  • MCP Server: npm install @clicks-protocol/mcp-server
  • GitHub: https://github.com/clicks-protocol
  • llms.txt: https://clicksprotocol.xyz/llms.txt
  • agent.json: https://clicksprotocol.xyz/.well-known/agent.json
  • OpenAPI: https://clicksprotocol.xyz/api/openapi.json

License

MIT