Skip to content

Remove x402 demo from repository#8

Merged
tac0turtle merged 1 commit intomainfrom
remove-x402-demo
Feb 17, 2026
Merged

Remove x402 demo from repository#8
tac0turtle merged 1 commit intomainfrom
remove-x402-demo

Conversation

@tac0turtle
Copy link
Contributor

@tac0turtle tac0turtle commented Feb 17, 2026

Summary

  • Removes entire examples/x402-demo/ directory (frontend, server, simulator)
  • Removes docs/x402-client-integration.md and docs/x402-demo-requirements.md
  • Updates evd doc comment to use generic genesis path instead of x402-specific reference

59 files deleted, ~10k lines removed.

Closes #5

Test plan

  • just quality passes (fmt + lint)
  • No remaining x402 references in codebase (grep confirms zero matches)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Removed Features

    • Removed the X402 demo application, including frontend UI, backend API server, and simulator components that demonstrated pay-per-request payments using X402 protocol.
  • Documentation

    • Removed comprehensive documentation, design guides, setup instructions, and integration examples for the X402 demo.

Removes the examples/x402-demo/ directory (frontend, server, simulator),
related docs, and the x402-specific reference in evd doc comments.

Closes #5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 17, 2026

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Walkthrough

The PR removes the entire examples/x402-demo/ directory, including frontend (React/Vite), server (Bun/Hono), simulator, and associated documentation files. No new code is introduced; all changes are deletions.

Changes

Cohort / File(s) Summary
Documentation
docs/x402-client-integration.md, docs/x402-demo-requirements.md, examples/x402-demo/.claude/skills/onboard.md, examples/x402-demo/DESIGN.md, examples/x402-demo/README.md
Complete removal of X402 integration guides, demo architecture documentation, and design specifications.
Frontend
examples/x402-demo/frontend/*
Entire React/Vite frontend removed, including components (AgentGrid, MetricsPanel, PaymentStream, TpsCounter), pages (Dashboard, Landing, Playground, Wallet), hooks (useChainStats, useEventStream, useMetrics, usePasskey), API client library, and configuration files.
Server
examples/x402-demo/server/*
Entire Bun/Hono server removed, including core routes (transform, wallet, authentication), Evolve client integration, X402 payment middleware, gRPC client, event system, and end-to-end test utilities.
Simulator
examples/x402-demo/simulator/*
Complete agent simulator removed, including agent implementation, pool orchestration, metrics collection, CLI bootstrap, configuration, and type definitions.
Example Config & Scripts
examples/x402-demo/docker-compose.yml, examples/x402-demo/genesis.json, bin/evd/src/main.rs
Docker composition, genesis configuration, and minor documentation update in main.rs (usage example placeholder).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Hop, hop—the demo takes a bow,
Frontend, server, sim—all deleted now,
Code purged clean, the repo's lean,
Lighter hops through repo so keen!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Remove x402 demo from repository' is clear, specific, and directly matches the primary change of deleting the examples/x402-demo/ directory.
Linked Issues check ✅ Passed The changeset fully satisfies issue #5 requirements: the entire examples/x402-demo/ directory is removed, x402 references in docs are deleted, and documentation paths are generalized.
Out of Scope Changes check ✅ Passed All changes are in-scope: deletions of x402-demo directory, related documentation files (x402-client-integration.md, x402-demo-requirements.md, and onboard.md), and a comment update in main.rs are directly aligned with issue #5.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch remove-x402-demo

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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.

@gemini-code-assist
Copy link

Summary of Changes

Hello @tac0turtle, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly streamlines the repository by eliminating the x402 demo and all its related files. This cleanup effort removes a substantial amount of code and documentation, reducing the overall complexity and footprint of the codebase. The change also includes a minor update to a doc comment to ensure it remains relevant and generic after the demo's removal.

Highlights

  • X402 Demo Removal: The entire examples/x402-demo/ directory, encompassing its frontend, server, and simulator components, has been completely removed from the repository.
  • Documentation Cleanup: Associated documentation files, docs/x402-client-integration.md and docs/x402-demo-requirements.md, were deleted to reflect the removal of the demo.
  • Doc Comment Generalization: A doc comment in bin/evd/src/main.rs was updated to use a generic genesis file path, removing a specific reference to the now-removed x402 demo.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • bin/evd/src/main.rs
    • Updated a doc comment to generalize the genesis file path example, removing a specific x402 demo reference.
  • docs/x402-client-integration.md
    • Removed the X402 client integration guide.
  • docs/x402-demo-requirements.md
    • Removed the X402 demo requirements document.
  • examples/x402-demo/
    • Removed the entire directory containing the x402 demo, including its frontend, server, and simulator subdirectories and their contents.
Activity
  • The pull request was generated using Claude Code.
  • The author confirmed that just quality (fmt + lint) checks passed successfully.
  • The author verified that no remaining x402 references exist in the codebase by performing a grep search.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request cleanly removes the x402 demo and all associated files from the repository. The changes are extensive but consist almost entirely of deletions, which aligns with the stated goal. The single modification in bin/evd/src/main.rs correctly updates a doc comment to remove a now-invalid path to a demo-specific genesis file, replacing it with a generic placeholder. The changes look good and accomplish the task of removing the demo code.

@tac0turtle tac0turtle merged commit 5a3c3f4 into main Feb 17, 2026
7 of 8 checks passed
@tac0turtle tac0turtle deleted the remove-x402-demo branch February 17, 2026 14:52
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.

Remove x402 demo from repository

1 participant

Comments