[Paper Review] Retrofitting a two-way peg between blockchains
This paper presents a trustless, economically secured two-way peg between Dogecoin and Ethereum using bulletproofs and Truebit to verify Dogecoin's memory-hard proof-of-work on Ethereum without consensus changes. The system enables cross-chain asset transfers via a collateralized, retrofitting approach that allows Ethereum smart contracts to natively access Dogecoin data and value, with verification costs estimated at 12 minutes for 1, 20, and 80 minutes for 1, 10, and 100 proofs-of-work respectively.
In December 2015, a bounty emerged to establish both reliable communication and secure transfer of value between the Dogecoin and Ethereum blockchains. This prized "Dogethereum bridge" would allow parties to "lock" a DOGE coin on Dogecoin and in exchange receive a newly minted WOW token in Ethereum. Any subsequent owner of the WOW token could burn it and, in exchange, earn the right to "unlock" a DOGE on Dogecoin. We describe an efficient, trustless, and retrofitting Dogethereum construction which requires no fork but rather employs economic collateral to achieve a "lock" operation in Dogecoin. The protocol relies on bulletproofs, Truebit, and parametrized tokens to efficiently and trustlessly relay events from the "true" Dogecoin blockchain into Ethereum. The present construction not only enables cross-platform exchange but also allows Ethereum smart contracts to trustlessly access Dogecoin. A similar technique adds Ethereum-based smart contracts to Bitcoin and Bitcoin data to Ethereum smart contracts.
Motivation & Objective
- To enable secure, trustless cross-chain transfers between Dogecoin and Ethereum without requiring protocol forks or consensus changes.
- To solve the computational infeasibility of verifying Dogecoin’s scrypt proof-of-work directly on Ethereum due to high gas costs.
- To enable Ethereum smart contracts to natively access Dogecoin blockchain events and state through a secure, economically incentivized relay system.
- To design a system resilient to denial-of-service and relay manipulation attacks via strategic economic collateral and dispute resolution.
- To extend the methodology to other Nakamoto-consensus blockchains, such as Bitcoin, using similar verification techniques.
Proposed method
- The protocol uses a two-way peg where DOGE is locked on Dogecoin and a corresponding token (WOW) is minted on Ethereum, with the reverse process enabled via burning.
- Relayers submit proofs of Dogecoin proof-of-work chains using customized arithmetic circuits for scrypt and SHA256, verified via bulletproofs to reduce verification cost.
- Truebit is used as a computational layer to verify the correctness of scrypt and SHA256 computations, enabling off-chain verification of memory-hard proofs.
- A collateralized dispute resolution system ensures relayers stake funds; incorrect or non-maximal extensions are challenged and penalized, discouraging malicious behavior.
- The system employs parametrized tokens (WOW) to represent locked DOGE on Ethereum, enabling smart contract interaction with Dogecoin-backed value.
- Batch verification via bulletproofs reduces per-proof verification overhead, enabling efficient validation of chains of thousands of proof-of-work instances.
Experimental results
Research questions
- RQ1Can a trustless, economically secured two-way peg be established between two consensus-disjoint blockchains without requiring protocol forks?
- RQ2How can Ethereum efficiently verify Dogecoin’s memory-hard scrypt proof-of-work without incurring prohibitive gas costs?
- RQ3What mechanisms can ensure the security and correctness of relayed blockchain events from Dogecoin to Ethereum in the absence of native consensus integration?
- RQ4How can economic incentives and penalties be structured to prevent denial-of-service and relay manipulation attacks?
- RQ5Can the same construction be generalized to other Nakamoto-consensus blockchains like Bitcoin?
Key findings
- The system enables trustless cross-chain transfers between Dogecoin and Ethereum using a retrofitting approach that avoids consensus changes or new opcodes.
- Verification of 1, 10, and 100 Dogecoin proof-of-work instances using bulletproofs takes approximately 12, 20, and 80 minutes respectively on the secp256k1 curve.
- The use of batched bulletproofs reduces marginal verification cost per proof, making large-scale verification feasible despite high circuit complexity.
- The system is resilient to denial-of-service attacks due to economic penalties on relayers who submit non-maximal or incorrect extensions.
- The same methodology can be extended to Bitcoin, with 10,000 proof-of-work instances verifiable in under 8 minutes using optimized SHA256 circuits and batch verification.
- Preprocessing remains a bottleneck for high-complexity circuits, but ongoing work aims to optimize the pipeline for more accurate performance estimation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.