Giter Club home page Giter Club logo

rainbow's Introduction

🌈️ Rainbow

the Ethereum wallet that lives in your pocket!

📲️ Available on the iOS App Store.

🤖 Android available on the Google Play Store

💻 Browser extension available on, Chrome, Brave, Edge, FireFox, and Arc.

🐦️ Follow us on Twitter

Setup

General

MacOS

  1. Install the latest version of XCode.

  2. Install Watchman:

    brew install watchman
  3. Install CocoaPods:

    sudo gem install cocoapods
  4. Install the required bundles and Pods for this project:

    yarn install-bundle && yarn install-pods

Linux

  1. Install system dependencies:

    sudo apt install libsecret-tools watchman
  2. Follow the React Native environment setup instructions carefully, which will involve installing Android Studio, the Android SDK, the emulator, etc. and making them available in your $PATH.

  3. Ensure at least one AVD image is available for the emulator (unless using a physical device).

Developing

If you are new to React Native, this is a helpful introduction: https://reactnative.dev/docs/getting-started

Preflight

  1. Run nvm use to force Node.js v16.

  2. Set up your .env file, use our env.example as a guide.

    Note that some features are currently not accessible, we are working with our Data Providers in order to provide open source API Keys!

    Here are some resources to generate your own API keys:

  3. Ensure a google-services.json has been added to the relevant project directory/directories so the compile will not fail.

    This can either be the live Google Services config (for internal development) or a self-provided config for a personal Firebase project (third-party contributors) registered under the package name me.rainbow.

MacOS

Note: Darwin versions of the application can only be developed/built on Darwin platforms with XCode.

  1. Start a React Native webserver with:

    yarn start
  2. Open rainbow-wallet/ios/Rainbow.xcworkspace in XCode.

  3. Run the project by clicking the play button.

Linux

Note: Linux development environments cannot develop or build Darwin versions of the project.

  1. Start a React Native webserver with:

    yarn start
  2. Build/install/start the debug version of the app in an emulator with:

    yarn android

rainbow's People

Contributors

benisgold avatar brodyhughes avatar brunobar79 avatar christianbaroni avatar dependabot[bot] avatar derekcaneja avatar derhowie avatar estebanmino avatar estrattonbailey avatar greg-schrammel avatar ibrahimtaveras00 avatar jesserweigel avatar jinchung avatar jkadamczyk avatar jxom avatar marco avatar markdalgleish avatar mikedemarais avatar nicoglennon avatar osdnk avatar pedrouid avatar perunt avatar pierrickgt avatar pugson avatar skylarbarrera avatar tchayen avatar terrysahaidak avatar walmat avatar welps avatar wojtus7 avatar

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  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  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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rainbow's Issues

Apple Pay Eth purchase failing after 'Running Checks' stage

Hello - I was trying to purchase Eth with Apple Pay and noticed that the transaction seems to be approved via Apple (moves into the Running Checks stage, but then fails with an error of "Do Not Honor." There is a series of failed transactions to Wyre in my Apple Wallet, and I have adequate funds (and tried with a lower amount incase the fees had changed). I've also used Apple Pay for other uses to test if it was something with my Apple Pay.

I noticed some people mentioning this on Twitter but figured I'd file an issue (apologies if this wasn't the best way -- I didn't want to also add a note on Twitter and I know I'd have preferred an issue on GitHub!)

Fantastic product by the way - I love everything about it!

Token balance not updating

With tokens like BUNNY that has automatic yields my balance is not being updated. This means I can't swap the correct/max amount.

TypeError: Object is not a function

01-30 21:00:28.377  4704  4733 I WindowManager:   SURFACE show Surface(name=me.rainbow/me.rainbow.MainActivity)/@0x12b9710 on display:0: me.rainbow/me.rainbow.MainActivity
01-30 21:00:28.381  4704  4738 W system_server: Insufficient pre-allocated space to mmap vdex.
01-30 21:00:28.383  4704  4738 I ActivityTaskManager: Displayed me.rainbow/.MainActivity: +247ms
01-30 21:00:28.387  4110  4110 D MOTO_ERD9610_PowerHAL: POWER_HINT_INTERACTION 0
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: CatalystInstanceImpl caught native exception
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: com.facebook.react.common.JavascriptException: TypeError: Object is not a function
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: This error is located at:
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in Unknown
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in w
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in A
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in A
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in s
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in A
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in Unknown
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in P
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in RCTView
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in View
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in RCTView
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in View
01-30 21:00:28.391 15479 15545 E unknown:ReactNative:     in p, js engine: hermes, stack:
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: anonymous@1:233827
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: anonymous@1:306955
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: Lt@1:211869
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: ei@1:233783
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: ai@1:235759
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: gl@1:245028
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: anonymous@1:306955
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: Lt@1:211869
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: ml@1:244296
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: rl@1:241223
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: anonymous@1:212396
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: anonymous@1:306955
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: Lt@1:211869
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: Wt@1:212214
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: jt@1:212108
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: Ji@1:238440
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: Ql@1:249568
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: Bl@1:249874
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: anonymous@1:259256
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: unmountApplicationComponentAtRootTag@1:520609
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: value@1:151999
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: anonymous@1:150501
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: value@1:151471
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: value@1:150459
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at java.lang.reflect.Method.invoke(Native Method)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at android.os.Handler.handleCallback(Handler.java:883)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at android.os.Handler.dispatchMessage(Handler.java:100)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at android.os.Looper.loop(Looper.java:241)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
01-30 21:00:28.391 15479 15545 E unknown:ReactNative: 	at java.lang.Thread.run(Thread.java:919)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Caught exception
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: com.facebook.react.common.JavascriptException: TypeError: Object is not a function
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: This error is located at:
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in Unknown
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in w
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in A
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in A
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in s
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in A
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in Unknown
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in P
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in RCTView
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in View
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in RCTView
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in View
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager:     in p, js engine: hermes, stack:
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: anonymous@1:233827
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: anonymous@1:306955
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Lt@1:211869
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: ei@1:233783
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: ai@1:235759
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: gl@1:245028
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: anonymous@1:306955
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Lt@1:211869
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: ml@1:244296
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: rl@1:241223
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: anonymous@1:212396
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: anonymous@1:306955
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Lt@1:211869
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Wt@1:212214
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: jt@1:212108
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Ji@1:238440
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Ql@1:249568
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: Bl@1:249874
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: anonymous@1:259256
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: unmountApplicationComponentAtRootTag@1:520609
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: value@1:151999
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: anonymous@1:150501
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: value@1:151471
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: value@1:150459
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at java.lang.reflect.Method.invoke(Native Method)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at android.os.Handler.handleCallback(Handler.java:883)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at android.os.Handler.dispatchMessage(Handler.java:100)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at android.os.Looper.loop(Looper.java:241)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
01-30 21:00:28.391 15479 15545 E unknown:DisabledDevSupportManager: 	at java.lang.Thread.run(Thread.java:919)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Process: me.rainbow, PID: 15479
01-30 21:00:28.392 15479 15545 E AndroidRuntime: com.facebook.react.common.JavascriptException: TypeError: Object is not a function
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 
01-30 21:00:28.392 15479 15545 E AndroidRuntime: This error is located at:
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in Unknown
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in w
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in A
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in A
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in s
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in A
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in Unknown
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in P
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in RCTView
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in View
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in RCTView
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in View
01-30 21:00:28.392 15479 15545 E AndroidRuntime:     in p, js engine: hermes, stack:
01-30 21:00:28.392 15479 15545 E AndroidRuntime: anonymous@1:233827
01-30 21:00:28.392 15479 15545 E AndroidRuntime: anonymous@1:306955
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Lt@1:211869
01-30 21:00:28.392 15479 15545 E AndroidRuntime: ei@1:233783
01-30 21:00:28.392 15479 15545 E AndroidRuntime: ai@1:235759
01-30 21:00:28.392 15479 15545 E AndroidRuntime: gl@1:245028
01-30 21:00:28.392 15479 15545 E AndroidRuntime: anonymous@1:306955
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Lt@1:211869
01-30 21:00:28.392 15479 15545 E AndroidRuntime: ml@1:244296
01-30 21:00:28.392 15479 15545 E AndroidRuntime: rl@1:241223
01-30 21:00:28.392 15479 15545 E AndroidRuntime: anonymous@1:212396
01-30 21:00:28.392 15479 15545 E AndroidRuntime: anonymous@1:306955
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Lt@1:211869
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Wt@1:212214
01-30 21:00:28.392 15479 15545 E AndroidRuntime: jt@1:212108
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Ji@1:238440
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Ql@1:249568
01-30 21:00:28.392 15479 15545 E AndroidRuntime: Bl@1:249874
01-30 21:00:28.392 15479 15545 E AndroidRuntime: anonymous@1:259256
01-30 21:00:28.392 15479 15545 E AndroidRuntime: unmountApplicationComponentAtRootTag@1:520609
01-30 21:00:28.392 15479 15545 E AndroidRuntime: value@1:151999
01-30 21:00:28.392 15479 15545 E AndroidRuntime: anonymous@1:150501
01-30 21:00:28.392 15479 15545 E AndroidRuntime: value@1:151471
01-30 21:00:28.392 15479 15545 E AndroidRuntime: value@1:150459
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:241)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
01-30 21:00:28.392 15479 15545 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:919)
01-30 21:00:28.402  4110  4110 D MOTO_ERD9610_PowerHAL: POWER_HINT_LAUNCH 0

Missing StyleSheet Import in DiscoverSheet.js

There seems to be a missing StyleSheet Import in DiscoverSheet.js
Solution: import { StyleSheet } from 'react-native'

I found this out while trying to turn on discover sheet under developer setting, but after making the import available, there seems to be lot other porblems like undefined token in CoinIconGroup, Seems like a hard fix, still figuring out where are things getting undefined.

More info on savings (Android app)

Wouldn't it make sense to show more information on the investments as the 9.6%APY do certainly
sound interesting but this does not suffice in my opinion.

image

detailed investment cost information (Android)

this is the screen I assume right before depositing DAI into savings.
image

It is not clear how much money will end up in savings but it should be clearly shown.
I assume 100.35 - 51.58 = 48,77.

Also - it would make sense to show break even time here.
(10 months to recover the 51.58$ if the interest is stable).

Crash when sending transaction with WalletConnect (Android)

stacktrace:

01-17 12:04:11.274 15100 15748 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
01-17 12:04:11.274 15100 15748 E AndroidRuntime: Process: me.rainbow, PID: 15100
01-17 12:04:11.274 15100 15748 E AndroidRuntime: com.facebook.react.common.JavascriptException: TypeError: Cannot read property 'price' of undefined
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 
01-17 12:04:11.274 15100 15748 E AndroidRuntime: This error is located at:
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in W
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in p
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in PanGestureHandler
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in p
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in G
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in C
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in y
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in j
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in w
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in p
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in PanGestureHandler
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in p
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in G
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in C
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in y
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in GestureHandlerRootView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in j
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in k
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in ForwardRef
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in AppContainerWithAnalytics
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in AppContainerWithAnalytics
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in r
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in FlexItem
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in u
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RNCSafeAreaView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in w
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in A
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in A
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in s
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in A
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in Unknown
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in P
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in RCTView
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in View
01-17 12:04:11.274 15100 15748 E AndroidRuntime:     in p, js engine: hermes, stack:
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:5324398
01-17 12:04:11.274 15100 15748 E AndroidRuntime: W@1:5317291
01-17 12:04:11.274 15100 15748 E AndroidRuntime: Xn@1:221691
01-17 12:04:11.274 15100 15748 E AndroidRuntime: di@1:258194
01-17 12:04:11.274 15100 15748 E AndroidRuntime: dl@1:243593
01-17 12:04:11.274 15100 15748 E AndroidRuntime: cl@1:243450
01-17 12:04:11.274 15100 15748 E AndroidRuntime: sl@1:243340
01-17 12:04:11.274 15100 15748 E AndroidRuntime: rl@1:241131
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:212396
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:306955
01-17 12:04:11.274 15100 15748 E AndroidRuntime: Lt@1:211869
01-17 12:04:11.274 15100 15748 E AndroidRuntime: Wt@1:212214
01-17 12:04:11.274 15100 15748 E AndroidRuntime: jt@1:212108
01-17 12:04:11.274 15100 15748 E AndroidRuntime: Ji@1:238440
01-17 12:04:11.274 15100 15748 E AndroidRuntime: mr@1:224475
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2664300
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2674618
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2678919
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2678747
01-17 12:04:11.274 15100 15748 E AndroidRuntime: t@1:2677657
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2659046
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2682944
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2682882
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:2682882
01-17 12:04:11.274 15100 15748 E AndroidRuntime: X@1:2658987
01-17 12:04:11.274 15100 15748 E AndroidRuntime: handleAction@1:2714921
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:3124720
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:266357
01-17 12:04:11.274 15100 15748 E AndroidRuntime: k@1:265592
01-17 12:04:11.274 15100 15748 E AndroidRuntime: callTimers@1:267451
01-17 12:04:11.274 15100 15748 E AndroidRuntime: value@1:151999
01-17 12:04:11.274 15100 15748 E AndroidRuntime: anonymous@1:150501
01-17 12:04:11.274 15100 15748 E AndroidRuntime: value@1:151471
01-17 12:04:11.274 15100 15748 E AndroidRuntime: value@1:150459
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:241)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
01-17 12:04:11.274 15100 15748 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:919)

[WalletConnect] Nonce not respected

Scenario:
Using https://cancel-ethereum-transactions.web.app/ to speed up or cancel a transaction.

Expected result:
Nonce set by dapp is respected.

Actual result:
Nonce set by dapp is not respected.

Example:
Original transaction: https://etherscan.io/tx/0x2f703b2cd455e44a07caca3f1dcd33c6cfa2d88f6d6e344c5744c3b151823fad
Attempt to speed up transaction with Rainbow (wrong nonce): https://etherscan.io/tx/0x50d5f5d471857158681ea6674956fbf05afa9a55d1da33d9a89f5c03cc97225c
Attempt to speed up transaction with Trust Wallet (correct nonce): https://etherscan.io/tx/0xfc0083e05a974f8b594a5d99d4bf182bbef0701ae6719381a058fe1388cf272d

Rainbow version:
Android; 1.0 (11)

Send button not enabled for Cryptopunks

I'm unable to view the Send button on a Cryptopunk because it's a legacy contract, pre-ERC 721. isSendable will never be true. This is on an account created off of the primary account that I started when I downloaded Rainbow.

return erc721s.map(

      isSendable:
        asset_contract.nft_version === '1.0' ||
        asset_contract.nft_version === '3.0' ||
        asset_contract.schema_name === 'ERC1155',

Here is the Cryptopunks contract, for reference

Would love some help here so I can move my Punk around. Thanks

Gj

gj brother from another mother

Build error: Duplicate symbols for architecture x86_64

Hey there!, I am trying to run the app but getting this error.

duplicate symbol '_OBJC_IVAR_$_GCDAsyncUdpSendPacket.resolveError' in:
    Xcode/DerivedData/Rainbow-brsdvdrkbzohnubaxsbqmjxotjzo/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket/libCocoaAsyncSocket.a(GCDAsyncUdpSocket.o)

Looking around found that if I go to Pods > TcpSockets > Build Phases > Compile sources and delete CocoaAsyncSocket a chuck of the duplicates go away but there are at least 64 remaining.

Looks like the last thing to get this going! any help welcomed!

How to get started on contributing to rainbow?

I see there is no CONTRIBUTING file so I was wondering how me/anyone can get started? I found the project very exciting as I like a lot of implementation that is done already (something that I can inspire from to gain knowledge).

Camera permission not asked again (Android)

When you once deny the camera permission you get not asked again. Also it enters the scan activity with a black screen.
IMHO - on deny it should not enter the activity and if you click on scan again it should ask for the permission again
currently you need to kill the activity to be asked again

Dai as a display currency

I would love to have Dai as a display currency option.

For me personally, I'm really down with the whole bankless story, if we're to move on from fiat currencies being the default, Dai needs to be at least an option for people to use. I happened to send the feedback in an email before I knew rainbow.me was open-source 🙌 🌈 ! The response to that email was positive.

So what do you say? Open to a PR maybe too?

swapping coins not correctly displayed (Android)

Swapping ETH to DAI
image
0.1 ETH to DAI apparently the fees get substracted before the swap from the source value which is wrong.
Also will 112.071 DAI be the credited amount after the swap or 112.071DAI - $12.59 (converted to DAI)?
image

incorrect chain id on Görli

iOS Rainbow wallet on Görli network passes incorrect chain id when connecting to a dapp (e.g. Uniswap).

Replication

  1. Download Rainbow wallet app from AppStore
  2. Create a new Ethereum wallet or import an existing one
  3. Switch to Görli network in settings
  4. Go to https://app.uniswap.org/#/swap in your desktop browser
  5. Click Connect to a wallet
  6. Open QR reader inside Rainbow app on mobile
  7. Scan QR
  8. Allow the app to connect to Uniswap

Expected result

Uniswap should show that you are on the wrong network because it only works with Ethereum Mainnet.

Current result

Uniswap shows that you are on the correct network.

More

I also tested this using a dapp that I built myself. When I connect to my dapp using Rainbow wallet on Görli, the provider returns chainId of 1, instead of 5. This is not a WalletConnect issue, I tested it using https://test.walletconnect.org/ and the provider returns correct chainId of 5.

OS: iOS
Version: 1.2.39 (51)

Option to disable the "Discover" screen

Hello,
Would it be possible to introduce a setting to remove the Discover screen? I like Rainbow Wallet for being a simple wallet app with a sleek UI, but this new section looks like a Time's Square electronic billboard with all sorts of stuff scrolling through endlessly which I don't think is needed by everyone. I liked that swiping towards the left would show the QR code scanner directly.
Just my two cents, thank you!

Build error: duplicate symbol in CocoaAsyncSocket/libCocoaAsyncSocket.a(GCDAsyncUdpSocket.o)

Hey there!, I am trying to run the app but getting this error.

duplicate symbol 'OBJC_IVAR$_GCDAsyncUdpSendPacket.resolveError' in:
Xcode/DerivedData/Rainbow-brsdvdrkbzohnubaxsbqmjxotjzo/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket/libCocoaAsyncSocket.a(GCDAsyncUdpSocket.o)
Looking around found that if I go to Pods > TcpSockets > Build Phases > Compile sources and delete CocoaAsyncSocket a chuck of the duplicates go away but there are at least 64 remaining.

Looks like the last thing to get this going! any help welcomed!

Protecting sensitive information in .env

Hi,

this might be a little off-topic, but I was wandering around the Rainbow code and I noticed that you use some sensitive information in .env (e.g. RAINBOW_MASTER_KEY). I was wondering how do you secure those sensitive infos? AFAIK, environment variables are bundled in js-bundle, hence anyone can see them, which it will even become super-easier if one uses OTA-Updates.

Thank you in advance. Feel free to close this issue if you think its not worthy in the issues section.

Wrong icons for tokens

Screenshot_20210217-135214

  • ST1INCH is shown with the icon for INDEX
  • INDEX is shown with the icon for yUSD
  • yUSD is shown with text icon

Add support for maker vaults

👋 hi, i was wondering if it would be possible to add maker vaults to rainbow

  • wallet balance view
    • show net value (collateral - debt)
  • show view
    • show chart of collateral asset
    • highlight collateralization ratio
    • add a few details below

Testnets

I have test Ethers on Ropsten and in Rinkeby. But the wallet does not display the transfer button.

Also connecting a dApp with wallet connect does not work in either of the network. The error is shown in the images.

Export individual private keys

How do I export individual wallet private keys?

There should be an option to just export each wallets keys rather than the recovery phrase.

1 Update Trust Ray results paging

  • Confirm this removes bug where transactions not showing up until later when app deleted and re-installed
  • Confirm this reduces import seed phrase time for large wallets

Support for ERC-712

dydx requires the user to sign based on ERC-712.
Rainbow does not support ERC-712 and provides a very brief overview of the signature data.
스크린샷 2019-10-28 오후 2 07 03
(metamask)
IMG_2120
(The above pictures capture the same request shown in Metamask and Rainbow.)
Also, if sign it, the dydx cannot interpret it, because the data need to sign is different.

Error on `yarn setup` during build

I'm receiving the following error when running yarn setup. In particular, it looks like the yarn allow-scripts command is failing w/ code 1 but I'm not sure why or how to fix it:

[4/4] 🔨  Building fresh packages...
warning Ignored scripts due to flag.
$ /Users/loganbek/Desktop/rainbow/node_modules/.bin/allow-scripts
no allowed scripts found in configuration
running lifecycle scripts for top level package
Error: command failed
    at ChildProcess.<anonymous> (/Users/loganbek/Desktop/rainbow/node_modules/@npmcli/promise-spawn/index.js:64:27)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
  cmd: 'sh',
  args: [ '-c', './scripts/postinstall.sh' ],
  code: 1,
  signal: null,
  stdout: '',
  stderr: '',
  event: 'postinstall',
  script: './scripts/postinstall.sh',
  pkgid: '[email protected]',
  path: '/Users/loganbek/Desktop/rainbow'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I followed the README build instructions and always seem to have an issue w/ this step. This happens in both rainbow and my forked rainbow repository. The rest of the build seems to work fine. Any help or suggestions would be greatly appreciated. Thanks!

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.