Skip to content
This repository was archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
publish at 0.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
  • Loading branch information
gregdhill committed May 27, 2020
1 parent ec3654c commit c6aa66a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 26 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Alexei Zamyatin
Copyright (c) 2019 Interlay

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
31 changes: 12 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ External libs:
* Summa Bitcoin Relay: https://github.com/summa-tx/relays/tree/master/solidity
* Original [Deprecated] BTC-Relay: https://github.com/ethereum/btcrelay/tree/develop/fetchd

## Background

### Chain Relays
Chain relays are on-chain programs or <i>smart contracts</i> deployed on a blockchain <i>A</i> capable of reading and verifying the state of another blockchain <i>B</i>.
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: <i>consensus verification</i> and <i>transaction inclusion verification</i>.

Read more about chain relays in the <a href="https://eprint.iacr.org/2018/643.pdf">XCLAIM paper</a> (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
This project is an implementation of a chain relay for Bitcoin on Ethereum. The first implementation of a BTC relay was implemented in Serpent and can be found <a href="https://github.com/ethereum/btcrelay">here</a>.
However, as Serpent is outdated (last commit: December 2017), this project aims to implement an updated version in Solidity.

## Installation

Expand Down Expand Up @@ -40,23 +51,5 @@ npm test

### Ropsten

0x9847E88401a27a9165543ecAE650739cE30732CD

### TxChain Performance Tests
The `scripts` folder contains test scripts for evaluating the performance/cost improvement of the TxChain transaction aggregation.

## Deploying Contracts
`0x9847E88401a27a9165543ecAE650739cE30732CD`

** TODO **

## Background

### Chain Relays
Chain relays are on-chain programs or <i>smart contracts</i> deployed on a blockchain <i>A</i> capable of reading and verifying the state of another blockchain <i>B</i>.
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: <i>consensus verification</i> and <i>transaction inclusion verification</i>.

Read more about chain relays in the <a href="https://eprint.iacr.org/2018/643.pdf">XCLAIM paper</a> (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 <a href="https://github.com/ethereum/btcrelay">here</a>.
However, as Serpent is outdated (last commit: December 2017), this project aims to implement an updated version in Solidity.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "btcrelay-sol",
"version": "1.0.0",
"description": "BTCRelay implementation in Solidity",
"name": "@interlay/btc-relay-sol",
"version": "0.1.0",
"description": "BTC Relay in Solidity",
"dependencies": {
"@summa-tx/bitcoin-spv-sol": "3.0.0",
"bitcoinjs-lib": "^5.1.7"
Expand Down Expand Up @@ -37,12 +37,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/crossclaim/btcrelay-sol.git"
"url": "git+https://gitlab.com/interlay/btc-relay-sol.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/crossclaim/btcrelay-sol/issues"
"url": "https://gitlab.com/interlay/btc-relay-sol/issues"
},
"homepage": "https://github.com/crossclaim/btcrelay-sol#readme"
"homepage": "https://gitlab.com/interlay/btc-relay-sol#readme"
}

0 comments on commit c6aa66a

Please sign in to comment.