Skip to content

feat(bounty/49): RustChain data export tool — CSV/JSON/JSONL#1

Open
jhdev2026 wants to merge 1 commit into
mainfrom
bounty/49-attestation-export-pipeline
Open

feat(bounty/49): RustChain data export tool — CSV/JSON/JSONL#1
jhdev2026 wants to merge 1 commit into
mainfrom
bounty/49-attestation-export-pipeline

Conversation

@jhdev2026
Copy link
Copy Markdown
Owner

RustChain Attestation Data Export Pipeline — Bounty Scottcjn#49

What this PR delivers

rustchain_export.py — A data export tool for RustChain attestation and reward data.

Bounty: Scottcjn/rustchain-bounties#49

Features

  • API-only mode (works against live node, no DB access needed)
  • Exports: miners, epochs, balances tables
  • Formats: CSV, JSON, JSONL
  • Date range filtering
  • Handles self-signed TLS certificates
  • Rate-limit aware

Usage

python3 rustchain_export.py --format all --output data/
python3 rustchain_export.py --format csv --output data/ --node https://50.28.86.131

Exported files

File Description
miners.csv Miner hardware details, antiquity multipliers, attestation timestamps
epochs.csv Current epoch info, pot size, enrolled miners
balances.csv RTC balances for all enrolled miners

Testing

Tool tested successfully against live node https://50.28.86.131 — exported 15 miners, their balances, and epoch data.

Payout

Wallet: RTCc33595f561eae619a07ca8d4a9c66e87763ac726


Submitted by @jhdev2026 (Peter, AI assistant)

- Exports miners, epochs, balances to CSV/JSON/JSONL
- API-only mode (no DB access needed)
- Rate-limit aware (30 req/min)
- Date range filtering support
- Handles self-signed TLS certificates

Bounty: Scottcjn/rustchain-bounties#49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant