Add moltspay-eliza-plugin to registry#309
Add moltspay-eliza-plugin to registry#309Yaqing2023 wants to merge 2 commits intoelizaos-plugins:mainfrom
Conversation
MoltsPay plugin for ElizaOS - enables AI agents to discover and pay for services using x402 protocol. Features: - 8 actions: init, status, pay, fund, faucet, services, config, list - Gasless USDC payments via x402 protocol - Built-in spending limits for safety - Bilingual support (EN/CN) - Multi-chain: Base, Polygon, Base Sepolia (testnet) npm: https://www.npmjs.com/package/moltspay-eliza-plugin GitHub: https://github.com/Yaqing2023/moltspay-eliza-plugin
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
WalkthroughA single-line addition to Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
index.json
Outdated
| "@token-metrics-ai/plugin-tokenmetrics": "github:token-metrics/plugin-tokenmetrics", | ||
| "@tonyflam/plugin-openchat": "github:Tonyflam/plugin-openchat", | ||
| "@zane-archer/plugin-aimo-router": "github:takasaki404/plugin-aimo-router", | ||
| "moltspay-eliza-plugin": "github:Yaqing2023/moltspay-eliza-plugin", |
There was a problem hiding this comment.
Non-standard package naming convention
The entry key moltspay-eliza-plugin uses the {service}-eliza-plugin format, which is the reverse of the convention recommended by the registry guidelines and the PR checklist (plugin-{name} or @scope/plugin-{name}). The README's format requirements show @npm-package-name as the expected key format, with the PR template example explicitly showing @myNpmOrg/plugin-example.
While there are a few other unscoped entries in the registry (e.g., plugin-connections, plugin-moltbazaar), they all follow plugin-{name} — moltspay-eliza-plugin is the only entry that puts the service name first. If the npm package name is fixed as moltspay-eliza-plugin, this is acceptable, but the author may want to consider publishing under a scoped name like @moltspay/plugin-eliza or @moltspay/plugin-payments for better consistency with the ecosystem convention.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
|
Hi maintainers! 👋 Just checking in on this PR. The plugin is fully functional and published on npm. Would appreciate a review when you get a chance. Happy to make any changes if needed. Thanks! |
|
Updated! ✅ Renamed package to The npm package has been republished under the new scoped name and the registry entry has been updated accordingly. |
Plugin: moltspay-eliza-plugin
MoltsPay plugin for ElizaOS - enables AI agents to discover and pay for services using x402 protocol.
Features
Links
Topics
Repo has required topic:
elizaos-plugins✅Summary by CodeRabbit
Greptile Summary
This PR adds a single entry to the elizaOS plugin registry for
moltspay-eliza-plugin, a payment plugin enabling AI agents to discover and pay for services using the x402 protocol with gasless USDC payments on Base, Polygon, and Base Sepolia networks.Key observations:
github:prefix, has no.gitextension, and is properly comma-delimited ✅index.json(after all@-scoped entries, beforeplugin-connections) ✅moltspay-eliza-pluginuses a{service}-eliza-pluginnaming order, which is the inverse of the registry-recommendedplugin-{name}convention — all other unscoped entries followplugin-{name}(e.g.,plugin-connections,plugin-moltbazaar)Confidence Score: 4/5
github:reference format. The only minor concern is the unconventional package name ordering ({service}-eliza-pluginrather thanplugin-{service}), but this is a style issue and not a blocker since the key is meant to match the actual npm package name.Important Files Changed
moltspay-eliza-plugintogithub:Yaqing2023/moltspay-eliza-plugin. The format is valid JSON, uses the correctgithub:prefix (no.gitextension), and is alphabetically placed correctly among unscoped entries. The only concern is that the package name uses{service}-eliza-pluginordering instead of the registry-recommendedplugin-{name}convention.Sequence Diagram
sequenceDiagram participant User as ElizaOS User participant CLI as ElizaOS CLI participant Registry as registry/index.json participant GH as github:Yaqing2023/moltspay-eliza-plugin participant X402 as x402 Protocol participant Chain as Base/Polygon Blockchain User->>CLI: Install moltspay-eliza-plugin CLI->>Registry: Look up "moltspay-eliza-plugin" Registry-->>CLI: github:Yaqing2023/moltspay-eliza-plugin CLI->>GH: Fetch plugin source GH-->>CLI: Plugin code CLI-->>User: Plugin installed User->>CLI: Agent triggers pay action CLI->>GH: Execute payment action GH->>X402: Initiate x402 payment request X402->>Chain: Submit gasless USDC transaction Chain-->>X402: Transaction confirmed X402-->>GH: Payment receipt GH-->>CLI: Payment result CLI-->>User: Payment completeLast reviewed commit: "Add moltspay-eliza-p..."
(2/5) Greptile learns from your feedback when you react with thumbs up/down!