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
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.
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
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
mrwk1address.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)
Status
Not in scope