{"repo":"crossclaim/btcrelay-sol","free":true,"listed":false,"github":"https://github.com/crossclaim/btcrelay-sol","clone":"git clone https://github.com/crossclaim/btcrelay-sol.git","description":"BTCRelay re-implementation in Solidity","language":"Python","stars":27,"topics":["bitcoin","ethereum","transaction","verification","blockchain","solidity"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"BTCRelay implementation in Solidity Disclaimer: this project is still under development and not safe to use! Requirements Chain Relays Chain relays are on-chain programs or smart contracts deployed on a blockchain A capable of reading and verifying the state of another blockchain B . The underlying technical design and functionality is comparable to that of SPV-Clients. That is, a chain relay stores and maintains block headers of chain B on chain A and allows to verify transaction inclusion proofs. Summarizing, the two main functionalities a chain relay must/should provide are: consensus verification and transaction inclusion verification . Read more about chain relays in the XCLAIM paper (Section V.B descibes the basic concept of chain relays, while Appendix B provides a formal model of the required functionality for PoW chain relays.). BTCRelay-Sol BTCRelay-Sol is an implementation of a chain relay for Bitcoin on Ethereum. The first implementation of BTCRelay was implemented in Serpent and can be found here . However, as Serpent is outdated (last commit: December 2017), this project aims to implement an updated version in Solidity. Design The current implementation is based on the existing Serpent implementation, specifically with regards for fork handling. As such, BTCRelay must store all block headers to establish, whether a transaction is included in the Bitcoin main chain. However, improved proofing techniques, such as NiPoPoWs and FlyClient , allow to reduce the storag","default_branch":null,"files":null,"tree":[],"storefront":"/r/crossclaim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/crossclaim/btcrelay-sol/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}