AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing rainbow-me/rainbow in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler view🌈️ 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 X Setup > [!TIP] > **Internal developers** can also use the > script to install all dependencies and configure the project in one step. Prerequisites • Install nvm: https://github.com/creationix/nvm • Install the required Node.js version: • Install Ruby (version specified in ). macOS system Ruby is too old and will not work. Use a version manager such as rbenv or rvm. • Enable yarn: **Note:** On future terminal sessions, run to activate the correct Node.js version. Alternatively, set up automatic nvm switching in your shell. Internal developers Set up these **before** running , as the postinstall script reads and to generate build configs and run prebuild hooks. • Copy from to in the project root. • Copy from the same repo to in this project. • Clone into the project root (the postinstall prebuild hooks depend on it). • Install dependencies and run setup: External contributors • Copy to and fill in your own API keys. Note that some features are currently not accessible; we are working with our Data Providers to provide open source API Keys. • Etherscan: https://etherscan.io/apis • Infura: https://infura.io/ • ETH Gas Station: https://docs.ethgasstation.info/ • Imgix: https://www.imgix.com/ • Provide your own in from a personal Firebase project registered under the package name . • Install dependencies and run setup: The iOS is already in the repo and gets its API key patched by the postinstall script from in your . iOS (macOS only) • Install Xcode from the Mac App Store. • Install Watchman: • Install the required bundles and Pods: Android • Install JDK 17. Do **not** use the JDK bundled with Android Studio (it's JDK 21, which causes build failures). On macOS: • Add to your shell profile ( or ): On Linux, also install system dependencies: • Install Android Studio (the standard setup wizard is fine). • Increase the IDE memory: **Android Studio > Settings > Memory Settings** and set the heap to at least 4096 MB. This project is large enough that the default 2048 MB will cause slow syncs and builds. • Set the Gradle JDK: **Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK** and select the (Azul Zulu 17) entry. The default points to the bundled JDK 21. • Restart any open terminals so the new environment variables take effect. • Create an emulator via Android Studio > Device Manager (unless using a physical device). • Run the first build from the terminal to generate native headers that Android Studio needs for Gradle sync: • Quit Android Studio completely, then reopen it from the terminal so Gradle sync picks up the generated headers: Always launch Android Studio this way so it inherits your shell PATH (including from nvm). Launching from Spotlight or the Dock will cause Gradle sync to fail with "Cannot run program node". Developing Start Metro in one terminal: Then build and run: • **iOS:** Open in Xcode (not the ) and press Cmd+R, or run from the terminal. • **Android:** Open the folder in Android Studio, or run from the terminal.