Skip to content

Add buff-elizaos-plugin — round-up investing for agents#303

Open
nightcode112 wants to merge 1 commit intoelizaos-plugins:mainfrom
nightcode112:add-buff-plugin-v3
Open

Add buff-elizaos-plugin — round-up investing for agents#303
nightcode112 wants to merge 1 commit intoelizaos-plugins:mainfrom
nightcode112:add-buff-plugin-v3

Conversation

@nightcode112
Copy link

@nightcode112 nightcode112 commented Mar 16, 2026

Add Buff Round-Up Investing Plugin

npm: buff-elizaos-plugin
GitHub: nightcode112/buff-elizaos-plugin (dedicated repo, package.json at root)

What it does

Auto-invests spare change from every agent transaction into crypto assets (BTC, ETH, SOL, USDC) via Jupiter on Solana.

Actions

Action Description
BUFF_ROUNDUP Record a round-up from any transaction
BUFF_INVEST Check threshold & auto-swap via Jupiter
BUFF_PORTFOLIO View invested assets & balances
BUFF_SET_PLAN Change round-up tier (seed/sprout/tree/forest)
BUFF_SET_ALLOC Set portfolio allocation (e.g. 60% BTC, 40% ETH)

Registry Update Checklist

  • NPM package name matches the registry key (buff-elizaos-plugin)
  • JSON is properly formatted
  • Entry is alphabetically sorted among unscoped packages
  • GitHub repo is publicly accessible
  • package.json is at the repo root (dedicated repo, not monorepo)
  • No duplicate entries or conflicting registrations
  • Only index.json is modified

Note

This is a dedicated repo (not a monorepo subdirectory) — package.json is at the root for correct registry generation.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 16, 2026

Walkthrough

A new plugin mapping for buff-elizaos-plugin was added to the plugins object in index.json. This extends the set of available plugin configurations without modifying existing entries.

Changes

Cohort / File(s) Summary
Plugin Configuration
index.json
Added new buff-elizaos-plugin entry to the plugins object mapping.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A plugin hops into the fray,
Buff elizaos joins the array,
In JSON's neat and tidy home,
One line added, now it can roam! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically identifies the main change: adding the buff-elizaos-plugin for round-up investing functionality.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description is comprehensive and covers the essential details for a registry update. It includes the npm package name, GitHub repository link, clear explanation of plugin functionality, a detailed actions table, and a completed registry checklist addressing most key requirements (NPM name match, JSON formatting, alphabetical sorting, public accessibility, repo structure). However, the description does not explicitly verify all template requirements such as the presence of required images (logo.jpg, banner.jpg), elizaOS-plugins topic in GitHub settings, or agentConfig in package.json, which are important for official plugin submissions.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nightcode112
Copy link
Author

Updated the plugin to v1.0.0 — now uses server-side fee enforcement. The SDK is a thin API client with zero sensitive logic (no treasury addresses, no fee math, no swap routing). All enforced server-side at buff.finance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant