rainbow-me / rainbow

🌈‒ the Ethereum wallet that lives in your pocket
https://rainbow.me
GNU General Public License v3.0
3.96k stars 628 forks source link

Swaps deeplink #6178

Open greg-schrammel opened 1 month ago

greg-schrammel commented 1 month ago

Fixes APP-1234

What changed (plus any additional context for devs)

inputAsset: UniqueId
outputAsset: UniqueId

inputAmount: Number
outputAmount: Number
percentageToSell: Number // value between 0 and 1

gasSpeed: 'normal' | 'fast' | 'urgent'
slippage: Number
flashbots: Boolean

from: Address

with assets

with prefilled values

with gasSpeed

with flashbots

with slipagge

with from

Screen recordings / screenshots

What to test

to test in ios you can run xcrun simctl openurl booted 'rainbow://swap/?outputAsset=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48_1&gasSpeed=urgent&flashbots=true&inputAmount=1&inputAsset=eth_1'

linear[bot] commented 1 month ago

APP-1234 Deeplinks to swaps

brunobar79 commented 1 month ago

Launch in simulator or device for afa7d2ecb7bd8c91a1f526c9c4c4fad7c61232e6

brunobar79 commented 4 weeks ago

Launch in simulator or device for d51e895db95b897058e4f4132926fb36e56b080a

brunobar79 commented 4 weeks ago

Launch in simulator or device for 7e95ffbd39ff08c549ccd82ad48884b5328884f3

derHowie commented 1 day ago

hey @greg-schrammel, did we end up getting blocked / deprioritizing this?

greg-schrammel commented 1 day ago

hey @greg-schrammel, did we end up getting blocked / deprioritizing this?

no I moved to other stuff and forgot about it, just fixed the conflicts

brunobar79 commented 1 day ago

Launch in simulator or device for 4c3d7cf66f3369354fb8b3db27d0dd510ea1a3d0

brunobar79 commented 17 hours ago

Launch in simulator or device for dc3803c278866e39eff1afbac08477465b2ce92a