Coder Social home page Coder Social logo

kybernetwork / kyberswap Goto Github PK

View Code? Open in Web Editor NEW
420.0 46.0 346.0 683.92 MB

Codebase for KyberSwap that helps users convert tokens instantly and directly from their own hardware wallets, metamask and so on. No setup, No deposit, no withdrawal needed. Try it out on https://kyberswap.com or join telegram for developers https://t.me/KyberDeveloper.

Home Page: https://kyberswap.com

License: MIT License

HTML 37.59% JavaScript 28.05% CSS 28.56% Shell 0.13% Dockerfile 0.01% SCSS 5.65%
react ethereum ethereum-wallet financial-services dapps javascript

kyberswap's Introduction

KyberSwap: Instantly Convert Your Tokens

KyberSwap allows users to directly interact with Kyber's decentralized liquidity network and instantly swap/ trade their tokens. Check our website at https://kyberswap.com

Install dependencies

The wallet is developed on Nodejs, we assume users have it installed in their environment. We suggest to use Node v7.3.0

npm install

Run in development mode (ropsten network)

npm run ropsten

Once it is running, user can access to the wallet by going to http://localhost:3002

Build production app

npm run build-production

Code structure

This repository is using Reactjs and Redux and following their naming conventions. Source code of the wallet is in src. Most of the logic is in src/js.

Migrate media data

bundle exec rake master_data:media_post

Deploy staging:

git tag -f deploy_staging
git push -f <origin/upstream> deploy_staging

kyberswap's People

Contributors

amory1206 avatar andrewsource avatar andrewsource147 avatar artwooood avatar coreyshirk avatar huy23121994 avatar jguyton avatar kaidiren avatar loiluu avatar namnm1991 avatar nhandl3 avatar nnagato avatar quangkeu95 avatar tien7668 avatar toniqhz avatar tranvictor avatar tuanguyen94 avatar tuluu avatar vietthang207 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kyberswap's Issues

Could the UI be responsive?

Any chance the UI could be responsive to be usable on different resolutions and mobile phones?

image

It seems to me there is nothing really stopping this from happening. Issue is mostly in the use of fixed width layout which at least could be modified to collapse through media queries.

Bad GUI in select

In FF, select display is not good, please also re-style for select
select

UI issue when estimating the value between pairs

In the exchange page enter the following values:

DGD: 1.2341110

the estimate value in ETH will be:
ETH: 0.000000000000

If you change the last digit to:

DGD: 1.2341111

the estimated value in ETH will be:
ETH: 0.673446601147

It seems that if the last digit is 0, the estimated value will be 0.

Ask users to download his keystore immediately after a new account is created

I created the wallet, by giving account name and password. When I wanted to access a while later, it asked me to "import". But to my surprise, the "import" required keystore file and account name. By the time I created the wallet, I wan not aware where is the keystore file. So I cannot access the wallet any more.

Confirmation before delete account/wallet

when delete is clicked, whole wallet disappeared without a way of retrieval. It would be better if there is a form for users to confirm before actually delete the accounts/wallets.

LocalStorage cause different browsers have different data

Currently, all data are stored in localStorage of browsers. Therefore, if I open FF/ Chrome, I'll have different data. In addition, user often clear cache, localStorage, this cause data loss. How about idea store data in local files?

Browser autocomplete makes the password incorrect

  1. if user manually do a transaction typing my password, no issue
  2. if user select the pwd from autocomplete list, it shows "incorrect password". Even if he types his correct password afterward.
  3. and if after 2 the user comes back and FORCE input the gas price to 2000000000 then type manually his pwd and it works.

Stuck at broadcasting tx screen

In case there is an error when it is trying to broadcast the tx, the screen is stuck.

Expected behavior: Error should be shown so users know it's failed.

User should be required input passphrase when download keystore

Currently, When user click download keystore, it download intermediately, It is less secure for wallet app. May be we require users input passphrase when they want download keystore. In addition, Is it secure when when store keystore in localStorage of browser?

Show input information before users type passphrase

  • We should show general information user input. After that, they can decide whether to process transaction.
  • In the last step, I think we should not allow press enter to process transaction, and not use -> button to confirm transaction (because it is navigate button). We should use button with text like "Confirm"

Can not send ether when input address uppercase

In quick send modal, when input send to address: 0Xf12bccb65addf0432157cb262134412b9f237848.

In last step, when input password and press enter, It shows error: Your password is incorrect. Normally, It should process transaction

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.