Code Monkey home page Code Monkey logo

honeyswap-interface's Introduction

Swapr dapp

An open source decentralized application for Swapr -- a protocol for decentralized exchange of Ethereum tokens governed by the DXdao.

Development

Install Dependencies

yarn

Run

yarn start

honeyswap-interface's People

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

Watchers

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

honeyswap-interface's Issues

[Bug] Try Import not ERC-20 token goes white screen

Steps to reproduce

  1. Go to https://app.honeyswap.org/#/swap
  2. Change to Gnosis Chain
  3. Try import new token
  4. Add the token 0xf8D1677c8a0c961938bf2f9aDc3F3CFDA759A9d9

And got tha screen below:

image


More info

The token is a ERC 677 Bridge Token -
https://blockscout.com/xdai/mainnet/address/0xf8D1677c8a0c961938bf2f9aDc3F3CFDA759A9d9

More info about ERC 677 here
http://blockchainers.org/index.php/tag/erc-677/

The contract is a PermittableToken - https://github.com/poanetwork/tokenbridge-contracts/blob/master/contracts/PermittableToken.sol


Metamask

Tried import in metamask too show errors

unknown

Possible Fix

  • Catch the errors and show that info in the popup of import tokens.

Super slow performance

The UI is extremely sluggish, sometimes dipping to less than 1 frame per second when clicking the text fields and/or the token and network selector. I'm not entirely sure why, but it seems that there is some updating logic that takes more than a second (sometimes 2-3 seconds) that is run whenever one of these points in the UI are clicked.

I've posted a perf dump from Firefox in the Tulip Discord, but this should be easily reproducible from any browser that has perf tools built-in

feat: Integrate Pocket Network as a default provider

What is Pocket Network?
Pocket Network is a decentralized blockchain API built for Web3 apps, relaying data to and from any blockchain through a network of thousands of nodes. The Pocket Network protocol validates all relayed data and proportionally rewards the participating nodes with POKT.

Why Pocket Network?
Instead of deploying to a single service provider, paying absurd fees for random outages and leaked data, you could use Pocket’s trustless API protocol and route your requests to thousands of independent full nodes. Available for all major blockchain networks.

You now don't rely on Infura but on a decentralized network of people providing their services to access any supported blockchain with a huge variety of locations, capacity & availability.

Benefits:

  • Easy management & monitoring via a dashboard
  • No single point of failure
  • Decentralized
  • Incentivizing more people to run full nodes across different chains

How would Pocket be integrated?

  • Use a Pocket endpoints as a default endpoint on the wallet for networks that are supported.

Sign up for a free Application ID on Pocket Network.

Configure a functioning walletconnect bridge

For polygon the bridge (relay) https://polygon.bridge.walletconnect.org works great. https://bridge.walletconnect.org doesn't work, it is totally overloaded. It is totally unusable.

Here is the setting:

bridge: 'https://bridge.walletconnect.org',

Options:

  1. Run your own bridge (relay) https://github.com/WalletConnect/walletconnect-monorepo/tree/v2.0/servers/relay .
  2. Ask Walletconnect to run a dedicated bridge (relay) for xdai chain.
  3. We https://lab10.coop/ could talk about sharing our bridge (relay) with you.

Disable Light Mode

Our light mode update is a bit wacky, so we will disable it and focus on getting our Dark mode decent for launch.

Error:undefined trying to swap / incorrect calculations

When I try to swap let's say $fox to xdai using Honeyswap, I get the following error.

image

This error prevents Metamask prompt to show up as well.

Additionally, it seems like the calculations are also off in the following example:

image

It should be the other way round.

Not sure if it is an error due to the frontend because I also get the same error on https://swapr.eth.limo/#/swap?chainId=100 when the transaction is to follow the route through honeyswap.

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.