Code Monkey home page Code Monkey logo

cross-sync-confluxhack's Introduction

Cross-Sync

Connecting Blockchains

[WIP]

  • Two Contracts Deployed, one on Ethereum and the other on Conflux.
  • "Liquidators" can come and invest in the "pool", either in ETH or CFX token.
  • User can come and deposit the amount + some overhead charges in ETH or CFX token to the respective contract, and correspoding amount is deposited to the other blockchain at the requested address.
  • The "overhead" charges that the exchanger pays, is used to give interest to the liquidity providers on the respective blockchains.
  • The "overhead" charges are decided by ETH/CFX or CFX/ETH ratio in the pool, depending upon the direction on exchange.

Installation

  • Clone the Repository
  • npm install
  • Follow the following script guide:
NPM Command Action
npm run dev Start the dashboard dev server
npm run prod Make the dashboard Production Build
npm run server Start the backend server
npm run format Beutify the codebase.
npm run prod:analyzeDashboard Create Dashboard bundle analyze report
npm run prod:visualizeDashboard Create Dashboard bundle visualize report
npm run prod:compressDashboard Make the Dashboard Compressed Production Build

Client Side Demo ( Rinkeby and Conflux Testnet ) : https://rachit2501.github.io/Cross-Sync-ConfluxHack/

Contract Addresses


TODO:

  • UI Improvements
  • Refactoring
  • ChainLink Integration for decentralized api calls (Cross-Sync V2)
  • Reward Claim Tab
  • Stabalizing the app and enhancing the protocol implementation.

Screenshots

  1. Your Pool Share:

  1. Your Way to become a Liquidator:

  1. Get back your funds:

  1. Convert Your Funds Securely:

  1. Grab Your Rewards

cross-sync-confluxhack's People

Contributors

rac-sri avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.