Skip to content

Fix issue #1: feat(rust): implement native Rust wallet for bounty #733#2

Open
Jesse-Voo wants to merge 380 commits intocreatekr:mainfrom
Jesse-Voo:bounty-1
Open

Fix issue #1: feat(rust): implement native Rust wallet for bounty #733#2
Jesse-Voo wants to merge 380 commits intocreatekr:mainfrom
Jesse-Voo:bounty-1

Conversation

@Jesse-Voo
Copy link
Copy Markdown

Resolves #1

Payment address: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847

Scottcjn and others added 30 commits June 5, 2025 10:00
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
createkr and others added 20 commits March 12, 2026 13:33
- verify_backup.py: Main verification script with hash, readability, and restore checks
- test_verify_backup.py: Comprehensive test suite (20 tests)
- ci_validate.sh: CI/CD validation script for pipeline integration
- Clear exit codes (0-6) for different failure scenarios
- JSON and text output formats for CI/CD integration
- SHA-256 sidecar file support for hash verification
- Batch processing for multiple backup files
- Cross-platform compatibility (Linux/macOS)

Implements: rustchain-bounties issue Scottcjn#755

Co-authored-by: createkr <createkr@proton.me>
Implement production-ready Flask-based faucet service for dispensing test RTC tokens.

Features:
- Configurable rate limiting (IP, wallet, or hybrid methods)
- Wallet address validation with blocklist/allowlist support
- SQLite backend with optional Redis for distributed deployments
- REST API with modern HTML UI
- Health check and Prometheus metrics endpoints
- Mock mode for testing without actual transfers

Files:
- faucet_service/faucet_service.py - Main service (1036 lines)
- faucet_service/faucet_config.yaml - Configuration template
- faucet_service/test_faucet_service.py - Test suite (30 tests)
- faucet_service/README.md - Comprehensive documentation
- faucet_service/requirements.txt - Python dependencies
- faucet_service/IMPLEMENTATION_SUMMARY.md - Implementation details

Testing:
- All 30 tests passing
- Coverage: config, validation, rate limiting, API, integration

Usage:
  cd faucet_service
  pip install -r requirements.txt
  python faucet_service.py

API Endpoints:
  GET  /faucet        - Web UI
  POST /faucet/drip   - Request tokens
  GET  /faucet/status - Statistics
  GET  /health        - Health check

Co-authored-by: createkr <createkr@proton.me>
Implement RSS 2.0, Atom 1.0, and JSON Feed endpoints for BoTTube video content.

Changes:
- node/bottube_feed.py: Feed generation module with RSS/Atom builders
- node/bottube_feed_routes.py: Flask API routes for feed endpoints
- node/rustchain_v2_integrated_v2.2.1_rip200.py: Feed route integration
- sdk/python/rustchain_sdk/bottube/client.py: SDK feed methods (feed_rss, feed_atom, feed_json)
- docs/BOTTUBE_FEED.md: Comprehensive documentation
- tests/test_bottube_feed.py: Feed generator unit tests (32 tests)
- tests/test_bottube_feed_routes.py: API route tests (23 tests)

Features:
- GET /api/feed/rss - RSS 2.0 feed with media extensions
- GET /api/feed/atom - Atom 1.0 feed with full metadata
- GET /api/feed - JSON Feed with auto-discovery links
- Agent filtering (?agent=agent-id)
- Pagination (?limit=N, ?cursor=token)
- XML escaping and security hardening
- Cache headers (5-minute TTL)

All 55 tests pass.

Co-authored-by: createkr <createkr@proton.me>
* docs: standardize node URLs to rustchain.org

* feat: add @Drgonzoh to contributors
* docs: standardize node URLs to rustchain.org

* feat: add @Drgonzoh to contributors

* docs: update node address in INSTALL.md
- Create comprehensive block explorer with 4 main views:
  * Network Overview: Real-time status, miners, epoch, pot
  * Miners Dashboard: Complete miner list with search
  * Epoch Information: Detailed epoch data
  * Transaction Explorer: Recent transactions

- Features:
  * Auto-refresh every 30 seconds
  * Responsive design (mobile-friendly)
  * Dark theme matching RustChain branding
  * Architecture badges with multipliers
  * Search functionality for miners
  * Vanilla JS (no build step required)

- API Integration:
  * /health - Network status
  * /api/miners - Active miners
  * /epoch - Current epoch info

Related to bounties Scottcjn#686 and Scottcjn#1623

Co-authored-by: OpenClaw Agent <agent@openclaw.local>
* docs: Add comprehensive FAQ document for RustChain

- Cover basic concepts (Proof-of-Antiquity, what is RustChain)
- Mining setup and troubleshooting
- RTC token information and trading
- Hardware support and verification
- Bounty program details
- Governance and community resources
- Technical troubleshooting guide

Fixes rustchain-bounties Scottcjn#1628

* Add Simplified Chinese translation of RustChain Whitepaper v1.0

- Complete translation of the technical whitepaper
- Covers all 11 sections plus appendices
- Translated by 牛 (OpenClaw agent) for bounty Scottcjn#1630
* docs: Add comprehensive FAQ document for RustChain

- Cover basic concepts (Proof-of-Antiquity, what is RustChain)
- Mining setup and troubleshooting
- RTC token information and trading
- Hardware support and verification
- Bounty program details
- Governance and community resources
- Technical troubleshooting guide

Fixes rustchain-bounties Scottcjn#1628

* Add Mining Earnings Calculator - estimates RTC rewards based on hardware antiquity

- Web-based calculator with live network data integration
- Supports multiple hardware types with different antiquity multipliers
- Shows earnings per epoch/hour/day/week/month in RTC and USD
- Includes sensitivity table showing earnings vs network size
- Addresses issue Scottcjn#160

* docs: Add RustChain upgrade migration guide (Scottcjn#1667)

---------

Co-authored-by: yifan19860831-hub <yifan19860831-hub@users.noreply.github.com>
Co-authored-by: 牛马主管 <agent@rustchain.org>
* docs: Add comprehensive FAQ document for RustChain

- Cover basic concepts (Proof-of-Antiquity, what is RustChain)
- Mining setup and troubleshooting
- RTC token information and trading
- Hardware support and verification
- Bounty program details
- Governance and community resources
- Technical troubleshooting guide

Fixes rustchain-bounties Scottcjn#1628

* docs: Add RustChain upgrade migration guide (Scottcjn#1667)

---------

Co-authored-by: 牛马主管 <agent@rustchain.org>
* docs: Add comprehensive FAQ document for RustChain

- Cover basic concepts (Proof-of-Antiquity, what is RustChain)
- Mining setup and troubleshooting
- RTC token information and trading
- Hardware support and verification
- Bounty program details
- Governance and community resources
- Technical troubleshooting guide

Fixes rustchain-bounties Scottcjn#1628

* docs: Add RustChain upgrade migration guide (Scottcjn#1667)

---------

Co-authored-by: 牛马主管 <agent@rustchain.org>
* docs: Add comprehensive FAQ document for RustChain

- Cover basic concepts (Proof-of-Antiquity, what is RustChain)
- Mining setup and troubleshooting
- RTC token information and trading
- Hardware support and verification
- Bounty program details
- Governance and community resources
- Technical troubleshooting guide

Fixes rustchain-bounties Scottcjn#1628

* docs: Add RustChain upgrade migration guide (Scottcjn#1667)

* docs: Add RustChain multi-sig wallet guide (Scottcjn#1672)

- Create comprehensive multi-sig wallet guide
- Cover setup, usage, and security best practices
- Include M-of-N configuration examples
- Add CLI reference and troubleshooting section

Closes Scottcjn#1672

---------

Co-authored-by: 牛马主管 <agent@rustchain.org>
Co-authored-by: 牛 2 <niu2@rustchain.org>
* feat: Add Node.js Discord bot with /balance, /miners, /epoch, /health, /tip commands

- Complete Node.js implementation using discord.js
- All 5 slash commands as specified in Scottcjn#1596
- Includes /tip command for +5 RTC bonus
- Modern Discord slash commands (not legacy prefix)
- Full error handling and API fallbacks
- Bot invite link ready for testing

Bounty: Scottcjn#1596 (15 RTC total: 10 base + 5 tip bonus)
Author: @soongtv

* feat: Discord bot V2 with real RustChain API integration

V2 Improvements (fixes all issues from PR Scottcjn#883):

✅ Real API Integration
- Uses actual RustChain node: https://50.28.86.131
- Correct endpoints: /health, /epoch, /api/miners, /wallet/balance

✅ Correct Data Models
- device_arch, device_family, antiquity_multiplier
- hardware_type, entropy_score, last_attest
- No fake fields (removed hash_rate, blocks_mined, validators)

✅ Real /tip Implementation
- Ed25519 signature using tweetnacl
- POST /wallet/transfer/signed with real signing
- Requires WALLET_SECRET_KEY configuration

✅ English Documentation
- All files in English (README.md, demo files removed)
- Clear setup instructions
- API reference included

Commands:
- /health - Node health status
- /epoch - Current epoch info
- /balance <miner_id> - RTC balance query
- /miners [limit] [address] - Top miners list
- /tip <recipient> <amount> - Send RTC with real signature

Bounty: Scottcjn#1596 (15 RTC = 10 base + 5 tip bonus)
/claim Scottcjn#1596

---------

Co-authored-by: soongtv <283416539@qq.com>
…reatekr)

Co-authored-by: createkr <createkr@proton.me>
…entation

Generated by AI bounty hunter
Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
…ner Implementation

Generated by AI bounty hunter
Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
… Telegram Bot Implementation

Generated by AI bounty hunter
Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
…n#422)

Generated by AI bounty hunter
Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
… SDK (Scottcjn#1588)

Generated by AI bounty hunter
Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
…for bounty Scottcjn#733

Generated by AI bounty hunter
Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.