Public all-wallet balance export (unblocks rustchain-bounties#1113 distribution analysis)
Maintainers usually reply within 10 days
@tariqtharwat-OPS is already working on this.
Since Sep 20, 2026.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
An open linked pull request (#8487) already targets this issue, so check its scope before considering any work. The issue names the proposed GET /api/balances/export endpoint and the required fields, pagination, rate limiting, caching, and explorer documentation, but not the node files or tests to start from. Follow the existing balance and /api/miners implementation and its tests; done means a tested, documented export of all wallet balances with the specified fields.
Written by the indexing model from the issue text.
Description
Gap, confirmed 2026-09-05. rustchain-bounties#1113 asks contributors to compute Gini, top non-founder holders, and a distribution chart from "all wallet balances via the explorer API". No such public endpoint exists. /api/miners returns active miners only, so any distribution statistic built from it is wrong by construction. A contributor (@prins1bap-ui) noticed this and asked before building; others may already have submitted numbers derived from the wrong population.
Proposal. Add a read-only, paginated GET /api/balances/export (or a nightly static JSON at /exports/balances-YYYY-MM-DD.json) on the primary node:
- fields:
wallet,balance_rtc,is_founder(the fourfounder_*wallets),kind(native/hosted_handle/bcn),last_activity - excludes nothing (transparency), rate-limited, cached per epoch
- documented in the explorer
Until this exists: #1113 should carry a note telling contributors not to build against /api/miners. I will add that note on the bounty.
Reward suggestion for the implementer: 25 RTC (touches the node, needs a test, no consensus impact).
- Dominant language
- Python
- Stars
- 850
- Forks
- 589
- Avg merge
- 11d 7h
- Merged PRs (30d)
- 29
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Scottcjn/Rustchain
-
utxo_ledger (reference): failed apply_transaction leaks already-created outputs (supply inflation)Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 10 days
-
SDK CLI prints 0 RTC for canonical /wallet/balance responsesPossibly taken @ArtyormSatori claimed this 37 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Scottcjn/Rustchain#8580 · 4 comments ·
Maintainers usually reply within 10 days
-
utxo_ledger (reference): no coinbase authorization; mempool admits any input-less MINING_REWARDOpen
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Maintainers usually reply within 10 days
-
[SECURITY] Non-finite and garbage weights pass the sybil-guard money chain — enrollment_weight has no isfinite guard and epoch_weight_to_units raises on NaN/infPossibly taken @thinhnx128 claimed this 28 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Scottcjn/Rustchain#8619 · 2 comments ·
Maintainers usually reply within 10 days
-
[Antiquity] Celeron M (Banias/Dothan, 2004) has no brand rule — real vintage silicon falls to x86 default 1.0x while its Pentium M twin earns 1.9xPossibly taken @Limm-web claimed this 60 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Scottcjn/Rustchain#8578 · 5 comments ·
Maintainers usually reply within 10 days
All issues in Scottcjn/Rustchain
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
daniel-ospina/tortoise#15308 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
difficulty:easy prio:low type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NatronGitHub/Natron#2405 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Jstar269/nakagawa-recomp#3746 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day