RFC: Federation bridge to mergework (RTC ↔ MRWK)
Maintainers usually reply within 10 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 8/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Domain
- backend, blockchain
Research direction
This is a tracking RFC that names no source files, tests or entry points. Start with the upstream proposal at ramimbo/mergework#571 and the four open questions in the issue, since the trust model and exchange rate are still undecided. Done here means a design doc has been agreed with the maintainers, not a code change.
Written by the indexing model from the issue text.
Description
RFC: Federation bridge to mergework (RTC ↔ MRWK)
Tracking issue for the bridge-federation proposal filed upstream at ramimbo/mergework#571.
Summary
Build a federated 1:1 relayer bridge between RTC (RustChain, real consensus, 8.192M cap) and MRWK (mergework, centralized ledger, maintainer-issued). Trust models are asymmetric — bridge is custody-and-issue on the RTC side (we can't mint), and issuance-side on the MRWK side.
Why mergework
- Closest sibling system to our bounty program. Live at https://mrwk.ltclab.site, MCP host at https://mcp.mrwk.ltclab.site.
- Two of their core contributors (ramimbo, sirakinb) are also active RustChain contributors. sirakinb alone has shipped 25 merged security PRs in the past week.
- Independent codebase (FastAPI + SQLAlchemy vs our Flask + stdlib sqlite3), no code overlap — verified by grep across 21k LOC.
- Their
github:<login>lazy-pay UX is being adopted in Scottcjn/rustchain-claim-portal (MIT, with attribution to ramimbo).
Bridge sketch
RTC → MRWK: User sends N RTC to bridge wallet on Node 1. Relayer observes, waits out 24h void window, then credits N MRWK to user's mrwk1 address.
MRWK → RTC: User burns/locks N MRWK. Relayer observes, transfers N RTC from custody wallet to user's RTC… address.
Critically: RustChain side never mints. The 8.192M cap is consensus-enforced. Bridge inflows lock against a custody wallet; outflows release from it. No new RTC created.
Trust model
Relayer set: leaning 2-of-2 (Scott + ramimbo) for v1, with a path to 2-of-3 once the bridge has a few weeks of clean operation.
Open questions (mirrored from upstream)
- Exchange rate — 1:1 to start, or USD-anchored from day one?
- MRWK cap (if any)?
- Expose bridge ops via MCP from the outset?
- Anchor bridge events to Ergo for a mutually-verifiable third leg?
Status
- Proposal filed at mergework#571
- ramimbo / sirakinb response
- Design doc once trust model is settled
- Phase 0: bridge custody wallet provisioned on both sides
- Phase 1: one-way POC (RTC → MRWK, lock-and-mirror)
- Phase 2: reverse direction
- Phase 3: MCP exposure + Ergo anchoring
Not in scope
- Cross-chain consensus changes. RustChain consensus does not change.
- Off-ramps to DEX/CEX.
- Bridging to anything other than mergework in this RFC.
- 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