RFWIN: provably fair winner draws

v1.4.0
com.rewardsfuel/rfwin Checked 4 days ago Published 19 days ago

Free verifiable giveaway winner picker: run a draw, get a public proof link anyone can verify.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

draw_winners

Perform a verifiable random draw (commit-reveal + drand) of winners from contestants and prizes. Saves a proof page on rfwin.uk/d/:id. Free for all accounts (free tier: up to 10,000 contestants per draw; paid plans: larger draws). Optional radio preset: alternates (ordered backup winners), station, show. Optional visibility: "public" (default, indexable) or "private" (unlisted: works and verifies for anyone with the link, but noindex and never listed).

ParameterTypeDescription
contestants *arrayList of contestants (names, emails, or usernames)
prizes *arrayList of prizes and quantities to draw for
algorithmstringDrawing algorithm: random (equal weight) or weighted. Default random.
alternatesintegerOptional number of ordered backup winners (0-20) drawn after the main prizes, e.g. for radio giveaways. Requires uniqueWinners.
showstringOptional show or segment name shown on the proof page.
stationstringOptional station name / call sign shown on the proof page.
titlestringOptional title for the draw
uniqueWinnersbooleanIf true, a contestant can win at most one prize. Default true.
visibilitystringOptional. "public" (default): proof page is indexable by search engines. "private" (alias "unlisted"): proof page works and verifies for anyone with the link (get_draw / verify_draw too) but is noinde…

get_draw

Who won an RFWIN prize draw. Use when someone asks "who won the … giveaway/contest/draw?" and has an RFWIN proof link (rfwin.uk/d/<id>) or draw id. Returns title, organiser/station and show, draw date, entry count, prizes, the winners and ordered backup winners (names masked for privacy, quote them exactly), the fairness verdict and a ready-to-quote answer. Free, no key.

ParameterTypeDescription
draw *stringRFWIN proof link (e.g. https://rfwin.uk/d/xxlqh5ac9f) or the draw id (e.g. xxlqh5ac9f)

verify_draw

Was an RFWIN prize draw fair. Recomputes the draw server-side: SHA-256 seed commitment, entry-list hash, the drand public randomness round (cross-checked against the drand network), draw digest, every win hash, and re-derives every winner from the entry list. Returns verdict (verified | verified_hash_level | partially_verified | mismatch | not_drawn_yet), each check with details, what verification does and does not prove, the hashes and a recipe to recompute it yourself. Free, no key.

ParameterTypeDescription
draw *stringRFWIN proof link (e.g. https://rfwin.uk/d/xxlqh5ac9f) or the draw id

create_leaderboard

Create a free RankFuel leaderboard (rnkfl.com) for radio listeners, no account needed: a public board for an on-air contest (call-ins, trivia, check-ins). Returns the public board URL, studio-screen URL and website embed (URL + iframe HTML), plus a SECRET manage token/URL in the "secret" block: give it only to the person running the board, never post it. Limits: 5 new boards per 10 minutes and 20 per day per connection; up to 500 listeners per board. Free, no key.

ParameterTypeDescription
contest *stringContest name, e.g. "Summer Trivia" (max 80 characters)
station *stringStation name or call sign, e.g. "CFAX 1070" (max 80 characters)
colorstringOptional brand colour as hex, e.g. #e65208 (default #3dd879)
logoUrlstringOptional https:// link to the station logo image

add_points

Add (or with a negative number, remove) points for a listener on a RankFuel leaderboard. Needs the board id and its SECRET manage token. The listener is identified by public display name (+ optional town); a new name is added to the board automatically. PRIVACY: names are public, so use a first name plus last initial or a nickname; full names are shortened to "Jane S." and phone numbers or emails are rejected. Returns the listener's new total and rank and the top 10. Free, no key.

ParameterTypeDescription
boardId *stringLeaderboard id (10 characters) or its public link, e.g. https://rfwin.uk/lb/abc123defg
listener *stringPublic display name: first name + last initial, or a nickname/handle. No phone numbers or emails.
manageToken *stringSECRET manage token (rlb_…) returned once by create_leaderboard (the manage link also works). Keep private; never show it in public places.
points *integerPoints to add, -1000..1000, not 0 (negative removes)
reasonstringOptional short label, e.g. call-in, trivia, check-in (max 24 characters)
townstringOptional town shown on the board; tells same-name listeners apart

get_leaderboard

Public standings of a RankFuel leaderboard (radio listener board): station, contest, open/closed, ranked listeners (display names, towns, points; ties share a rank), and a ready-to-quote answer with the leader. Use when someone asks "who is winning/leading …" and has an rfwin.uk/lb/<id> link. No token needed. Free, no key.

ParameterTypeDescription
boardId *stringLeaderboard id (10 characters) or its public link, e.g. https://rfwin.uk/lb/abc123defg
topintegerHow many places to return, 1-100 (default 10; listeners tied at the cutoff are included)

close_leaderboard

Close a RankFuel leaderboard when the contest ends: the public board shows final standings and no more points can be added. Pass reopen: true to reopen. Needs the SECRET manage token. Free, no key.

ParameterTypeDescription
boardId *stringLeaderboard id (10 characters) or its public link, e.g. https://rfwin.uk/lb/abc123defg
manageToken *stringSECRET manage token (rlb_…) returned once by create_leaderboard (the manage link also works). Keep private; never show it in public places.
reopenbooleantrue reopens a closed board (default false = close)

list_signal_tickers

RF Signals: list supported tickers and the latest daily bar date for each. All tiers (free included). Free public teaser: daily timeframe only, end-of-day data delayed by one trading day. Connect /api/mcp with an API key for current data; weekly/monthly, levels, ratios and scans need the Analyst tier (paid plans).

get_signal

RF Signals: price, SMA50/200, RSI(14), MACD(12,26,9), per-timeframe trend, multi-timeframe alignment and TD-style exhaustion counts (setup 9 / countdown 13). Scout (free): daily only. Analyst+: daily, weekly and monthly. Educational only, not investment advice. Free public teaser: daily timeframe only, end-of-day data delayed by one trading day. Connect /api/mcp with an API key for current data; weekly/monthly, levels, ratios and scans need the Analyst tier (paid plans).

ParameterTypeDescription
ticker *stringTicker symbol, e.g. NVDA. Call list_signal_tickers for the supported list.