feat: RustChain Health Check CLI Tool (Bounty #1111)#672
Closed
sososonia-cyber wants to merge 334 commits intoScottcjn:mainfrom
Closed
feat: RustChain Health Check CLI Tool (Bounty #1111)#672sososonia-cyber wants to merge 334 commits intoScottcjn:mainfrom
sososonia-cyber wants to merge 334 commits intoScottcjn:mainfrom
Conversation
(cherry picked from commit 04a83ae)
(cherry picked from commit 9bd5620)
5 papers with DOI badges: 1CPU1Vote, Vec_Perm Collapse, PSE Hardware Entropy, Neuromorphic Prompt Translation, and RAM Coffers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merge bounty hardening patch for admin OUI denylist endpoints.
Merge explorer dashboard XSS hardening patch.
Merge security patch for /pending/list and /pending/integrity auth.
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
…ion (PR Scottcjn#127) * hardening: payout preflight validation + no-500 transfer guards * fix(security): enforce pending 2-phase commit for signed transfers * fix: deployment-compatible payout_preflight imports --------- Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Implements a device-age oracle check + adds tests. Bounty: rustchain-bounties#2
Adds fingerprint preflight validator + tests. Bounty: rustchain-bounties#44
New tool: standalone node health monitor with Discord alerting. Credits liu971227-sys.
Add guidance to verify/pin the RustChain node certificate when using curl. Includes fingerprint check + optional --cacert pinning; keeps Contributing/License sections.
Add a wRTC (Solana) quickstart guide with anti-scam checks and reference links. Includes lightweight doc validation tests.
Add an optional helper script to show RustChain mining status in Discord Rich Presence.
Add a 2D/3D Hardware Museum UI (served by the node) plus best-effort miner attestation history and balances endpoints for explorer integrations.
Add new Rust-based CLI tool for RustChain blockchain operations: - Node health checking - Epoch information - Active miners listing - Wallet balance checking - RTC address generation (Bounty Scottcjn#674 Tier 1) - RTC address validation (Bounty Scottcjn#674 Tier 1) - Network address verification This completes the Tier 1 (Utilities) requirements for bounty Scottcjn#674. Wallet: lobster-agent Tier: 1 Repo: https://github.com/sososonia-cyber/Rustchain
- Implement AgentClient for RIP-302 Agent Economy API - Support job posting, claiming, delivery, and acceptance - Include reputation and market stats endpoints - Add CLI tool for terminal usage - Include unit tests and documentation Bounty: RIP-302 Agent Economy SDK (50 RTC) Issue: Scottcjn/rustchain-bounties#683
* security: trust X-Real-IP over X-Forwarded-For in node endpoints * docs: add comprehensive protocol draft for bounty Scottcjn#8 * feat: implement bounty Scottcjn#686 full explorer SPA suite (tier1+tier2+tier3) - Add static no-build Single Page Application explorer - Tier 1: Core features (health, epoch, miners, blocks) - Tier 2: Advanced features (transactions, search, hardware breakdown) - Tier 3: Premium features (Hall of Rust, real-time updates, PWA) - Responsive dark theme with modern UI/UX - Robust error handling and loading states - Service worker for offline support - API proxy server with caching - Comprehensive documentation and test page Files added: - explorer/index.html: Main SPA with all tier features - explorer/static/css/explorer.css: Complete dark theme stylesheet (749 lines) - explorer/static/js/explorer.js: Application logic with API integration (753 lines) - explorer/static/js/sw.js: Service worker for offline caching - explorer/explorer_server.py: Python server with API proxy - explorer/manifest.json: PWA manifest - explorer/test.html: API endpoint test page - explorer/README.md: Comprehensive documentation - explorer/requirements.txt: Python dependencies Total: 2,905 lines of code added across 9 files Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> * chore: add explorer quick start script Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> --------- Co-authored-by: xr <xr@xrdeMac-mini-2.local> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* security: trust X-Real-IP over X-Forwarded-For in node endpoints * docs: add comprehensive protocol draft for bounty Scottcjn#8 * feat: implement RIP-302 Agent Economy Python SDK (bounty Scottcjn#685) Add production-quality Python SDK for RustChain Agent Economy APIs: Core Components: - AgentEconomyClient: Unified client for all Agent Economy operations - Agent Manager: Wallet creation, profile management, Base integration - Payment Processor: x402 protocol for machine-to-machine payments - Reputation Client: Beacon Atlas integration with scoring and attestations - Analytics Client: Earnings reports, activity metrics, BoTTube integration - Bounty Client: Automated bounty discovery, claiming, and submission Documentation: - RIP-302 specification document (rips/docs/RIP-302-agent-economy.md) - Comprehensive SDK documentation (sdk/docs/AGENT_ECONOMY_SDK.md) - Updated main SDK README with Agent Economy section - 9 comprehensive usage examples Testing: - 32 unit tests covering all modules - Integration test support with mocks - All tests passing (61 total SDK tests) Features: - Agent identity and wallet binding - x402 payment protocol (HTTP 402 Payment Required) - Reputation tiers (ELITE, VERIFIED, TRUSTED, etc.) - Video analytics for BoTTube platform - Automated bounty workflow - Premium endpoint support - Full error handling with custom exceptions - Context manager support - Type hints with py.typed marker Version: 1.0.0 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> --------- Co-authored-by: xr <xr@xrdeMac-mini-2.local> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* security: trust X-Real-IP over X-Forwarded-For in node endpoints * docs: add comprehensive protocol draft for bounty Scottcjn#8 * bounty Scottcjn#684: add reproducible Agent-to-Agent transaction test challenge Implement RIP-302 specification for reproducible A2A transaction testing across Beacon Protocol, Grazer skill discovery, and x402 payment rails. Artifacts added: - rips/docs/RIP-302-agent-to-agent-test-challenge.md: Full specification - bounties/issue-684/scripts/run_challenge.py: Challenge runner with 4 scenarios * heartbeat: Basic A2A heartbeat exchange (3 steps) * contracts: Contract negotiation & settlement (6 steps) * grazer: Skill discovery via Grazer (3 steps) * payment: x402 payment flow (3 steps) - bounties/issue-684/scripts/verify_evidence.py: Evidence verification - bounties/issue-684/scripts/collect_proof.py: Proof bundle collection - bounties/issue-684/scripts/ci_validate.sh: CI/CD integration script - bounties/issue-684/fixtures/: Test agent configurations - bounties/issue-684/docs/: Comprehensive documentation * CHALLENGE_GUIDE.md: Detailed usage instructions * EVIDENCE_SCHEMA.md: Evidence format reference - bounties/issue-684/proof.json: Sample proof bundle with verified evidence Features: - Deterministic test execution with reproducible evidence digests - Cryptographic evidence chain using blake2b hashes - Automated verification of evidence integrity and completeness - Mock mode for testing without beacon-skill/grazer-skill dependencies - CI/CD ready with automated validation pipeline - Comprehensive documentation for bounty hunters and auditors All 4 scenarios tested and verified successfully. Evidence integrity confirmed with 0 issues. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> --------- Co-authored-by: xr <xr@xrdeMac-mini-2.local> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* security: trust X-Real-IP over X-Forwarded-For in node endpoints * docs: add comprehensive protocol draft for bounty Scottcjn#8 * feat(java): add complete RustChain Java SDK and validator tools for bounty Scottcjn#675 - Java SDK with hardware detection (CPU, BIOS, OS, memory, storage) - Vintage era classification with scoring multipliers (Classic to Modern) - Entropy generator with SHA-256 iterative hashing - Validator core for proof-of-antiquity generation - CLI tool with validate/verify/info/score commands - Node health monitor for system resource tracking - Complete model layer (ProofOfAntiquity, HardwareFingerprint, Score, etc.) - JUnit 5 test suite with 15+ test cases - Build system: Maven (pom.xml), Gradle (build.gradle), shell scripts - Comprehensive documentation (README.md, JAVA_IMPLEMENTATION.md) - Example code and integration guides Deliverables: - ~2,500 lines of production Java code - Cross-platform support (Windows, macOS, Linux) - Compatible with existing proof_of_antiquity.json format - Ready for integration with Spring Boot, REST APIs, and more Technical specs: - Java 11+ compatible - Dependencies: Jackson 2.16.1, picocli 4.7.5, SLF4J 2.0.11 - Vintage scoring: 100-500 base + bonuses + multipliers up to 2.0x - Rank system: Common → Uncommon → Rare → Epic → Legendary Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> --------- Co-authored-by: xr <xr@xrdeMac-mini-2.local> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Upgrade /explorer with Tier 1 real-time miner dashboard * Extend /explorer with Tier 2 agent marketplace view --------- Co-authored-by: liu971227-sys <248239659+liu971227-sys@users.noreply.github.com>
- Deploy manifesto link to README nav (rustchain.org/manifesto.html) - Add Boudreaux Computing Principles (docs/BOUDREAUX_COMPUTING_PRINCIPLES.md) - Link Boudreaux Principles in README nav "Some Things Just Cook Different" - from Acadia to the chain.
* feat: Add Miner Dashboard (Tier 1 - 50 RTC Bounty) - Real-time miner dashboard with architecture badges - G4, G5, POWER8, Apple Silicon, Modern badges - Online/offline status indicators - Antiquity multiplier display - Last attestation timestamps - Sortable table with search - Auto-refresh every 30 seconds - Dark theme matching RustChain branding - Mobile responsive design - Mock data fallback when API unavailable Bounty: Issue Scottcjn#686 Tier 1 (50 RTC) * feat: Add Agent Economy CLI Tool (Issue Scottcjn#683 - 25 RTC) - CLI tool for posting and claiming jobs - List open jobs with category filter - Post new jobs with title, description, category, reward - Claim jobs from terminal - Submit deliveries with URLs - Get job details - Marketplace statistics Usage: rustchain-agent jobs list rustchain-agent jobs post "Title" -d "Description" rustchain-agent jobs claim job_id rustchain-agent jobs deliver job_id https://... rustchain-agent jobs info job_id rustchain-agent stats Install: pip install -e . Bounty: Issue Scottcjn#683 Tier 1 (25 RTC) * feat: Add Agent Economy Marketplace View (Issue Scottcjn#686 Tier 2 - 75 RTC) - Real-time marketplace dashboard - Open jobs with category filters - Job lifecycle visualization (Posted → Claimed → Delivered → Completed) - Marketplace stats (volume, fees, active agents) - Agent reputation lookup by wallet - Search functionality - Auto-refresh every 30 seconds - Dark theme matching RustChain branding - Mobile responsive - Mock data fallback when API unavailable Bounty: Issue Scottcjn#686 Tier 2 (75 RTC) --------- Co-authored-by: Atlas (OpenClaw) <atlas@openclaw.ai>
- Rust CLI tool for generating and validating RTC addresses - Supports address generation, validation, and key derivation - Includes unit tests - Adds GitHub Actions CI workflow - MIT License
* security: trust X-Real-IP over X-Forwarded-For in node endpoints * docs: add comprehensive protocol draft for bounty Scottcjn#8 * feat(go): implement RIP-302 Agent Economy Go SDK for bounty Scottcjn#685 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> --------- Co-authored-by: xr <xr@xrdeMac-mini-2.local> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…cjn#627) * security: trust X-Real-IP over X-Forwarded-For in node endpoints * docs: add comprehensive protocol draft for bounty Scottcjn#8 * feat: implement Scottcjn#685 tier3 autonomous multi-agent pipeline demo - Add 3 specialized agents: Validator, Settlement, Reward - Implement verifiable RTC transaction flow with mock/real modes - Create pipeline orchestrator for coordinated agent execution - Add comprehensive test suite (32 tests) for flow integrity - Include runnable demo scripts and verification tools - Generate evidence artifacts (receipts, proofs, summaries) - Document architecture, API reference, and verification guide Deliverables: - tier3/agents/validator_agent.py - Agent 1: PoA validation - tier3/agents/settlement_agent.py - Agent 2: Transaction settlement - tier3/agents/reward_agent.py - Agent 3: Reward distribution - tier3/agents/pipeline_orchestrator.py - Pipeline coordination - tier3/transactions/rtc_transaction.py - Core transaction flow - tier3/tests/test_pipeline.py - Test suite (32 tests, 100% pass) - tier3/demo_pipeline.py - Runnable demo script - tier3/verify_tier3.py - Reviewer verification script - tier3/README.md - Comprehensive documentation Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> --------- Co-authored-by: xr <xr@xrdeMac-mini-2.local> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Implement property-based testing using Hypothesis - Test 6 key ledger invariants: 1. Conservation of RTC (total in = total out + fees) 2. Non-negative balances (no wallet below 0) 3. Epoch reward invariant (exactly 1.5 RTC per epoch) 4. Transfer atomicity (failed transfers don't change balances) 5. Antiquity weighting (higher multiplier = more rewards) 6. Pending transfer lifecycle (24h confirm or void) - Include both mock tests and live node tests - Run with: python tests/test_ledger_invariants.py --live
- Interactive miner setup wizard
- One-command setup: pip install clawrtc && clawrtc setup
- Hardware auto-detection (CPU, RAM, architecture)
- Platform detection (Linux, macOS, various architectures)
- Node connectivity check
- Automatic miner file download
- Virtual environment setup
- Wallet configuration
- Optional fingerprint checks
- Optional systemd/launchd service installation
- Health check commands
Usage:
pip install clawrtc
clawrtc setup
clawrtc start
clawrtc status
clawrtc health
Bounty: Scottcjn/rustchain-bounties#766
This was referenced Mar 7, 2026
Owner
|
Closing — same bundling pattern as your previous 14 closed PRs. 30 files covering 5-6 different bounties in one submission. Our rules: one PR per bounty. This is the third time we have closed your PRs for this reason. Please read the feedback on your previous closures before submitting again. 🏠 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the RustChain Health Check CLI Tool (Bounty #1111, 8 RTC).
Features
Files Added
bounty-tools/health_check_cli.py- Main CLI toolUsage
Screenshot/Output
Wallet for reward: sososonia-cyber