Code Monkey home page Code Monkey logo

kyberwidget's People

Contributors

amory1206 avatar andrewsource147 avatar ensete avatar loiluu avatar nnagato avatar thith avatar tranvictor avatar vietthang207 avatar vinhnd2010 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kyberwidget's Issues

Not allowed to pay with MetaMask, insufficient balance error

I try to pay with KyberWidget, using MetaMask. I have an account open in MetaMask with the needed amount prepared, connection is OK.
Needed USDC: needed 310, available 313
ETH for fee: 0.01, available 0.022
See screenshot for exact amounts
Error is: Source amount is too high. Your balance is insufficient
However, both USDC and ETH amounts are higher than required.

image

receiveAmount but for swaps

Hi all,

Thanks for this project, I just integrated KyberWidget and found it very easy to do so. I'm using the widget to swap tokens, and while I see there is a receiveAmount parameter that can be set when buying, I can't find a way to set either token amount when performing a swap.

For example, if I know the user needs 5 BAT, I would much rather pre-populate the widget with that value than have them try to get to that amount via trial and error, adjusting the source token for the swap.

Is there a way to do this now, and if not, is there a plan to introduce this in the future?

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.