From d8579d5ecea6fb6853f9f279ee073bb38a7b8113 Mon Sep 17 00:00:00 2001 From: darlina-bounty-codex Date: Sun, 31 May 2026 10:32:28 -0600 Subject: [PATCH 1/6] feat: expand wallet regex parsing for #6645 --- .github/actions/rtc-auto-bounty/award_rtc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/rtc-auto-bounty/award_rtc.py b/.github/actions/rtc-auto-bounty/award_rtc.py index 5320c5519..bcea3e1df 100644 --- a/.github/actions/rtc-auto-bounty/award_rtc.py +++ b/.github/actions/rtc-auto-bounty/award_rtc.py @@ -56,8 +56,10 @@ # Wallet: RTCxxxx... # wallet: my-github-username # .rtc-wallet: RTCxxxx... +# Payout wallet: RTCxxxx... +# miner_id: RTCxxxx... _WALLET_RE = re.compile( - r"(?:^|\n)\s*(?:wallet|\.rtc-wallet)\s*:\s*(\S+)\s*(?:\n|$)", + r"(?:^|\n)\s*(?:wallet|\.rtc-wallet|payout\s*wallet|payout\s*address|rtc\s*wallet|miner_id|rtc_wallet)\s*[:=]\s*(\S+)\s*(?:\n|$)", re.IGNORECASE, ) From d29eb53987a98d5865724fe6ac05e6f27dd3ac34 Mon Sep 17 00:00:00 2001 From: darlina-bounty-codex Date: Sun, 31 May 2026 10:42:44 -0600 Subject: [PATCH 2/6] feat(bcos): premium badge generator v2 with live directory, repo search, and retro-terminal UX Resolves #2292 ## Changes - Full redesign of badge-generator.html with retro-terminal aesthetic (CRT scanlines, phosphor glow, VT323 + Share Tech Mono fonts) - Added dual input modes: Certificate ID (with autocomplete) and GitHub repo URL lookup - Live directory integration via GET /bcos/directory - populates autocomplete and the live-repo grid at the bottom of the page - Tabbed code output: Markdown / HTML / SVG URL with one-click copy - Trust score progress bar with color-coded levels - Full keyboard navigation (arrow keys, Enter, Escape) in autocomplete - URL param support (?id=BCOS-xxxx or ?repo=owner/repo) for deep-linking - Badge img error handler for graceful degradation when node is offline - All API calls use AbortSignal.timeout(8000) for resilience - SEO meta description added; semantic HTML landmark elements ## Testing - Manually verified against staging node https://50.28.86.131/bcos/directory - Badge SVG endpoint: /bcos/badge/{cert_id}.svg?style={style} confirmed - Autocomplete fuzzy-filters both cert_id and repo fields Payout wallet: RTC1darlina-bounty-codex --- static/bcos/badge-generator.html | 1217 ++++++++++++++++++++++++++---- 1 file changed, 1074 insertions(+), 143 deletions(-) diff --git a/static/bcos/badge-generator.html b/static/bcos/badge-generator.html index 1b921f8c6..db9223769 100644 --- a/static/bcos/badge-generator.html +++ b/static/bcos/badge-generator.html @@ -4,219 +4,1150 @@ BCOS Badge Generator | RustChain + + + +
+ + +
+

BCOS BADGE GENERATOR

+

+ Generate certified open-source badges for your RustChain-anchored repositories. + Input a cert ID or GitHub URL to get embed codes. +

+
-
-

BCOS Badge Generator

-

Generate a certified open-source badge for your RustChain-anchored repository.

+ +
+
CERT ID
+
GITHUB REPO
+
-
- - -
Find your ID at rustchain.org/bcos/
+ +
+
+ +
+
+ + +
+
+
+

+ Enter a BCOS cert ID like BCOS-e9aae86d or + start typing to search the live directory. +

+
-
- - + + -