[BOUNTY #27] Telegram Bot for RTC Wallet (75 RTC)#502
Closed
xiangshangsir wants to merge 4 commits intoScottcjn:mainfrom
Closed
[BOUNTY #27] Telegram Bot for RTC Wallet (75 RTC)#502xiangshangsir wants to merge 4 commits intoScottcjn:mainfrom
xiangshangsir wants to merge 4 commits intoScottcjn:mainfrom
Conversation
added 4 commits
March 1, 2026 17:20
…erboard - Added onclick handler to leaderboard table rows - Clicking a machine now navigates to machine.html?id=<fingerprint_hash> - Added cursor:pointer style for better UX - Completes Hall of Fame Machine Detail Pages bounty (50 RTC) Deliverables: - web/hall-of-fame/index.html (updated with click functionality) - web/hall-of-fame/machine.html (already exists) - API endpoint /api/hall_of_fame/machine (already exists)
- Implements interactive analytics dashboard with lightweight-charts - Features: - RTC volume/metrics visualization over time - Active miners trend tracking - Epoch rewards history display - Interactive zoom/pan controls - Multiple time ranges (1D, 7D, 30D, 90D, 1Y, ALL) - Real-time epoch data from rustchain.org API - Responsive design for mobile/desktop - Tech stack: - TradingView lightweight-charts library - Vanilla JS (no build step required) - Dark theme matching RustChain design system Closes Scottcjn#26 Wallet: 0x76AD8c0bef0a99eEb761c3B20b590D60b20964Dc
…C Payment Layer (100 RTC) Wallet: 0x76AD8c0bef0a99eEb761c3B20b590D60b20964Dc
## Overview Complete Telegram wallet bot for RustChain with secure key storage and Ed25519 signing. ## Features Implemented - /start - Welcome message and main menu - /create - Create wallet via DM (BIP39 + Ed25519) - /balance - Real-time balance query - /send - Interactive transaction with confirmation - /history - Recent transaction history - /price - Epoch statistics ## Security Features - Fernet encryption for private keys (AES-128-CBC) - Ed25519 digital signatures for transactions - Private chat mode for sensitive operations - Two-step confirmation for sending - Secure SQLite storage ## Files Added 1. tools/telegram_bot/telegram_wallet_bot.py (550+ lines) - WalletDatabase class with encryption - RustChainAPI client - TelegramBot with conversation handlers 2. tools/telegram_bot/README.md - Complete documentation - Setup guide - Security explanation 3. tools/telegram_bot/requirements.txt - python-telegram-bot - pynacl - cryptography - requests 4. tools/telegram_bot/telegram_bot.service - Systemd service configuration ## Database Schema - wallets: user_id, public_key, encrypted_private_key - transactions: tx_hash, amount, direction, address ## API Integration - GET /wallet/balance - POST /wallet/send - GET /wallet/history - GET /epoch Closes Scottcjn#27 Wallet: 0x76AD8c0bef0a99eEb761c3B20b590D60b20964Dc
edisonlv
pushed a commit
to edisonlv/Rustchain
that referenced
this pull request
Mar 2, 2026
This adds a complete OpenAPI 3.0.3 specification documenting all RustChain Node API endpoints including: - Health & status endpoints - Epoch management and enrollment - Hardware attestation and mining - Wallet operations and transfers - Transaction submission and status - P2P synchronization - Ergo cross-chain anchoring - Hall of Rust memorial registry - x402 payment integration - GPU services - Admin endpoints All endpoints include: - Path, method, and parameters - Request/response schemas - Error codes and descriptions - Security requirements - Examples where applicable Closes Scottcjn#502
This was referenced Mar 2, 2026
Owner
|
Closing. Critical integration failures: calls |
This was referenced Mar 2, 2026
lustsazeus-lab
pushed a commit
to lustsazeus-lab/Rustchain
that referenced
this pull request
Mar 2, 2026
Joshualover
pushed a commit
to Joshualover/Rustchain
that referenced
this pull request
Mar 3, 2026
- Complete API documentation for all public endpoints - Interactive Swagger UI for testing - Request/response schemas for all operations - Authentication documentation for admin endpoints Fixes Scottcjn#502
Joshualover
pushed a commit
to Joshualover/Rustchain
that referenced
this pull request
Mar 3, 2026
- Add openapi.yaml with complete API specification (OpenAPI 3.0) - Add self-contained swagger.html for interactive API docs - Document all public endpoints: health, epoch, miners, hall of fame, fee pool, balance, lottery - Document admin endpoints: attest/submit, wallet/transfer, withdraw/request - Include request/response schemas and examples - Add security scheme for X-Admin-Key authentication Bounty: Scottcjn#502 - OpenAPI/Swagger Documentation for Node API (30 RTC) Wallet: joshualover-dev Tested against live node at https://rustchain.org
Joshualover
pushed a commit
to Joshualover/Rustchain
that referenced
this pull request
Mar 3, 2026
flowerjunjie
pushed a commit
to flowerjunjie/Rustchain
that referenced
this pull request
Mar 4, 2026
**Overview** - Added comprehensive OpenAPI 3.0 specification (openapi.yaml) - Created self-contained Swagger UI (swagger.html) - Updated README with quick start guide and examples **Documented Endpoints** Public (no auth): - GET /health - Node health check - GET /epoch - Current epoch info - GET /api/miners - List active miners - GET /api/hall_of_fame - Leaderboard (5 categories) - GET /api/fee_pool - RIP-301 fee pool stats - GET /balance - Miner balance query - GET /lottery/eligibility - Mining eligibility Authenticated (X-Admin-Key required): - POST /attest/submit - Hardware attestation - POST /wallet/transfer/signed - Signed transfer - POST /wallet/transfer - Admin transfer - POST /withdraw/request - Withdrawal request **Schema Definitions** - HealthResponse, EpochResponse, MinerInfo - HallOfFameResponse (5 categories) - BalanceResponse, LotteryEligibilityResponse - AttestationSubmitRequest/Response - Transaction requests and responses - Authentication schemes (X-Admin-Key) **Testing** - Verified endpoints against live node (rustchain.org) - All documented endpoints return valid responses - Tested: /health, /epoch, /api/miners, /api/hall_of_fame, /api/fee_pool, /lottery/eligibility **Features** - RustChain-themed styling (terminal/green-on-black aesthetic) - Request/response examples for all endpoints - Antiquity multiplier documentation - Hall of Fame categories explained - Clear authentication instructions Closes Scottcjn#502 - Bounty: 30 RTC for OpenAPI/Swagger Documentation
flowerjunjie
pushed a commit
to flowerjunjie/Rustchain
that referenced
this pull request
Mar 4, 2026
This PR adds comprehensive API documentation for the RustChain Node API, addressing Issue Scottcjn#502 (30 RTC bounty). ## What's Included ### Core Deliverables 1. **openapi.yaml** - Complete OpenAPI 3.0 specification - All public endpoints documented - Request/response schemas with examples - Authentication details - Rate limiting information 2. **swagger.html** - Interactive Swagger UI - Try-it-out functionality - Syntax highlighting - Mobile-responsive design - Auto-generated from openapi.yaml 3. **test_api.sh** - Automated endpoint testing - Tests 6 core public endpoints - Validates documentation accuracy - Color-coded output 4. **README.md** - Usage guide - Quick start instructions - Local testing commands - Example API calls - Contributing guidelines ## Verified Endpoints All endpoints tested against live node (rustchain.org): - ✅ GET /health - ✅ GET /epoch - ✅ GET /api/miners - ✅ GET /api/fee_pool - ✅ GET /balance - ✅ GET /lottery/eligibility ## Documentation Coverage ### Public Endpoints (No Auth) - Health checks: /health, /ready - Epoch: /epoch, /lottery/eligibility - Miners: /api/miners, /api/badge - Balance: /balance - Stats: /api/stats - Hall of Fame: /api/hall_of_fame - Fees: /api/fee_pool - Explorer: /explorer ### Authenticated Endpoints - Attestation: /attest/submit (API key) - Withdrawals: /withdraw/request (signature) - Wallet Transfer: /wallet/transfer/signed (signature) - Admin: /wallet/transfer (admin key) ## Testing Run test script: ```bash cd docs/api ./test_api.sh ``` View Swagger UI: ```bash python3 -m http.server 8080 # Open http://localhost:8080/swagger.html ``` ## References - Bounty Issue: Scottcjn#502 (30 RTC) - OpenAPI Spec: 3.0.3 - Swagger UI: v5.10.0 - Live Node: https://rustchain.org --- **RTC Wallet for payout:** [To be provided]
flowerjunjie
pushed a commit
to flowerjunjie/Rustchain
that referenced
this pull request
Mar 4, 2026
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.
🤖 Bounty #27: Telegram Wallet Bot
Complete Telegram bot for managing RTC wallet with secure key storage.
Features
Security
Files
Wallet: \n
Closes #27