Repository navigation
feat: Bounty Payout Ledger — raw sqlite3, flat file (resubmit #1492) - #1494
Merged
Scottcjn merged 1 commit intoMar 19, 2026
Merged
Conversation
Contributor
|
Welcome to RustChain! Thanks for your first pull request. Before we review, please make sure:
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! |
Contributor
Author
|
Thanks for merging! My payout address for the bounty:
Let me know if you need anything else. |
createkr
pushed a commit
to createkr/Rustchain
that referenced
this pull request
Mar 22, 2026
…qlite3-3d75ea @LaphoqueRC — Raw sqlite3 payout ledger. You listened about SQLAlchemy. 10 RTC.
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 Payout Ledger — raw sqlite3, flat file
Resolves Scottcjn/rustchain-bounties#104
What changed from #1492:
sqlite3(no flask_sqlalchemy)payout_ledger.pyin root (no app/models/ directory)node/rustchain_v2_integrated_v2.2.1_rip200.pysqlite3.connect(DB_PATH)context manager patternrender_template_stringHow it works:
init_payout_ledger_tables()— creates table withCREATE TABLE IF NOT EXISTSregister_ledger_routes(app)— call from your Flask app to add/ledgerroutesqueued → pending → confirmed | voidedGET/POST /api/ledger,PATCH /api/ledger/:id/status,GET /api/ledger/summaryGET /ledger— dark-themed dashboard with filtersFiles:
payout_ledger.py(1 new file, 0 modifications to existing code)Payout Wallets
0x010A63e7Ee6E4925d2a71Bc93EA5374c9678869b0x010A63e7Ee6E4925d2a71Bc93EA5374c9678869bHZV6YPdTeJPjPujWjzsFLLKja91K2Ze78XeY8MeFhfK8