rainbow-me / rainbow

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

raps v2 #6138

Closed benisgold closed 1 month ago

benisgold commented 2 months ago

Fixes APP-####

What changed (plus any additional context for devs)

i recreated raps for the following reasons

Screen recordings / screenshots

What to test

nothing to test bc this isn't in use

brunobar79 commented 2 months ago

Launch in simulator or device for 0d9dd0f212cb5cfba3fba3af53e687731ff5de6e

brunobar79 commented 2 months ago

Launch in simulator or device for 40c448df21342bf9a890ee13ba0afb7edc2217a7

brunobar79 commented 2 months ago

Launch in simulator or device for 8f92d46f3125f7d516c0ab5b4f27876d6ca85402

benisgold commented 1 month ago

@walmat technically it isn't needed. i initially attempted type expansion, but it got messy pretty quickly. it was also difficult to follow my own code bc of all the numerous type assertions currently in raps. i figured i would try and clean things up

also for context the claimable rap types will be somewhat more complicated than what you see now because there will be the unlock/crosschain swap actions added onto this rap as well in future PRs

benisgold commented 1 month ago

@walmat if you want more context about my previous comment see my recent commit. i tested out (again) trying to make raps v1 compatible with claimables, and you can see how messy it gets with types. and this is just the tip of the iceberg, it gets worse. it's a slippery slope

walmat commented 1 month ago

@walmat if you want more context about my previous comment see my recent commit. i tested out (again) trying to make raps v1 compatible with claimables, and you can see how messy it gets with types. and this is just the tip of the iceberg, it gets worse. it's a slippery slope

i'll take a look

sentry-io[bot] commented 1 month ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎