Skip to content

[BOUNTY] GitHub Action: RustChain Mining Status Badge (40 RTC) #256

@Scottcjn

Description

@Scottcjn

GitHub Action: RustChain Mining Status Badge — 40 RTC

Goal

Create a GitHub Action published to the GitHub Marketplace that displays a live RustChain mining status badge in any repo README. Every repo using this = backlink to RustChain.

What It Does

Generates a dynamic SVG badge showing:

  • Miner wallet balance
  • Current epoch
  • Mining status (active/inactive)

Usage (in any repo README):

\![RustChain Mining](https://img.shields.io/endpoint?url=https://50.28.86.131/api/badge/frozen-factorio-ryan)

Or as a GitHub Action that updates README automatically:

- uses: Scottcjn/rustchain-badge-action@v1
  with:
    wallet: my-wallet-name

Implementation

  1. Badge API endpoint on RustChain node: /api/badge/<wallet> returns shields.io-compatible JSON
  2. GitHub Action (optional): Auto-updates README with latest stats
  3. Publish to GitHub Marketplace

Badge JSON format (shields.io endpoint schema):

{
  "schemaVersion": 1,
  "label": "RustChain",
  "message": "42.5 RTC | Epoch 73 | Active",
  "color": "brightgreen"
}

Why This Matters

  • Every repo with this badge links to RustChain
  • GitHub Marketplace listing = organic discovery
  • shields.io integration = instant credibility

Reward: 40 RTC

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountyRTC bounty rewardenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions