burner-wallet
burner-wallet copied to clipboard
Instant exchange functionality
an instant exchange, from any token sent to the address to xDAI would defiantly go far away, imagine a world where for a small things like "sharing the pizza or uber" you don't need to worry about tokens, exchange rate, addresses, just send to this address anything you have (or you wish) and it would exchange it to xDAI if the token you sent was recognized by the connected DEX, otherwise the wallet will reject/auto-refund/send back your fund back to your address.
I'm not sure if this is possible but I'd like to keep the discussion open.
as long as the app in control of PKs theoretically this is something doable (how urgent/important is another question) the burner app with a listener would identify incoming token >> swap it through an API of an exchange as of keyber https://developer.kyber.network/docs/DappsGuide/
Now that the exchange is built in we are closer to this being a reality. Ended up using uniswap.exchange so any token there could be automatically converted to xdai if we want.