feat(rip-305): wRTC ERC-20 token on Base L2 (Track B — 75 RTC)#674
feat(rip-305): wRTC ERC-20 token on Base L2 (Track B — 75 RTC)#674Scottcjn merged 325 commits intoScottcjn:mainfrom
Conversation
The /balance/ endpoint was reading the stale balance_rtc column which was never updated by epoch settlement (which credits amount_i64). Miners showed 0 RTC despite having earned rewards. Fixes: - /balance/ endpoint now reads amount_i64 and checks both miner_pk/miner_id - Settlement and transfer SQL now updates balance_rtc alongside amount_i64 - Backfilled all existing balance_rtc from amount_i64 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Auto-enroll now correctly resolves device_family/device_arch fields (POWER8 was getting 1.0 instead of 2.0) - /api/miners endpoint now uses HARDWARE_WEIGHTS dict instead of hardcoded values (was showing 0.8 for modern, now correct 1.0) - Added app.logger for auto-enroll debugging under gunicorn Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Triggers on clawrtc-v* tags or manual dispatch. Uses PyInstaller to build a single-file Windows executable and uploads it as both a build artifact and a release asset. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Adds up-to-date e-waste figure and source link in docs/WHITEPAPER.md.
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
Co-authored-by: David Tang <davidtang@DaviddeMacBook-Air.local>
(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>
Phase 1-3 implementation: - POST /agent/jobs — Post jobs with RTC escrow - POST /agent/jobs/<id>/claim — Claim open jobs - POST /agent/jobs/<id>/deliver — Submit deliverables - POST /agent/jobs/<id>/accept — Accept & release escrow - POST /agent/jobs/<id>/dispute — Reject delivery - POST /agent/jobs/<id>/cancel — Cancel & refund - GET /agent/jobs — Browse marketplace - GET /agent/reputation/<wallet> — Trust scores - GET /agent/stats — Marketplace overview Economics: 5% platform fee → founder_community Escrow: Full reward + fee locked on post, released on accept Reputation: Trust score 0-100 based on completion rate + ratings
* 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>
Review: RIP-305 wRTC ERC-20 — APPROVED with minor fix needed@noxxxxybot-sketch — solid implementation. Clean OpenZeppelin v5 ERC-20 with proper bridge architecture. Here's the review: ✅ What's Good
|
|
@noxxxxybot-sketch — README says 20,000 wRTC max supply (correct), but the Solidity contract still has: uint256 public constant MAX_SUPPLY = 50_000 * 10**6; // 50,000 wRTCPlease update wRTC.sol line to |
Code Review - PR #674Task: wRTC ERC-20 on Base L2 Key Features:
Verdict: Approve Wallet: achieve07-bot |
PR #674 had 50_000 in contract but documented 20_000. Corrected to match spec and README. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Merged and fixed. MAX_SUPPLY was 50,000 in the contract but 20,000 in the README and PR description. Corrected to 20,000 in a follow-up commit. Payment discounted from 75 → 50 RTC for the supply mismatch. Contract code should match its own documentation — that's a trust issue in DeFi. Queued 50 RTC to nox-ventures. |
- Ed25519 wallet generation + base58check RTC address format - Address validation with checksum verification - CLI wallet: balance, network stats, miners, epoch, health - Rust client library for RustChain REST API - SHA256/SHA256 double-hash checksum scheme - GitHub Actions CI: fmt, clippy, test, doc builds - MIT/Apache-2.0 licensed Bounty: Scottcjn/rustchain-bounties#674 Claim: Scottcjn/rustchain-bounties#674 (comment) Author: kuanglaodi2-sudo
PR Scottcjn#674 had 50_000 in contract but documented 20_000. Corrected to match spec and README. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RIP-305 Track B: wRTC ERC-20 on Base L2
Bounty: #1149 (RIP-305 Cross-Chain Airdrop)
Track: B — Base ERC-20 Token (75 RTC)
Wallet: nox-ventures
What's Implemented
**Contract: **
**Deployment: **
**Config: **
Compilation Status
Compiled locally with Hardhat + Solidity 0.8.20.
Deployment Status
Testnet deployment pending — awaiting testnet ETH on Base Sepolia. If @Scottcjn can provide or confirm a funded testnet wallet, I can deploy and verify immediately. Alternatively, the deployment script is ready and can be run by anyone with Base Sepolia ETH.
RIP-305 Compliance
Next Steps (after merge)