Git Product home page Git Product logo

eosrelay's Introduction

license solidity

EOSrelay

icon

EOSrelay (EOS-ETH Relay) is a system that allow of using EOS on Ethereum.

The 1st DApp Development Contest Entry Work
Based on PeaceRelay

Abstract

EOSrelay is an EOS–ETH relaying smart contract DApp. EOSrelay allows EOS holders to use DApps based on Ethereum eco-system, written in Solidity(or et al.).

Certain blockchain’s (blockchain system of currency that user is holding) information, such as block and transaction information, is verified on Target Blockchain (blockchain that user want to use) eco-system Platform. For EOSrelay, EOS’s block and transaction information is verified on Ethereum platform. And the information (mostly the EOS block header) is submitted by relayers.

Overview

image_diagram

"There is an Ethereum smart contract that stores all EOS block headers relayed/submitted by users, or relayers." refers to the article of Lou Luu in KyberNetwork.

As you know, each block header contains committed transactions. Given a block header, anyone will be able to verify if a transaction is included or not. Now we can offer a transfer services from EOS to ETH.

Details

  1. Tx1 is occurred and included in Block. Tx1 is a locking transaction that sending EOS to certain account.
  2. Relayer registers the header information of the Block (one that include Tx1) on Ethereum.
  3. All the verification processes are executed by smart contract, whether the Tx1 is involved in Block and locking transaction is sent properly.
  4. If the Tx1 is confirmed as verified one, same amount of token is minted on Ethereum.

Users can use DApps based on different blockchain eco-system by using EOSrelay. For now, it is specialized at connecting EOS to ETH. And also, users can get experience advantages of both Ethereum and EOS.

Relayers can get fee as reward for submitting the block header to EOSrelay. But relayers can’t get reward just for submitting information to smart contract. They only can get reward when the information they gave is verified.

Environments

  • Solidity v0.4.21
pragma solidity ^0.4.21;

Setup

is basically the same as PeaceRelay

Pre-requisites

There are 2 wallets needed: 1 that does the submitting of block headers, and another that will submit mint transactions for the smart contracts.

Contract deployment

The contracts' codes can be found in the ./contracts folder.

Todo

Contract Side

  • Implement ownable, pausable
  • 2-way-relay (current 1-way: EOS -> ETH)

Daemon Side

  • Add & validate relay options
  • Support data retrieve from multiple EOS nodes
  • Support desktop user interface (GUI application)

Milestones

  • Start Date: Nov 21, 2018
  • MVP running (EOS -> ETH): Dec 7, 2018
  • Add features (ownable, pausable, etc.)
  • Complete Prototype Development (EOS <-> ETH)
  • End Date: Not decided yet.

References

Designed by

@Luke Park
@Keunhak Lim
@Minseo Park
@Jiwon Heo

License

The EOSrelay project is licensed under the Apache License, Version 2.0, also included in our repository in the LICENSE file.

eosrelay's People

Contributors

limkeunhak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

eosrelay's Issues

Schedule: We need to submit proposal, design doc, etc.

  • Application: 03.Sep.2018 (KST 00:00) ~ 30.Nov.2018 (KST 23:59)

    • You need to fill in your team name, team contact, members’ information, members contacts
  • DApp submission deadline: 03.Sep.2018 (KST 00:00) ~ 08.Dec.2018 (KST 23:59)

    • You need to submit one-page proposal of your DApp, A simple design document, Source code, and Project link
  • DApp internal review: 10.Dec.2018 ~ 23.Dec.2018

  • Result Announcement: 24.Dec.2018 (KST 12:00)

    • Results will be announced via EOSYS medium, and winners will be contacted separately.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.