├── .babelrc ├── .buckconfig ├── .eslintrc ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .nvmrc ├── .watchmanconfig ├── Assets ├── 0x.png ├── 0x.svg ├── alice-logo-new.png ├── alice-pic.png ├── alice-square.png ├── alice.png ├── anon-avatar.png ├── aragon.png ├── aragon.svg ├── augur-logo.png ├── avatar-black.png ├── avatar-grey.png ├── back-button.png ├── beer.png ├── bounties-avatar.png ├── bounties-avatar.svg ├── bounties-dashboard.png ├── bounties-dashboard.svg ├── bounties-explorer.png ├── bounties-explorer.svg ├── bounties-leaderboard.png ├── bounties-leaderboard.svg ├── bounties.png ├── camera-emoji.png ├── chat-black.png ├── chat-grey.png ├── clock-circular-outline.png ├── close.png ├── coinmarketcap.png ├── compass.png ├── compound.png ├── croissant.png ├── cryptokitties-cat.png ├── cryptokitties-tag.png ├── cryptokitties.png ├── dai.png ├── dai.svg ├── daostack.png ├── decentraland.png ├── dharma.png ├── district0x.png ├── dna.png ├── dydx.png ├── emoji-hamburger.png ├── enter-arrow.png ├── etheremon.png ├── ethereum.png ├── foam.png ├── fork-logo.png ├── fries.png ├── gitcoin.png ├── giveth.png ├── gnosis-logo.png ├── hamburger.png ├── heart-outline.png ├── home-black.png ├── home-grey.png ├── hotdog.png ├── house.png ├── hummingbot.png ├── instadapp.png ├── local-ethereum.png ├── localethereum-modal.png ├── localethereum.png ├── location.png ├── maps.png ├── money-bag.png ├── mycrypto.png ├── new-chat-logo.png ├── paperclip.png ├── pawprint.png ├── peepeth.png ├── pizza.png ├── plate.png ├── profpic1.png ├── profpic2.png ├── project-alice.png ├── puzzle.png ├── qantas-logo.png ├── radar-black.png ├── radar-chat.png ├── radar-r-white.png ├── red-car.png ├── search.png ├── send-button.png ├── settings.png ├── share.png ├── status-logo.png ├── sushi.png ├── synthetix-dashboard.png ├── synthetix-exchange.png ├── synthetix-mintr.png ├── synthetix-swap.png ├── synthetix.png ├── taco.png ├── trade.png ├── uniswap-down-arrow.png ├── uniswap-dropdown.png ├── uniswap-pool.png ├── uniswap-send.png ├── uniswap-swap.png ├── uniswap.png ├── veil.png └── wyre-1.png ├── CHANGELOG.md ├── LICENSE ├── README.md ├── __tests__ └── App.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── Graphik-Black.otf │ │ │ ├── Graphik-BlackItalic.otf │ │ │ ├── Graphik-Bold.otf │ │ │ ├── Graphik-BoldItalic.otf │ │ │ ├── Graphik-Extralight.otf │ │ │ ├── Graphik-ExtralightItalic.otf │ │ │ ├── Graphik-Light.otf │ │ │ ├── Graphik-LightItalic.otf │ │ │ ├── Graphik-Medium.otf │ │ │ ├── Graphik-MediumItalic.otf │ │ │ ├── Graphik-Regular.otf │ │ │ ├── Graphik-RegularItalic.otf │ │ │ ├── Graphik-Semibold.otf │ │ │ ├── Graphik-SemiboldItalic.otf │ │ │ ├── Graphik-Super.otf │ │ │ ├── Graphik-SuperItalic.otf │ │ │ ├── Graphik-Thin.otf │ │ │ ├── Graphik-ThinItalic.otf │ │ │ ├── SF-Pro-Display-Black.otf │ │ │ ├── SF-Pro-Display-BlackItalic.otf │ │ │ ├── SF-Pro-Display-Bold.otf │ │ │ ├── SF-Pro-Display-BoldItalic.otf │ │ │ ├── SF-Pro-Display-Heavy.otf │ │ │ ├── SF-Pro-Display-HeavyItalic.otf │ │ │ ├── SF-Pro-Display-Light.otf │ │ │ ├── SF-Pro-Display-LightItalic.otf │ │ │ ├── SF-Pro-Display-Medium.otf │ │ │ ├── SF-Pro-Display-MediumItalic.otf │ │ │ ├── SF-Pro-Display-Regular.otf │ │ │ ├── SF-Pro-Display-RegularItalic.otf │ │ │ ├── SF-Pro-Display-Semibold.otf │ │ │ ├── SF-Pro-Display-SemiboldItalic.otf │ │ │ ├── SF-Pro-Display-Thin.otf │ │ │ ├── SF-Pro-Display-ThinItalic.otf │ │ │ ├── SF-Pro-Display-Ultralight.otf │ │ │ ├── SF-Pro-Display-UltralightItalic.otf │ │ │ ├── SF-Pro-Text-Bold.otf │ │ │ ├── SF-Pro-Text-BoldItalic.otf │ │ │ ├── SF-Pro-Text-Heavy.otf │ │ │ ├── SF-Pro-Text-HeavyItalic.otf │ │ │ ├── SF-Pro-Text-Light.otf │ │ │ ├── SF-Pro-Text-LightItalic.otf │ │ │ ├── SF-Pro-Text-Medium.otf │ │ │ ├── SF-Pro-Text-MediumItalic.otf │ │ │ ├── SF-Pro-Text-Regular.otf │ │ │ ├── SF-Pro-Text-RegularItalic.otf │ │ │ ├── SF-Pro-Text-Semibold.otf │ │ │ ├── SF-Pro-Text-SemiboldItalic.otf │ │ │ ├── SFMono-Bold.otf │ │ │ ├── SFMono-BoldItalic.otf │ │ │ ├── SFMono-Heavy.otf │ │ │ ├── SFMono-HeavyItalic.otf │ │ │ ├── SFMono-Light.otf │ │ │ ├── SFMono-LightItalic.otf │ │ │ ├── SFMono-Medium.otf │ │ │ ├── SFMono-MediumItalic.otf │ │ │ ├── SFMono-Regular.otf │ │ │ ├── SFMono-RegularItalic.otf │ │ │ ├── SFMono-Semibold.otf │ │ │ └── SFMono-SemiboldItalic.otf │ │ ├── debug │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ ├── java │ │ └── com │ │ │ └── balancewallet │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── staging │ │ └── res │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── global.js ├── index.js ├── ios ├── Apps │ ├── Aragon │ │ └── index.js │ ├── Augur │ │ └── index.js │ ├── Bounties │ │ └── index.js │ ├── Compound │ │ └── index.js │ ├── Cryptokitties │ │ ├── Screens │ │ │ ├── KittyScreen.js │ │ │ └── MyKitties.js │ │ └── index.js │ ├── Decentraland │ │ └── index.js │ ├── Dharma │ │ └── index.js │ ├── Foam │ │ └── index.js │ ├── Gitcoin │ │ └── index.js │ ├── LocalEthereum │ │ └── index.js │ ├── MetaMultisig │ │ ├── Screens │ │ │ ├── KittyScreen.js │ │ │ └── MyKitties.js │ │ └── index.js │ ├── Peepeth │ │ └── index.js │ ├── Qantas │ │ └── index.js │ ├── RadarRelay │ │ └── index.js │ ├── Synthetix │ │ └── index.js │ ├── Uniswap │ │ ├── Screens │ │ │ ├── MyKitties.js │ │ │ └── TradeScreen.js │ │ └── index.js │ ├── Wyre │ │ └── index.js │ └── index.js ├── BalanceWallet.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── BalanceWallet-tvOS.xcscheme │ │ └── BalanceWallet.xcscheme ├── BalanceWallet.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── BalanceWallet │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── BalanceWallet.entitlements │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ └── ItunesArtwork@2x.png │ │ ├── Contents.json │ │ ├── Image.imageset │ │ │ ├── Contents.json │ │ │ ├── alice-launch-screen-1.png │ │ │ ├── alice-launch-screen-2.png │ │ │ └── alice-launch-screen.png │ │ └── LaunchImage.launchimage │ │ │ ├── Contents.json │ │ │ ├── alice-launch-1125-2436.png │ │ │ ├── alice-launch-screen-1.png │ │ │ ├── alice-launch-screen-10.png │ │ │ ├── alice-launch-screen-2.png │ │ │ ├── alice-launch-screen-3.png │ │ │ ├── alice-launch-screen-4.png │ │ │ ├── alice-launch-screen-5.png │ │ │ ├── alice-launch-screen-6.png │ │ │ ├── alice-launch-screen-7.png │ │ │ ├── alice-launch-screen-8.png │ │ │ ├── alice-launch-screen-9.png │ │ │ └── alice-launch-screen.png │ ├── Info.plist │ └── main.m ├── BalanceWalletTests │ ├── BalanceWalletTests.m │ └── Info.plist ├── Frameworks │ ├── GoogleService-Info.plist │ ├── GoogleToolboxForMac.framework │ │ ├── GoogleToolboxForMac │ │ └── Modules │ │ │ └── module.modulemap │ ├── Protobuf.framework │ │ ├── Modules │ │ │ └── module.modulemap │ │ └── Protobuf │ └── nanopb.framework │ │ ├── Modules │ │ └── module.modulemap │ │ └── nanopb ├── Gemfile ├── Podfile ├── Podfile.lock └── fastlane │ ├── Appfile │ ├── Fastfile │ └── README.md ├── package.json ├── shim.js ├── src ├── App.js ├── AppABIs │ └── wethAbi.json ├── Apps │ ├── AppTemplate │ │ ├── Assets │ │ │ ├── bolt-white.png │ │ │ ├── bolt.png │ │ │ ├── list-white.png │ │ │ ├── list.png │ │ │ ├── radar-black.png │ │ │ ├── radar-r-white.png │ │ │ ├── star-empty.png │ │ │ ├── tune-white.png │ │ │ └── tune.png │ │ ├── Components │ │ │ ├── OrderModal.js │ │ │ └── TokenSelectModal.js │ │ ├── Screens │ │ │ ├── BuyAndSell.js │ │ │ ├── Deals.js │ │ │ ├── OrderBook.js │ │ │ └── TakeAway.js │ │ └── index.js │ ├── Aragon │ │ └── index.js │ ├── Augur │ │ └── index.js │ ├── Bounties │ │ └── index.js │ ├── Compound │ │ └── index.js │ ├── Cryptokitties │ │ ├── Screens │ │ │ ├── KittyScreen.js │ │ │ └── MyKitties.js │ │ └── index.js │ ├── Decentraland │ │ └── index.js │ ├── Dharma │ │ └── index.js │ ├── Foam │ │ ├── App.js │ │ ├── MapboxClient.js │ │ ├── assets │ │ │ ├── example.png │ │ │ ├── giphy.gif │ │ │ ├── grid_pattern.png │ │ │ ├── indoor_3d_map.json │ │ │ ├── nyc_geojson.json │ │ │ ├── radar.png │ │ │ ├── radar1.png │ │ │ ├── radar2.png │ │ │ ├── smiley_face.json │ │ │ └── test_pattern.jpg │ │ ├── components │ │ │ ├── ChoroplethLayerByZoomLevel.js │ │ │ ├── CreateOfflineRegion.js │ │ │ ├── CustomIcon.js │ │ │ ├── CustomVectorSource.js │ │ │ ├── DataDrivenCircleColors.js │ │ │ ├── DriveTheLine.js │ │ │ ├── EarthQuakes.js │ │ │ ├── FitBounds.js │ │ │ ├── FlyTo.js │ │ │ ├── GeoJSONSource.js │ │ │ ├── GetCenter.js │ │ │ ├── GetZoom.js │ │ │ ├── ImageOverlay.js │ │ │ ├── IndoorBuilding.js │ │ │ ├── PointInMapView.js │ │ │ ├── QueryAtPoint.js │ │ │ ├── QueryWithRect.js │ │ │ ├── SetBearing.js │ │ │ ├── SetPitch.js │ │ │ ├── SetUserLocationVerticalAlignment.js │ │ │ ├── SetUserTrackingModes.js │ │ │ ├── ShapeSourceIcon.js │ │ │ ├── ShowClick.js │ │ │ ├── ShowMap.js │ │ │ ├── ShowPointAnnotation.js │ │ │ ├── ShowRegionChange.js │ │ │ ├── TakeSnapshot.js │ │ │ ├── TakeSnapshotWithMap.js │ │ │ ├── TwoByTwo.js │ │ │ ├── UserLocationChange.js │ │ │ ├── WatercolorRasterTiles.js │ │ │ ├── YoYo.js │ │ │ └── common │ │ │ │ ├── BaseExamplePropTypes.js │ │ │ │ ├── Bubble.js │ │ │ │ ├── MapHeader.js │ │ │ │ ├── Page.js │ │ │ │ ├── PulseCircleLayer.js │ │ │ │ └── TabBarPage.js │ │ ├── index.js │ │ ├── styles │ │ │ ├── colors.js │ │ │ └── sheet.js │ │ └── utils │ │ │ ├── RouteSimulator.js │ │ │ └── index.js │ ├── Fork │ │ ├── Assets │ │ │ ├── close.png │ │ │ ├── cryptokitty.png │ │ │ └── eth-new-york.png │ │ ├── Components │ │ │ └── Modal.js │ │ ├── Screens │ │ │ ├── Confirmation.js │ │ │ ├── Deals.js │ │ │ ├── Menu.js │ │ │ ├── Restaurants.js │ │ │ └── TakeAway.js │ │ └── index.js │ ├── Gitcoin │ │ └── index.js │ ├── LocalEthereum │ │ └── index.js │ ├── MetaMultisig │ │ ├── Screens │ │ │ ├── KittyScreen.js │ │ │ └── MyKitties.js │ │ └── index.js │ ├── Peepeth │ │ └── index.js │ ├── Qantas │ │ └── index.js │ ├── RadarRelay │ │ ├── Assets │ │ │ ├── bolt-white.png │ │ │ ├── bolt.png │ │ │ ├── list-white.png │ │ │ ├── list.png │ │ │ ├── radar-black.png │ │ │ ├── radar-r-white.png │ │ │ ├── star-empty.png │ │ │ ├── tune-white.png │ │ │ └── tune.png │ │ ├── Components │ │ │ ├── OrderModal.js │ │ │ └── TokenSelectModal.js │ │ ├── Screens │ │ │ ├── BuyAndSell.js │ │ │ ├── Deals.js │ │ │ ├── OrderBook.js │ │ │ └── TakeAway.js │ │ └── index.js │ ├── Synthetix │ │ └── index.js │ ├── Uniswap │ │ ├── Screens │ │ │ ├── MyKitties.js │ │ │ └── TradeScreen.js │ │ ├── abi │ │ │ ├── erc20.json │ │ │ ├── erc20_symbol_bytes32.json │ │ │ ├── exchange.json │ │ │ └── factory.json │ │ ├── index.js │ │ ├── public │ │ │ ├── CNAME │ │ │ ├── _redirect │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── libraries │ │ │ │ └── qr-scanner │ │ │ │ │ └── qr-scanner-worker.min.js │ │ │ ├── locales │ │ │ │ ├── de.json │ │ │ │ ├── en.json │ │ │ │ ├── es-AR.json │ │ │ │ ├── es-US.json │ │ │ │ ├── ro.json │ │ │ │ ├── ru.json │ │ │ │ ├── zh-CN.json │ │ │ │ └── zh-TW.json │ │ │ ├── manifest.json │ │ │ └── 🦄.png │ │ └── src │ │ │ ├── abi │ │ │ ├── erc20.json │ │ │ ├── erc20_symbol_bytes32.json │ │ │ ├── exchange.json │ │ │ └── factory.json │ │ │ ├── assets │ │ │ └── images │ │ │ │ ├── arrow-down-blue.svg │ │ │ │ ├── arrow-down-grey.svg │ │ │ │ ├── brave-logo.svg │ │ │ │ ├── coinbase-wallet-logo.png │ │ │ │ ├── dropdown-blue.svg │ │ │ │ ├── dropdown.svg │ │ │ │ ├── dropup-blue.svg │ │ │ │ ├── ethereum-logo.svg │ │ │ │ ├── generic-token-logo.png │ │ │ │ ├── logo.png │ │ │ │ ├── magnifying-glass.svg │ │ │ │ ├── metamask-logo.svg │ │ │ │ ├── pending.svg │ │ │ │ ├── plus-blue.svg │ │ │ │ ├── plus-grey.svg │ │ │ │ ├── qr-code.svg │ │ │ │ └── trust-wallet-logo.svg │ │ │ ├── components │ │ │ ├── AddressInputPanel │ │ │ │ ├── address-input-panel.scss │ │ │ │ └── index.js │ │ │ ├── ContextualInfo │ │ │ │ ├── contextual-info.scss │ │ │ │ └── index.js │ │ │ ├── CurrencyInputPanel │ │ │ │ ├── currency-panel.scss │ │ │ │ └── index.js │ │ │ ├── Header │ │ │ │ ├── header.scss │ │ │ │ └── index.js │ │ │ ├── Logo │ │ │ │ ├── index.js │ │ │ │ └── logo.scss │ │ │ ├── Modal │ │ │ │ ├── index.js │ │ │ │ └── modal.scss │ │ │ ├── NavigationTabs │ │ │ │ ├── beta-message.scss │ │ │ │ └── index.js │ │ │ ├── OversizedPanel │ │ │ │ ├── index.js │ │ │ │ └── oversized-panel.scss │ │ │ ├── QrCode │ │ │ │ ├── index.js │ │ │ │ └── qr-code.scss │ │ │ ├── Tab │ │ │ │ ├── index.js │ │ │ │ └── tab.scss │ │ │ ├── TokenLogo │ │ │ │ └── index.js │ │ │ └── Web3Status │ │ │ │ ├── index.js │ │ │ │ └── web3-status.scss │ │ │ ├── constants │ │ │ ├── actionTypes.js │ │ │ └── currencyInputErrorTypes.js │ │ │ ├── ducks │ │ │ ├── addresses.js │ │ │ ├── app.js │ │ │ ├── index.js │ │ │ ├── pending.js │ │ │ └── web3connect.js │ │ │ ├── helpers │ │ │ ├── fuse │ │ │ │ ├── bitap │ │ │ │ │ ├── bitap_matched_indices.js │ │ │ │ │ ├── bitap_pattern_alphabet.js │ │ │ │ │ ├── bitap_regex_search.js │ │ │ │ │ ├── bitap_score.js │ │ │ │ │ ├── bitap_search.js │ │ │ │ │ └── index.js │ │ │ │ ├── helpers │ │ │ │ │ ├── deep_value.js │ │ │ │ │ └── is_array.js │ │ │ │ └── index.js │ │ │ ├── promise-utils.js │ │ │ ├── web3-promisfy.js │ │ │ └── web3-utils.js │ │ │ ├── i18n.js │ │ │ ├── index.js │ │ │ ├── index.scss │ │ │ ├── libraries │ │ │ └── qr-scanner.js │ │ │ ├── pages │ │ │ ├── App.js │ │ │ ├── App.scss │ │ │ ├── App.test.js │ │ │ ├── Pool │ │ │ │ ├── AddLiquidity.js │ │ │ │ ├── CreateExchange.js │ │ │ │ ├── ModeSelector.js │ │ │ │ ├── RemoveLiquidity.js │ │ │ │ ├── index.js │ │ │ │ └── pool.scss │ │ │ ├── Send │ │ │ │ ├── index.js │ │ │ │ └── send.scss │ │ │ └── Swap │ │ │ │ ├── index.js │ │ │ │ └── swap.scss │ │ │ ├── registerServiceWorker.js │ │ │ ├── store │ │ │ ├── index.js │ │ │ ├── initial-state.js │ │ │ ├── store.dev.js │ │ │ └── store.prod.js │ │ │ └── variables.scss │ ├── Veil │ │ ├── Assets │ │ │ ├── bolt-white.png │ │ │ ├── bolt.png │ │ │ ├── checkbox-blank.png │ │ │ ├── eth-currency.png │ │ │ ├── list-white.png │ │ │ ├── list.png │ │ │ ├── radar-black.png │ │ │ ├── radar-r-white.png │ │ │ ├── radio-unchecked.png │ │ │ ├── star-empty.png │ │ │ ├── tune-white.png │ │ │ └── tune.png │ │ ├── Components │ │ │ ├── OrderModal.js │ │ │ └── TokenSelectModal.js │ │ ├── Screens │ │ │ ├── BuyAndSell.js │ │ │ ├── Deals.js │ │ │ ├── Predictions.js │ │ │ └── TakeAway.js │ │ └── index.js │ ├── Wyre │ │ └── index.js │ └── index.js ├── HomePage.js ├── Main │ ├── Screens │ │ ├── AppsScreen.js │ │ ├── Chats │ │ │ ├── Chat.js │ │ │ ├── Chat2.js │ │ │ ├── Chat3.js │ │ │ ├── ChatScreen.js │ │ │ └── index.js │ │ └── PersonalScreen.js │ └── index.js ├── assets │ ├── avatar.png │ ├── backup-icon.png │ ├── balance-manager-avatar.png │ ├── balance-manager-avatar@2x.png │ ├── balance-manager-avatar@3x.png │ ├── balance-manager-logo.png │ ├── balance-manager-logo@2x.png │ ├── balance-manager-logo@3x.png │ ├── balance.png │ ├── camera.png │ ├── caret.png │ ├── confirm-menu-alt.png │ ├── confirm-menu.png │ ├── currency-icon.png │ ├── dai.png │ ├── dropdown-arrow.png │ ├── eth-icon.png │ ├── ethereum.png │ ├── faceid.png │ ├── fonts │ │ ├── Graphik-Black.otf │ │ ├── Graphik-BlackItalic.otf │ │ ├── Graphik-Bold.otf │ │ ├── Graphik-BoldItalic.otf │ │ ├── Graphik-Extralight.otf │ │ ├── Graphik-ExtralightItalic.otf │ │ ├── Graphik-Light.otf │ │ ├── Graphik-LightItalic.otf │ │ ├── Graphik-Medium.otf │ │ ├── Graphik-MediumItalic.otf │ │ ├── Graphik-Regular.otf │ │ ├── Graphik-RegularItalic.otf │ │ ├── Graphik-Semibold.otf │ │ ├── Graphik-SemiboldItalic.otf │ │ ├── Graphik-Super.otf │ │ ├── Graphik-SuperItalic.otf │ │ ├── Graphik-Thin.otf │ │ ├── Graphik-ThinItalic.otf │ │ ├── SF-Pro-Display-Black.otf │ │ ├── SF-Pro-Display-BlackItalic.otf │ │ ├── SF-Pro-Display-Bold.otf │ │ ├── SF-Pro-Display-BoldItalic.otf │ │ ├── SF-Pro-Display-Heavy.otf │ │ ├── SF-Pro-Display-HeavyItalic.otf │ │ ├── SF-Pro-Display-Light.otf │ │ ├── SF-Pro-Display-LightItalic.otf │ │ ├── SF-Pro-Display-Medium.otf │ │ ├── SF-Pro-Display-MediumItalic.otf │ │ ├── SF-Pro-Display-Regular.otf │ │ ├── SF-Pro-Display-RegularItalic.otf │ │ ├── SF-Pro-Display-Semibold.otf │ │ ├── SF-Pro-Display-SemiboldItalic.otf │ │ ├── SF-Pro-Display-Thin.otf │ │ ├── SF-Pro-Display-ThinItalic.otf │ │ ├── SF-Pro-Display-Ultralight.otf │ │ ├── SF-Pro-Display-UltralightItalic.otf │ │ ├── SF-Pro-Text-Bold.otf │ │ ├── SF-Pro-Text-BoldItalic.otf │ │ ├── SF-Pro-Text-Heavy.otf │ │ ├── SF-Pro-Text-HeavyItalic.otf │ │ ├── SF-Pro-Text-Light.otf │ │ ├── SF-Pro-Text-LightItalic.otf │ │ ├── SF-Pro-Text-Medium.otf │ │ ├── SF-Pro-Text-MediumItalic.otf │ │ ├── SF-Pro-Text-Regular.otf │ │ ├── SF-Pro-Text-RegularItalic.otf │ │ ├── SF-Pro-Text-Semibold.otf │ │ ├── SF-Pro-Text-SemiboldItalic.otf │ │ ├── SFMono-Bold.otf │ │ ├── SFMono-Heavy.otf │ │ ├── SFMono-Light.otf │ │ ├── SFMono-Medium.otf │ │ ├── SFMono-Regular.otf │ │ └── SFMono-Semibold.otf │ ├── landing-kitty03.png │ ├── language-icon.png │ ├── opensea.png │ ├── person-icon.png │ ├── scan-icon-alt.png │ ├── scan-icon@2x.png │ ├── scan-icon@3x.png │ ├── security-icon.png │ ├── seed-phrase-icon.png │ ├── seed-phrase-icon@2x.png │ ├── seed-phrase-icon@3x.png │ ├── send-background.png │ ├── send-button.png │ ├── settings-icon@2x.png │ ├── settings-icon@3x.png │ ├── simulator-fake-camera-image.jpg │ ├── transaction-button.png │ ├── wallet-icon@2x.png │ ├── wallet-icon@3x.png │ ├── walletconnect-logo-blue.png │ └── walletconnect-logo.png ├── components │ ├── ActivityIndicator.js │ ├── AddFundsInterstitial.js │ ├── AppVersionStamp.js │ ├── Avatar.js │ ├── BlurOverlay.js │ ├── ContextMenu.js │ ├── CopyTooltip.js │ ├── Divider.js │ ├── IconComponent.js │ ├── ImageWithCachedDimensions.js │ ├── InnerBorder.js │ ├── MessageSigningSection.js │ ├── Modal.js │ ├── OfflineBadge.js │ ├── QRCodeDisplay.js │ ├── SendFeedback.js │ ├── Shimmer.js │ ├── Tag.js │ ├── TouchableBackdrop.js │ ├── TransactionConfirmationSection.js │ ├── activity-list │ │ ├── ActivityList.js │ │ ├── ActivityListHeader.js │ │ ├── RecyclerActivityList.js │ │ └── index.js │ ├── alerts │ │ ├── Alert.js │ │ ├── BaseAlert.js │ │ ├── Prompt.js │ │ └── index.js │ ├── animations │ │ ├── ButtonPressAnimation.js │ │ ├── FadeInAnimation.js │ │ ├── SpinAnimation.js │ │ └── index.js │ ├── asset-list │ │ ├── AssetList.js │ │ ├── AssetListHeader.js │ │ ├── AssetListItem.js │ │ ├── AssetListItemSkeleton.js │ │ ├── AssetListSkeleton.js │ │ └── index.js │ ├── badge │ │ ├── Badge.js │ │ └── index.js │ ├── bubble-sheet │ │ ├── BubbleSheet.js │ │ └── index.js │ ├── buttons │ │ ├── BlockButton.js │ │ ├── Button.js │ │ ├── LongPressButton.js │ │ └── index.js │ ├── coin-icon │ │ ├── CoinIcon.js │ │ ├── RequestCoinIcon.js │ │ ├── RequestVendorLogoIcon.js │ │ └── index.js │ ├── coin-row │ │ ├── BalanceCoinRow.js │ │ ├── BalanceText.js │ │ ├── BottomRowText.js │ │ ├── CoinName.js │ │ ├── CoinRow.js │ │ ├── RequestCoinRow.js │ │ ├── SendCoinRow.js │ │ ├── TransactionCoinRow.js │ │ ├── TransactionStatusBadge.js │ │ └── index.js │ ├── expanded-state │ │ ├── FloatingPanel.js │ │ ├── FloatingPanels.js │ │ ├── TokenExpandedState.js │ │ ├── UniqueTokenExpandedState.js │ │ ├── asset-panel │ │ │ ├── AssetPanel.js │ │ │ ├── AssetPanelAction.js │ │ │ ├── AssetPanelHeader.js │ │ │ ├── AssetPanelInput.js │ │ │ └── index.js │ │ └── index.js │ ├── fab │ │ ├── FabWrapper.js │ │ ├── FloatingActionButton.js │ │ ├── SendFab.js │ │ └── index.js │ ├── fields │ │ ├── AddressField.js │ │ ├── UnderlineField.js │ │ └── index.js │ ├── header │ │ ├── BackButton.js │ │ ├── CameraHeaderButton.js │ │ ├── Header.js │ │ ├── HeaderButton.js │ │ ├── ProfileHeaderButton.js │ │ └── index.js │ ├── html-entities │ │ ├── Nbsp.js │ │ └── index.js │ ├── icons │ │ ├── Icon.js │ │ ├── Svg.js │ │ ├── index.js │ │ └── svg │ │ │ ├── ArrowCircledIcon.js │ │ │ ├── ArrowIcon.js │ │ │ ├── AssetListItemSkeletonIcon.js │ │ │ ├── AvatarIcon.js │ │ │ ├── BalanceLogoIcon.js │ │ │ ├── CameraIcon.js │ │ │ ├── CaretIcon.js │ │ │ ├── CaretThinIcon.js │ │ │ ├── CheckmarkCircledIcon.js │ │ │ ├── CheckmarkIcon.js │ │ │ ├── ClockIcon.js │ │ │ ├── CloseIcon.js │ │ │ ├── CompassIcon.js │ │ │ ├── CopyIcon.js │ │ │ ├── CrosshairIcon.js │ │ │ ├── DotIcon.js │ │ │ ├── FaceIdIcon.js │ │ │ ├── GearIcon.js │ │ │ ├── HandleIcon.js │ │ │ ├── InboxIcon.js │ │ │ ├── OfflineIcon.js │ │ │ ├── ProgressIcon.js │ │ │ ├── SendIcon.js │ │ │ ├── ShareIcon.js │ │ │ ├── SpinnerIcon.js │ │ │ ├── ThreeDotsIcon.js │ │ │ ├── TouchIdIcon.js │ │ │ ├── WalletConnectIcon.js │ │ │ └── WarningIcon.js │ ├── inputs │ │ ├── Input.js │ │ ├── MultiLineInput.js │ │ └── index.js │ ├── labels │ │ ├── PillLabel.js │ │ └── index.js │ ├── layout │ │ ├── Centered.js │ │ ├── Column.js │ │ ├── ColumnWithMargins.js │ │ ├── Flex.js │ │ ├── FlexItem.js │ │ ├── FlyInView.js │ │ ├── LayoutWithMargins.js │ │ ├── Page.js │ │ ├── Row.js │ │ ├── RowWithMargins.js │ │ └── index.js │ ├── list │ │ ├── List.js │ │ ├── ListFooter.js │ │ ├── ListHeader.js │ │ ├── ListItem.js │ │ ├── ListItemArrowGroup.js │ │ ├── ListItemDivider.js │ │ ├── SectionList.js │ │ └── index.js │ ├── modal │ │ ├── LoadingOverlay.js │ │ ├── Modal.js │ │ ├── ModalFooterButton.js │ │ ├── ModalFooterButtonsRow.js │ │ ├── ModalHeader.js │ │ ├── ModalHeaderButton.js │ │ └── index.js │ ├── pager │ │ ├── AnimatedPager.js │ │ ├── AnimatedPagerItem.js │ │ ├── Pager.js │ │ ├── PagerControls.js │ │ ├── PagerItem.js │ │ └── index.js │ ├── profile │ │ ├── ProfileAction.js │ │ ├── ProfileMasthead.js │ │ └── index.js │ ├── qrcode-scanner │ │ ├── QRCodeScanner.js │ │ ├── QRCodeScannerCamera.js │ │ ├── QRCodeScannerCrosshair.js │ │ ├── QRCodeScannerNeedsAuthorization.js │ │ └── index.js │ ├── radio-list │ │ ├── RadioList.js │ │ ├── RadioListItem.js │ │ └── index.js │ ├── settings-menu │ │ ├── BackupSection.js │ │ ├── CurrencySection.js │ │ ├── LanguageSection.js │ │ ├── SettingsSection.js │ │ └── index.js │ ├── shadow-stack │ │ ├── ShadowItem.js │ │ ├── ShadowStack.js │ │ └── index.js │ ├── text │ │ ├── Br.js │ │ ├── Emoji.js │ │ ├── ErrorText.js │ │ ├── H1.js │ │ ├── Monospace.js │ │ ├── Smallcaps.js │ │ ├── Text.js │ │ ├── TruncatedAddress.js │ │ ├── TruncatedText.js │ │ └── index.js │ ├── unique-token │ │ ├── UniqueTokenAttributes.js │ │ ├── UniqueTokenCard.js │ │ ├── UniqueTokenImage.js │ │ ├── UniqueTokenRow.js │ │ └── index.js │ └── walletconnect-list │ │ ├── WalletConnectExplainer.js │ │ ├── WalletConnectExplainerItem.js │ │ ├── WalletConnectLearnMoreButton.js │ │ ├── WalletConnectList.js │ │ ├── WalletConnectListItem.js │ │ └── index.js ├── helpers │ ├── assets.js │ ├── buildWalletSections.js │ ├── transactionStatusTypes.js │ ├── transactions.js │ └── utilities.js ├── hoc │ ├── index.js │ ├── withAccountAddress.js │ ├── withAccountRefresh.js │ ├── withAccountReset.js │ ├── withAccountSettings.js │ ├── withAccountTransactions.js │ ├── withActionSheetManager.js │ ├── withAddWalletConnector.js │ ├── withBlurTransitionProps.js │ ├── withFetchingPrices.js │ ├── withHideSplashScreen.js │ ├── withImageDimensionsCache.js │ ├── withIsWalletEmpty.js │ ├── withMessageSigningScreen.js │ ├── withRequests.js │ ├── withRequestsInit.js │ ├── withRotationForDirection.js │ ├── withSafeAreaViewInsetValues.js │ ├── withStatusBarStyle.js │ ├── withTrackingDate.js │ ├── withTrackingScreen.js │ ├── withTransactionConfirmationScreen.js │ ├── withTransitionProps.js │ └── withWalletConnectConnections.js ├── model │ ├── connections.js │ ├── keychain.js │ ├── localstorage.js │ ├── personalData.js │ ├── wallet.js │ └── walletconnect.js ├── navigation │ ├── index.js │ └── transitions │ │ ├── expanded.js │ │ ├── index.js │ │ └── sheet.js ├── redux │ ├── actionSheetManager.js │ ├── imageDimensionsCache.js │ ├── isWalletEmpty.js │ ├── navigation.js │ ├── nonce.js │ ├── reducers.js │ ├── store.js │ ├── tracking.js │ ├── transactionsToApprove.js │ └── walletconnect.js ├── screens │ ├── Camera.js │ ├── ExpandedAssetScreen.js │ ├── ImportSeedPhraseSheet.js │ ├── ImportSeedPhraseSheetWithData.js │ ├── ProfileScreen.js │ ├── ProfileScreenWithData.js │ ├── QRScannerScreen.js │ ├── QRScannerScreenWithData.js │ ├── ReceiveModal.js │ ├── Routes.js │ ├── SendQRScannerScreenWithData.js │ ├── SendSheet.js │ ├── SendSheetWithData.js │ ├── SettingsModal.js │ ├── TransactionConfirmationScreen.js │ ├── TransactionConfirmationScreenWithData.js │ └── WalletScreen.js ├── styles │ ├── animations.js │ ├── borders.js │ ├── buildLayoutStyles.js │ ├── buildTextStyles.js │ ├── calcDirectionToDegrees.js │ ├── colors.js │ ├── fonts.js │ ├── index.js │ ├── margin.js │ ├── padding.js │ ├── position.js │ └── shadow.js └── utils │ ├── Dapplet.js │ ├── abbreviations.js │ ├── actionsheet.js │ ├── address.js │ ├── deviceUtils.js │ ├── dimensionsPropType.js │ ├── directionPropType.js │ ├── formatters.js │ ├── index.js │ ├── isNewValueForPath.js │ ├── reduceStylesArrayToObject.js │ ├── safeAreaInsetValues.js │ ├── statusBar.js │ └── transactions.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "development": { 4 | "plugins": [ ["transform-remove-console", { "exclude": ["disableYellowBox", "error", "info", "log"] }] ] 5 | }, 6 | "production": { 7 | "plugins": [ 8 | ["transform-remove-console", { "exclude": ["error"] }] 9 | ] 10 | } 11 | }, 12 | "plugins": [ 13 | "babel-plugin-styled-components", 14 | "date-fns", 15 | [ 16 | "lodash", 17 | { 18 | "id": [ 19 | "lodash", 20 | "recompact", 21 | "recompose" 22 | ] 23 | } 24 | ] 25 | ], 26 | "presets": [ 27 | "module:metro-react-native-babel-preset", 28 | ], 29 | } 30 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v11.1.0 2 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Assets/0x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/0x.png -------------------------------------------------------------------------------- /Assets/alice-logo-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/alice-logo-new.png -------------------------------------------------------------------------------- /Assets/alice-pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/alice-pic.png -------------------------------------------------------------------------------- /Assets/alice-square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/alice-square.png -------------------------------------------------------------------------------- /Assets/alice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/alice.png -------------------------------------------------------------------------------- /Assets/anon-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/anon-avatar.png -------------------------------------------------------------------------------- /Assets/aragon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/aragon.png -------------------------------------------------------------------------------- /Assets/augur-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/augur-logo.png -------------------------------------------------------------------------------- /Assets/avatar-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/avatar-black.png -------------------------------------------------------------------------------- /Assets/avatar-grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/avatar-grey.png -------------------------------------------------------------------------------- /Assets/back-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/back-button.png -------------------------------------------------------------------------------- /Assets/beer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/beer.png -------------------------------------------------------------------------------- /Assets/bounties-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/bounties-avatar.png -------------------------------------------------------------------------------- /Assets/bounties-avatar.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Assets/bounties-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/bounties-dashboard.png -------------------------------------------------------------------------------- /Assets/bounties-dashboard.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Assets/bounties-explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/bounties-explorer.png -------------------------------------------------------------------------------- /Assets/bounties-leaderboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/bounties-leaderboard.png -------------------------------------------------------------------------------- /Assets/bounties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/bounties.png -------------------------------------------------------------------------------- /Assets/camera-emoji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/camera-emoji.png -------------------------------------------------------------------------------- /Assets/chat-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/chat-black.png -------------------------------------------------------------------------------- /Assets/chat-grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/chat-grey.png -------------------------------------------------------------------------------- /Assets/clock-circular-outline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/clock-circular-outline.png -------------------------------------------------------------------------------- /Assets/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/close.png -------------------------------------------------------------------------------- /Assets/coinmarketcap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/coinmarketcap.png -------------------------------------------------------------------------------- /Assets/compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/compass.png -------------------------------------------------------------------------------- /Assets/compound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/compound.png -------------------------------------------------------------------------------- /Assets/croissant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/croissant.png -------------------------------------------------------------------------------- /Assets/cryptokitties-cat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/cryptokitties-cat.png -------------------------------------------------------------------------------- /Assets/cryptokitties-tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/cryptokitties-tag.png -------------------------------------------------------------------------------- /Assets/cryptokitties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/cryptokitties.png -------------------------------------------------------------------------------- /Assets/dai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/dai.png -------------------------------------------------------------------------------- /Assets/dai.svg: -------------------------------------------------------------------------------- 1 | dai -------------------------------------------------------------------------------- /Assets/daostack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/daostack.png -------------------------------------------------------------------------------- /Assets/decentraland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/decentraland.png -------------------------------------------------------------------------------- /Assets/dharma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/dharma.png -------------------------------------------------------------------------------- /Assets/district0x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/district0x.png -------------------------------------------------------------------------------- /Assets/dna.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/dna.png -------------------------------------------------------------------------------- /Assets/dydx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/dydx.png -------------------------------------------------------------------------------- /Assets/emoji-hamburger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/emoji-hamburger.png -------------------------------------------------------------------------------- /Assets/enter-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/enter-arrow.png -------------------------------------------------------------------------------- /Assets/etheremon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/etheremon.png -------------------------------------------------------------------------------- /Assets/ethereum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/ethereum.png -------------------------------------------------------------------------------- /Assets/foam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/foam.png -------------------------------------------------------------------------------- /Assets/fork-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/fork-logo.png -------------------------------------------------------------------------------- /Assets/fries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/fries.png -------------------------------------------------------------------------------- /Assets/gitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/gitcoin.png -------------------------------------------------------------------------------- /Assets/giveth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/giveth.png -------------------------------------------------------------------------------- /Assets/gnosis-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/gnosis-logo.png -------------------------------------------------------------------------------- /Assets/hamburger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/hamburger.png -------------------------------------------------------------------------------- /Assets/heart-outline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/heart-outline.png -------------------------------------------------------------------------------- /Assets/home-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/home-black.png -------------------------------------------------------------------------------- /Assets/home-grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/home-grey.png -------------------------------------------------------------------------------- /Assets/hotdog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/hotdog.png -------------------------------------------------------------------------------- /Assets/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/house.png -------------------------------------------------------------------------------- /Assets/hummingbot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/hummingbot.png -------------------------------------------------------------------------------- /Assets/instadapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/instadapp.png -------------------------------------------------------------------------------- /Assets/local-ethereum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/local-ethereum.png -------------------------------------------------------------------------------- /Assets/localethereum-modal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/localethereum-modal.png -------------------------------------------------------------------------------- /Assets/localethereum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/localethereum.png -------------------------------------------------------------------------------- /Assets/location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/location.png -------------------------------------------------------------------------------- /Assets/maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/maps.png -------------------------------------------------------------------------------- /Assets/money-bag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/money-bag.png -------------------------------------------------------------------------------- /Assets/mycrypto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/mycrypto.png -------------------------------------------------------------------------------- /Assets/new-chat-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/new-chat-logo.png -------------------------------------------------------------------------------- /Assets/paperclip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/paperclip.png -------------------------------------------------------------------------------- /Assets/pawprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/pawprint.png -------------------------------------------------------------------------------- /Assets/peepeth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/peepeth.png -------------------------------------------------------------------------------- /Assets/pizza.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/pizza.png -------------------------------------------------------------------------------- /Assets/plate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/plate.png -------------------------------------------------------------------------------- /Assets/profpic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/profpic1.png -------------------------------------------------------------------------------- /Assets/profpic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/profpic2.png -------------------------------------------------------------------------------- /Assets/project-alice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/project-alice.png -------------------------------------------------------------------------------- /Assets/puzzle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/puzzle.png -------------------------------------------------------------------------------- /Assets/qantas-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/qantas-logo.png -------------------------------------------------------------------------------- /Assets/radar-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/radar-black.png -------------------------------------------------------------------------------- /Assets/radar-chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/radar-chat.png -------------------------------------------------------------------------------- /Assets/radar-r-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/radar-r-white.png -------------------------------------------------------------------------------- /Assets/red-car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/red-car.png -------------------------------------------------------------------------------- /Assets/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/search.png -------------------------------------------------------------------------------- /Assets/send-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/send-button.png -------------------------------------------------------------------------------- /Assets/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/settings.png -------------------------------------------------------------------------------- /Assets/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/share.png -------------------------------------------------------------------------------- /Assets/status-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/status-logo.png -------------------------------------------------------------------------------- /Assets/sushi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/sushi.png -------------------------------------------------------------------------------- /Assets/synthetix-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/synthetix-dashboard.png -------------------------------------------------------------------------------- /Assets/synthetix-exchange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/synthetix-exchange.png -------------------------------------------------------------------------------- /Assets/synthetix-mintr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/synthetix-mintr.png -------------------------------------------------------------------------------- /Assets/synthetix-swap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/synthetix-swap.png -------------------------------------------------------------------------------- /Assets/synthetix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/synthetix.png -------------------------------------------------------------------------------- /Assets/taco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/taco.png -------------------------------------------------------------------------------- /Assets/trade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/trade.png -------------------------------------------------------------------------------- /Assets/uniswap-down-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/uniswap-down-arrow.png -------------------------------------------------------------------------------- /Assets/uniswap-dropdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/uniswap-dropdown.png -------------------------------------------------------------------------------- /Assets/uniswap-pool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/uniswap-pool.png -------------------------------------------------------------------------------- /Assets/uniswap-send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/uniswap-send.png -------------------------------------------------------------------------------- /Assets/uniswap-swap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/uniswap-swap.png -------------------------------------------------------------------------------- /Assets/uniswap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/uniswap.png -------------------------------------------------------------------------------- /Assets/veil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/veil.png -------------------------------------------------------------------------------- /Assets/wyre-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/Assets/wyre-1.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | **This is the Proof Of Concept build of Alice which has paved the way for the AliceX repo and as such is now deprecated** 2 | 3 | # Alice 4 | Build native mobile dapps into a crypto wallet 5 | 6 | How to start building 7 | Language used: `React Native` 8 | 9 | To start building a native crypto app, clone the repo and place your sourcecode in the `/Apps` folder under your apps name. 10 | Utilize the native crypto features from the apps `/utils` folder. 11 | 12 | -------------------------------------------------------------------------------- /__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import App from '../App'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Black.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Black.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-BlackItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-BlackItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Bold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-BoldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-BoldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Extralight.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Extralight.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-ExtralightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-ExtralightItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Light.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-LightItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Medium.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-MediumItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-MediumItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Regular.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-RegularItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-RegularItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Semibold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-SemiboldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-SemiboldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Super.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Super.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-SuperItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-SuperItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-Thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-Thin.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Graphik-ThinItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/Graphik-ThinItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Black.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Black.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-BlackItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-BlackItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Bold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-BoldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-BoldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Heavy.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-HeavyItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-HeavyItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Light.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-LightItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Medium.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-MediumItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-MediumItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Regular.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-RegularItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-RegularItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Semibold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-SemiboldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-SemiboldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Thin.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-ThinItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-ThinItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-Ultralight.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-Ultralight.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Display-UltralightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Display-UltralightItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-Bold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-BoldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-BoldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-Heavy.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-HeavyItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-HeavyItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-Light.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-LightItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-Medium.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-MediumItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-MediumItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-Regular.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-RegularItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-RegularItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-Semibold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-Pro-Text-SemiboldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SF-Pro-Text-SemiboldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-Bold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-BoldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-BoldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-Heavy.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-HeavyItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-HeavyItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-Light.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-LightItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-Medium.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-MediumItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-MediumItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-Regular.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-RegularItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-RegularItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-Semibold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SFMono-SemiboldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/assets/fonts/SFMono-SemiboldItalic.otf -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/debug/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/debug/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | BalanceWallet Debug 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/debug/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/balancewallet/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.balancewallet; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "BalanceWallet"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | BalanceWallet 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/app/src/main/staging/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/staging/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | BalanceWallet Staging 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/staging/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-all.zip 6 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Balance", 3 | "displayName": "Balance" 4 | } 5 | -------------------------------------------------------------------------------- /global.js: -------------------------------------------------------------------------------- 1 | if (typeof btoa === 'undefined') { 2 | global.btoa = function (str) { 3 | return new Buffer(str, 'binary').toString('base64'); 4 | }; 5 | } 6 | 7 | if (typeof atob === 'undefined') { 8 | global.atob = function (b64Encoded) { 9 | return new Buffer(b64Encoded, 'base64').toString('binary'); 10 | }; 11 | } 12 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import './global'; 2 | import './shim'; 3 | 4 | /* eslint-disable import/first */ 5 | import RNLanguages from 'react-native-languages'; 6 | import lang from 'i18n-js'; 7 | import { resources } from 'balance-common'; 8 | 9 | // eslint-disable-next-line 10 | import App from './src/App'; 11 | 12 | // Languages (i18n) 13 | lang.defaultLocale = 'en'; 14 | lang.locale = RNLanguages.language; 15 | lang.fallbacks = true; 16 | 17 | lang.translations = Object.assign( 18 | {}, 19 | ...Object.keys(resources).map((key, index) => ({ 20 | [key]: resources[key].translation, 21 | })), 22 | ); 23 | -------------------------------------------------------------------------------- /ios/Apps/Compound/index.js: -------------------------------------------------------------------------------- 1 | import {createBottomTabNavigator} from "react-navigation"; 2 | import React from "react"; 3 | import {Text, View} from "react-native"; 4 | 5 | class HomeScreen2 extends React.Component { 6 | render() { 7 | return ( 8 | 9 | Cryptokitties 10 | 11 | ); 12 | } 13 | } 14 | 15 | class SettingsScreen2 extends React.Component { 16 | render() { 17 | return ( 18 | 19 | Games Coming Soon! 20 | 21 | ); 22 | } 23 | } 24 | 25 | export default createBottomTabNavigator({ 26 | Home: HomeScreen2, 27 | Play: SettingsScreen2, 28 | }); 29 | -------------------------------------------------------------------------------- /ios/BalanceWallet.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/BalanceWallet.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/BalanceWallet/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | @import UserNotifications; 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ios/BalanceWallet/BalanceWallet.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/Image.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "alice-launch-screen.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "alice-launch-screen-1.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "alice-launch-screen-2.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/Image.imageset/alice-launch-screen-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/Image.imageset/alice-launch-screen-1.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/Image.imageset/alice-launch-screen-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/Image.imageset/alice-launch-screen-2.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/Image.imageset/alice-launch-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/Image.imageset/alice-launch-screen.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-1125-2436.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-1125-2436.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-1.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-10.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-2.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-3.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-4.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-5.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-6.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-7.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-8.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen-9.png -------------------------------------------------------------------------------- /ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/BalanceWallet/Images.xcassets/LaunchImage.launchimage/alice-launch-screen.png -------------------------------------------------------------------------------- /ios/BalanceWallet/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ios/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac -------------------------------------------------------------------------------- /ios/Frameworks/GoogleToolboxForMac.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module GoogleToolboxForMac { 2 | umbrella header "GoogleToolboxForMac.h" 3 | export * 4 | module * { export *} 5 | } 6 | -------------------------------------------------------------------------------- /ios/Frameworks/Protobuf.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module Protobuf { 2 | umbrella header "Protobuf.h" 3 | export * 4 | module * { export *} 5 | } 6 | -------------------------------------------------------------------------------- /ios/Frameworks/Protobuf.framework/Protobuf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/Frameworks/Protobuf.framework/Protobuf -------------------------------------------------------------------------------- /ios/Frameworks/nanopb.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module nanopb { 2 | umbrella header "nanopb.h" 3 | export * 4 | module * { export *} 5 | } 6 | -------------------------------------------------------------------------------- /ios/Frameworks/nanopb.framework/nanopb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/ios/Frameworks/nanopb.framework/nanopb -------------------------------------------------------------------------------- /ios/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "fastlane" 4 | -------------------------------------------------------------------------------- /ios/fastlane/Appfile: -------------------------------------------------------------------------------- 1 | app_identifier("io.balance.balancewallet") # The bundle identifier of your app 2 | apple_id("admin@balancemy.money") # Your Apple email address 3 | 4 | itc_team_id("118397822") # App Store Connect Team ID 5 | team_id("Q4G66XSS36") # Developer Portal Team ID 6 | 7 | # For more information about the Appfile, see: 8 | # https://docs.fastlane.tools/advanced/#appfile 9 | -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/bolt-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/bolt-white.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/bolt.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/list-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/list-white.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/list.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/radar-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/radar-black.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/radar-r-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/radar-r-white.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/star-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/star-empty.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/tune-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/tune-white.png -------------------------------------------------------------------------------- /src/Apps/AppTemplate/Assets/tune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/AppTemplate/Assets/tune.png -------------------------------------------------------------------------------- /src/Apps/Compound/index.js: -------------------------------------------------------------------------------- 1 | import {createBottomTabNavigator} from "react-navigation"; 2 | import React from "react"; 3 | import {Text, View} from "react-native"; 4 | 5 | class HomeScreen2 extends React.Component { 6 | render() { 7 | return ( 8 | 9 | Cryptokitties 10 | 11 | ); 12 | } 13 | } 14 | 15 | class SettingsScreen2 extends React.Component { 16 | render() { 17 | return ( 18 | 19 | Games Coming Soon! 20 | 21 | ); 22 | } 23 | } 24 | 25 | export default createBottomTabNavigator({ 26 | Home: HomeScreen2, 27 | Play: SettingsScreen2, 28 | }); 29 | -------------------------------------------------------------------------------- /src/Apps/Foam/MapboxClient.js: -------------------------------------------------------------------------------- 1 | // import MapboxClient from 'mapbox'; 2 | // 3 | // 4 | // const client = new MapboxClient('pk.eyJ1IjoibWFya3BlcmVpciIsImEiOiJjancwNDg4eWswNzk1NGJ0Z3V5OGtxZWltIn0.gZ7ev6fQETAFa4J9kao10w'); 5 | // export default client; 6 | -------------------------------------------------------------------------------- /src/Apps/Foam/assets/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Foam/assets/example.png -------------------------------------------------------------------------------- /src/Apps/Foam/assets/giphy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Foam/assets/giphy.gif -------------------------------------------------------------------------------- /src/Apps/Foam/assets/grid_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Foam/assets/grid_pattern.png -------------------------------------------------------------------------------- /src/Apps/Foam/assets/radar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Foam/assets/radar.png -------------------------------------------------------------------------------- /src/Apps/Foam/assets/radar1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Foam/assets/radar1.png -------------------------------------------------------------------------------- /src/Apps/Foam/assets/radar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Foam/assets/radar2.png -------------------------------------------------------------------------------- /src/Apps/Foam/assets/test_pattern.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Foam/assets/test_pattern.jpg -------------------------------------------------------------------------------- /src/Apps/Foam/components/common/BaseExamplePropTypes.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | 3 | const BaseExamplePropTypes = { 4 | label: PropTypes.string.isRequired, 5 | onDismissExample: PropTypes.func.isRequired, 6 | }; 7 | 8 | export default BaseExamplePropTypes; 9 | -------------------------------------------------------------------------------- /src/Apps/Foam/styles/sheet.js: -------------------------------------------------------------------------------- 1 | import {StyleSheet} from 'react-native'; 2 | 3 | const styles = {}; 4 | 5 | styles.matchParent = { 6 | flex: 1, 7 | }; 8 | 9 | export default StyleSheet.create(styles); 10 | -------------------------------------------------------------------------------- /src/Apps/Foam/utils/index.js: -------------------------------------------------------------------------------- 1 | import {Platform} from 'react-native'; 2 | 3 | export const IS_ANDROID = Platform.OS === 'android'; 4 | export const DEFAULT_CENTER_COORDINATE = [-77.036086, 38.910233]; 5 | export const SF_OFFICE_COORDINATE = [-122.400021, 37.789085]; 6 | 7 | export function onSortOptions(a, b) { 8 | if (a.label < b.label) { 9 | return -1; 10 | } 11 | 12 | if (a.label > b.label) { 13 | return 1; 14 | } 15 | 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /src/Apps/Fork/Assets/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Fork/Assets/close.png -------------------------------------------------------------------------------- /src/Apps/Fork/Assets/cryptokitty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Fork/Assets/cryptokitty.png -------------------------------------------------------------------------------- /src/Apps/Fork/Assets/eth-new-york.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Fork/Assets/eth-new-york.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/bolt-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/bolt-white.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/bolt.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/list-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/list-white.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/list.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/radar-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/radar-black.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/radar-r-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/radar-r-white.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/star-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/star-empty.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/tune-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/tune-white.png -------------------------------------------------------------------------------- /src/Apps/RadarRelay/Assets/tune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/RadarRelay/Assets/tune.png -------------------------------------------------------------------------------- /src/Apps/Uniswap/public/CNAME: -------------------------------------------------------------------------------- 1 | uniswap.exchange 2 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/public/_redirect: -------------------------------------------------------------------------------- 1 | /* /index.html 200 -------------------------------------------------------------------------------- /src/Apps/Uniswap/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Uniswap/public/favicon.ico -------------------------------------------------------------------------------- /src/Apps/Uniswap/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": "./index.html", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/public/🦄.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Uniswap/public/🦄.png -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/arrow-down-blue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/arrow-down-grey.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/coinbase-wallet-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Uniswap/src/assets/images/coinbase-wallet-logo.png -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/dropdown-blue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/dropdown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/dropup-blue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/ethereum-logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/generic-token-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Uniswap/src/assets/images/generic-token-logo.png -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Uniswap/src/assets/images/logo.png -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/pending.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/plus-blue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/plus-grey.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/assets/images/qr-code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/components/Logo/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import "./logo.scss"; 3 | 4 | export default function Logo(props) { 5 | return ( 6 |
7 | 🦄 8 |
9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/components/Logo/logo.scss: -------------------------------------------------------------------------------- 1 | .logo { 2 | font-size: 1.5rem; 3 | line-height: 1.75rem; 4 | } -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/components/Modal/modal.scss: -------------------------------------------------------------------------------- 1 | @import '../../variables.scss'; 2 | 3 | .modal-container { 4 | position: relative; 5 | height: 100vh; 6 | width: 100vw; 7 | background-color: rgba($black, .6); 8 | z-index: 1000; 9 | 10 | } 11 | 12 | .modal-container-appear { 13 | opacity: 0.01; 14 | } 15 | 16 | .modal-container-appear.modal-container-appear-active { 17 | opacity: 1; 18 | transition: opacity 200ms ease-in-out; 19 | } 20 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/components/NavigationTabs/beta-message.scss: -------------------------------------------------------------------------------- 1 | @import "../../variables"; 2 | 3 | .beta-message { 4 | @extend %row-nowrap; 5 | flex: 1 0 auto; 6 | align-items: center; 7 | position: relative; 8 | padding: .5rem 1rem; 9 | margin-bottom: 1rem; 10 | border: 1px solid rgba($wisteria-purple, .4); 11 | background-color: rgba($wisteria-purple, .1); 12 | border-radius: 2rem; 13 | font-size: .75rem; 14 | line-height: 1rem; 15 | text-align: center; 16 | color: $wisteria-purple; 17 | 18 | &:after { 19 | content: '✕'; 20 | top: .5rem; 21 | right: 1rem; 22 | position: absolute; 23 | color: $wisteria-purple; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/components/OversizedPanel/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { connect } from 'react-redux'; 3 | import PropTypes from 'prop-types'; 4 | 5 | import './oversized-panel.scss'; 6 | 7 | export default function OversizedPanel(props) { 8 | return ( 9 |
10 | { props.hideTop ||
} 11 | {props.children} 12 | { props.hideBottom ||
} 13 |
14 | ); 15 | } 16 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/components/OversizedPanel/oversized-panel.scss: -------------------------------------------------------------------------------- 1 | @import '../../variables.scss'; 2 | 3 | .oversized-panel { 4 | position: relative; 5 | background-color: $concrete-gray; 6 | width: calc(100% - 1rem); 7 | margin: 0 auto; 8 | border-radius: .625rem; 9 | 10 | &__top { 11 | content: ""; 12 | position: absolute; 13 | top: -.5rem; 14 | left: 0; 15 | height: 1rem; 16 | width: 100%; 17 | background-color: $concrete-gray; 18 | z-index: 100; 19 | } 20 | 21 | &__bottom { 22 | position: absolute; 23 | top: 80%; 24 | left: 0; 25 | height: 1rem; 26 | width: 100%; 27 | background-color: $concrete-gray; 28 | z-index: 100; 29 | } 30 | } -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/components/QrCode/qr-code.scss: -------------------------------------------------------------------------------- 1 | 2 | .qr-code { 3 | &__video { 4 | height: 100%; 5 | width: 100%; 6 | } 7 | 8 | &__modal { 9 | z-index: 2000; 10 | position: absolute; 11 | top: 100px; 12 | bottom: 100px; 13 | right: 100px; 14 | left: 100px; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/constants/currencyInputErrorTypes.js: -------------------------------------------------------------------------------- 1 | export const INSUFFICIENT_BALANCE = 'Insufficient balance'; 2 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/ducks/app.js: -------------------------------------------------------------------------------- 1 | const DISMISS_BETA_MESSAGE = 'app/app/dismissBetaMessage'; 2 | 3 | const initialState = { 4 | showBetaMessage: true, 5 | }; 6 | 7 | export const dismissBetaMessage = () => ({ type: DISMISS_BETA_MESSAGE }); 8 | 9 | export default function appReducer(state = initialState, { type, payload }) { 10 | switch (type) { 11 | case DISMISS_BETA_MESSAGE: 12 | return { ...state, showBetaMessage: false }; 13 | default: 14 | return state; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/ducks/index.js: -------------------------------------------------------------------------------- 1 | import { combineReducers } from 'redux'; 2 | import addresses from './addresses'; 3 | import app from './app'; 4 | import pending from './pending'; 5 | import web3connect from './web3connect'; 6 | 7 | export default combineReducers({ 8 | app, 9 | addresses, 10 | pending, 11 | web3connect, 12 | }); 13 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/ducks/pending.js: -------------------------------------------------------------------------------- 1 | const ADD_APPROVAL_TX = 'app/send/addApprovalTx'; 2 | 3 | const getInitialState = () => { 4 | return { 5 | approvals: {}, 6 | }; 7 | }; 8 | 9 | export const addApprovalTx = ({ tokenAddress, txId }) => ({ 10 | type: ADD_APPROVAL_TX, 11 | payload: { tokenAddress, txId }, 12 | }); 13 | 14 | export default function sendReducer(state = getInitialState(), { type, payload }) { 15 | switch (type) { 16 | case ADD_APPROVAL_TX: 17 | return { 18 | approvals: { 19 | ...state.approvals, 20 | [payload.tokenAddress]: payload.txId, 21 | } 22 | }; 23 | default: 24 | return state; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/fuse/bitap/bitap_matched_indices.js: -------------------------------------------------------------------------------- 1 | export default function (matchmask = [], minMatchCharLength = 1) { 2 | let matchedIndices = [] 3 | let start = -1 4 | let end = -1 5 | let i = 0 6 | 7 | for (let len = matchmask.length; i < len; i += 1) { 8 | let match = matchmask[i] 9 | if (match && start === -1) { 10 | start = i 11 | } else if (!match && start !== -1) { 12 | end = i - 1 13 | if ((end - start) + 1 >= minMatchCharLength) { 14 | matchedIndices.push([start, end]) 15 | } 16 | start = -1 17 | } 18 | } 19 | 20 | // (i-1 - start) + 1 => i - start 21 | if (matchmask[i - 1] && (i - start) >= minMatchCharLength) { 22 | matchedIndices.push([start, i - 1]) 23 | } 24 | 25 | return matchedIndices 26 | } 27 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/fuse/bitap/bitap_pattern_alphabet.js: -------------------------------------------------------------------------------- 1 | export default function (pattern) { 2 | let mask = {} 3 | let len = pattern.length 4 | 5 | for (let i = 0; i < len; i += 1) { 6 | mask[pattern.charAt(i)] = 0 7 | } 8 | 9 | for (let i = 0; i < len; i += 1) { 10 | mask[pattern.charAt(i)] |= 1 << (len - i - 1) 11 | } 12 | 13 | return mask 14 | } 15 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/fuse/bitap/bitap_regex_search.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line no-unused-escape 2 | const SPECIAL_CHARS_REGEX = /[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g 3 | 4 | export default function (text, pattern, tokenSeparator = / +/g) { 5 | let regex = new RegExp(pattern.replace(SPECIAL_CHARS_REGEX, '\\$&').replace(tokenSeparator, '|')) 6 | let matches = text.match(regex) 7 | let isMatch = !!matches 8 | let matchedIndices = [] 9 | 10 | if (isMatch) { 11 | for (let i = 0, matchesLen = matches.length; i < matchesLen; i += 1) { 12 | let match = matches[i] 13 | matchedIndices.push([text.indexOf(match), match.length - 1]) 14 | } 15 | } 16 | 17 | return { 18 | // TODO: revisit this score 19 | score: isMatch ? 0.5 : 1, 20 | isMatch, 21 | matchedIndices 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/fuse/bitap/bitap_score.js: -------------------------------------------------------------------------------- 1 | export default function (pattern, { errors = 0, currentLocation = 0, expectedLocation = 0, distance = 100 }) { 2 | const accuracy = errors / pattern.length 3 | const proximity = Math.abs(expectedLocation - currentLocation) 4 | 5 | if (!distance) { 6 | // Dodge divide by zero error. 7 | return proximity ? 1.0 : accuracy 8 | } 9 | 10 | return accuracy + (proximity / distance) 11 | } 12 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/fuse/helpers/is_array.js: -------------------------------------------------------------------------------- 1 | module.exports = obj => !Array.isArray ? Object.prototype.toString.call(obj) === '[object Array]' : Array.isArray(obj) 2 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/promise-utils.js: -------------------------------------------------------------------------------- 1 | export function retry(func, retryCount=5) { 2 | return new Promise((resolve, reject) => { 3 | func().then((...args) => { 4 | resolve(...args); 5 | }, () => { 6 | if (retryCount === 0) { 7 | return reject(); 8 | } 9 | setTimeout(() => retry(func, retryCount - 1).then(resolve, reject), 50); 10 | }); 11 | }); 12 | } 13 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/web3-promisfy.js: -------------------------------------------------------------------------------- 1 | export default function promisify(web3, methodName, ...args) { 2 | return new Promise((resolve, reject) => { 3 | if (!web3) { 4 | reject(new Error('No Web3 object')); 5 | return; 6 | } 7 | 8 | const method = web3.eth[methodName]; 9 | 10 | if (!method) { 11 | reject(new Error(`Cannot find web3.eth.${methodName}`)); 12 | return; 13 | } 14 | 15 | method(...args, (error, data) => { 16 | if (error) { 17 | reject(error); 18 | return; 19 | } 20 | 21 | resolve(data); 22 | }) 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/helpers/web3-utils.js: -------------------------------------------------------------------------------- 1 | import promisify from "./web3-promisfy"; 2 | 3 | export function getBlockDeadline(web3, deadline) { 4 | return new Promise(async (resolve, reject) => { 5 | const blockNumber = await promisify(web3, 'getBlockNumber'); 6 | if (!blockNumber && blockNumber !== 0) { 7 | return reject(); 8 | } 9 | 10 | const block = await promisify(web3, 'getBlock', blockNumber); 11 | if (!block) { 12 | return reject(); 13 | } 14 | 15 | resolve(block.timestamp + deadline); 16 | }); 17 | } 18 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import { Provider } from 'react-redux'; 4 | import ReactGA from 'react-ga'; 5 | import './i18n'; 6 | import App from './pages/App'; 7 | import store from './store'; 8 | 9 | import './index.scss'; 10 | 11 | if (process.env.NODE_ENV === 'development') { 12 | // ReactGA.initialize('UA-128182339-02'); 13 | } else { 14 | ReactGA.initialize('UA-128182339-1'); 15 | } 16 | ReactGA.pageview(window.location.pathname + window.location.search); 17 | 18 | window.addEventListener('load', function() { 19 | ReactDOM.render( 20 | 21 | 22 | 23 | , document.getElementById('root') 24 | ); 25 | }); 26 | 27 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/pages/App.scss: -------------------------------------------------------------------------------- 1 | @import "../variables.scss"; 2 | 3 | .app { 4 | &__wrapper { 5 | height: 100%; 6 | position: relative; 7 | margin: auto; 8 | max-width: 560px; 9 | width: 100%; 10 | 11 | & > div { 12 | position: absolute; 13 | width: 100%; 14 | height: 100%; 15 | top: 0; 16 | bottom: 0; 17 | } 18 | } 19 | } 20 | 21 | #app-container { 22 | width: 100vw; 23 | height: 100vh; 24 | 25 | @extend %col-nowrap; 26 | } -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/pages/App.test.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | 5 | it('renders without crashing', () => { 6 | const div = document.createElement('div'); 7 | ReactDOM.render(, div); 8 | ReactDOM.unmountComponentAtNode(div); 9 | }); 10 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/pages/Send/send.scss: -------------------------------------------------------------------------------- 1 | @import "../../variables.scss"; 2 | 3 | .send { 4 | @extend %col-nowrap; 5 | height: 100%; 6 | background-color: $white; 7 | 8 | &__last-summary-text { 9 | margin-top: 1rem; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/store/index.js: -------------------------------------------------------------------------------- 1 | import store from './store.dev'; 2 | 3 | export default store; -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/store/initial-state.js: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/store/store.dev.js: -------------------------------------------------------------------------------- 1 | import { applyMiddleware, compose, createStore } from 'redux'; 2 | import thunk from 'redux-thunk' 3 | import initialState from './initial-state'; 4 | import reducer from '../ducks'; 5 | 6 | const middleware = [thunk]; 7 | const enhancers = []; 8 | const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; 9 | 10 | const store = createStore( 11 | reducer, 12 | initialState, 13 | composeEnhancers( 14 | applyMiddleware(...middleware), 15 | ...enhancers, 16 | ) 17 | ); 18 | 19 | export default store; -------------------------------------------------------------------------------- /src/Apps/Uniswap/src/store/store.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Uniswap/src/store/store.prod.js -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/bolt-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/bolt-white.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/bolt.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/checkbox-blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/checkbox-blank.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/eth-currency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/eth-currency.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/list-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/list-white.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/list.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/radar-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/radar-black.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/radar-r-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/radar-r-white.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/radio-unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/radio-unchecked.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/star-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/star-empty.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/tune-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/tune-white.png -------------------------------------------------------------------------------- /src/Apps/Veil/Assets/tune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/Apps/Veil/Assets/tune.png -------------------------------------------------------------------------------- /src/Main/Screens/Chats/index.js: -------------------------------------------------------------------------------- 1 | import {createStackNavigator} from "react-navigation"; 2 | import ChatScreen from "./ChatScreen"; 3 | import Chat3 from "./Chat3"; 4 | import Chat2 from "./Chat2"; 5 | import Chat from './Chat' 6 | import Icon from "../../../components/IconComponent"; 7 | import React from "react"; 8 | 9 | export default createStackNavigator({ 10 | Chats: { 11 | screen: ChatScreen, 12 | }, 13 | Chat: { 14 | screen: Chat 15 | }, 16 | Chat2: { 17 | screen: Chat2 18 | }, 19 | Chat3: { 20 | screen: Chat3 21 | }, 22 | }, 23 | { 24 | navigationOptions: { 25 | tabBarIcon: ({tintColor}) => , 26 | }, 27 | }); 28 | -------------------------------------------------------------------------------- /src/Main/index.js: -------------------------------------------------------------------------------- 1 | import {createBottomTabNavigator} from "react-navigation"; 2 | import AppsScreen from './Screens/AppsScreen' 3 | import ChatScreen from './Screens/Chats' 4 | // import MyApp from '../Apps/LocalEthereum' 5 | import MyApp from './Screens/Chats/Chat' 6 | import Personal from './Screens/PersonalScreen' 7 | 8 | export default createBottomTabNavigator( 9 | { 10 | // Testing: MyApp, 11 | Chat: ChatScreen, 12 | Apps: AppsScreen, 13 | Personal: Personal 14 | }, 15 | 16 | { 17 | headerMode: 'none', 18 | initialRouteName: 'Apps', 19 | navigationOptions: { 20 | tabBar: false, 21 | }, 22 | tabBarOptions: { 23 | showLabel: false, 24 | style: { 25 | backgroundColor: '#ffffff', 26 | borderTopColor: 'transparent', 27 | }, 28 | }, 29 | }); 30 | -------------------------------------------------------------------------------- /src/assets/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/avatar.png -------------------------------------------------------------------------------- /src/assets/backup-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/backup-icon.png -------------------------------------------------------------------------------- /src/assets/balance-manager-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/balance-manager-avatar.png -------------------------------------------------------------------------------- /src/assets/balance-manager-avatar@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/balance-manager-avatar@2x.png -------------------------------------------------------------------------------- /src/assets/balance-manager-avatar@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/balance-manager-avatar@3x.png -------------------------------------------------------------------------------- /src/assets/balance-manager-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/balance-manager-logo.png -------------------------------------------------------------------------------- /src/assets/balance-manager-logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/balance-manager-logo@2x.png -------------------------------------------------------------------------------- /src/assets/balance-manager-logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/balance-manager-logo@3x.png -------------------------------------------------------------------------------- /src/assets/balance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/balance.png -------------------------------------------------------------------------------- /src/assets/camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/camera.png -------------------------------------------------------------------------------- /src/assets/caret.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/caret.png -------------------------------------------------------------------------------- /src/assets/confirm-menu-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/confirm-menu-alt.png -------------------------------------------------------------------------------- /src/assets/confirm-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/confirm-menu.png -------------------------------------------------------------------------------- /src/assets/currency-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/currency-icon.png -------------------------------------------------------------------------------- /src/assets/dai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/dai.png -------------------------------------------------------------------------------- /src/assets/dropdown-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/dropdown-arrow.png -------------------------------------------------------------------------------- /src/assets/eth-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/eth-icon.png -------------------------------------------------------------------------------- /src/assets/ethereum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/ethereum.png -------------------------------------------------------------------------------- /src/assets/faceid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/faceid.png -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Black.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Black.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-BlackItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-BlackItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Bold.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-BoldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-BoldItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Extralight.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Extralight.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-ExtralightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-ExtralightItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Light.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-LightItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Medium.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-MediumItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-MediumItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Regular.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-RegularItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-RegularItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Semibold.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-SemiboldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-SemiboldItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Super.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Super.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-SuperItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-SuperItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-Thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-Thin.otf -------------------------------------------------------------------------------- /src/assets/fonts/Graphik-ThinItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/Graphik-ThinItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Black.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Black.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-BlackItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-BlackItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Bold.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-BoldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-BoldItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Heavy.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-HeavyItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-HeavyItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Light.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-LightItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Medium.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-MediumItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-MediumItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Regular.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-RegularItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-RegularItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Semibold.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-SemiboldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-SemiboldItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Thin.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-ThinItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-ThinItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-Ultralight.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-Ultralight.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Display-UltralightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Display-UltralightItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-Bold.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-BoldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-BoldItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-Heavy.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-HeavyItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-HeavyItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-Light.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-LightItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-Medium.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-MediumItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-MediumItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-Regular.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-RegularItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-RegularItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-Semibold.otf -------------------------------------------------------------------------------- /src/assets/fonts/SF-Pro-Text-SemiboldItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SF-Pro-Text-SemiboldItalic.otf -------------------------------------------------------------------------------- /src/assets/fonts/SFMono-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SFMono-Bold.otf -------------------------------------------------------------------------------- /src/assets/fonts/SFMono-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SFMono-Heavy.otf -------------------------------------------------------------------------------- /src/assets/fonts/SFMono-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SFMono-Light.otf -------------------------------------------------------------------------------- /src/assets/fonts/SFMono-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SFMono-Medium.otf -------------------------------------------------------------------------------- /src/assets/fonts/SFMono-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SFMono-Regular.otf -------------------------------------------------------------------------------- /src/assets/fonts/SFMono-Semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/fonts/SFMono-Semibold.otf -------------------------------------------------------------------------------- /src/assets/landing-kitty03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/landing-kitty03.png -------------------------------------------------------------------------------- /src/assets/language-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/language-icon.png -------------------------------------------------------------------------------- /src/assets/opensea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/opensea.png -------------------------------------------------------------------------------- /src/assets/person-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/person-icon.png -------------------------------------------------------------------------------- /src/assets/scan-icon-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/scan-icon-alt.png -------------------------------------------------------------------------------- /src/assets/scan-icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/scan-icon@2x.png -------------------------------------------------------------------------------- /src/assets/scan-icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/scan-icon@3x.png -------------------------------------------------------------------------------- /src/assets/security-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/security-icon.png -------------------------------------------------------------------------------- /src/assets/seed-phrase-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/seed-phrase-icon.png -------------------------------------------------------------------------------- /src/assets/seed-phrase-icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/seed-phrase-icon@2x.png -------------------------------------------------------------------------------- /src/assets/seed-phrase-icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/seed-phrase-icon@3x.png -------------------------------------------------------------------------------- /src/assets/send-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/send-background.png -------------------------------------------------------------------------------- /src/assets/send-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/send-button.png -------------------------------------------------------------------------------- /src/assets/settings-icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/settings-icon@2x.png -------------------------------------------------------------------------------- /src/assets/settings-icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/settings-icon@3x.png -------------------------------------------------------------------------------- /src/assets/simulator-fake-camera-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/simulator-fake-camera-image.jpg -------------------------------------------------------------------------------- /src/assets/transaction-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/transaction-button.png -------------------------------------------------------------------------------- /src/assets/wallet-icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/wallet-icon@2x.png -------------------------------------------------------------------------------- /src/assets/wallet-icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/wallet-icon@3x.png -------------------------------------------------------------------------------- /src/assets/walletconnect-logo-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/walletconnect-logo-blue.png -------------------------------------------------------------------------------- /src/assets/walletconnect-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/assets/walletconnect-logo.png -------------------------------------------------------------------------------- /src/components/AppVersionStamp.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import VersionNumber from 'react-native-version-number'; 4 | import { colors } from '../styles'; 5 | import { Monospace } from './text'; 6 | 7 | const AppVersionStamp = ({ color, ...props }) => ( 8 | 15 | {`${VersionNumber.appVersion} (${VersionNumber.buildVersion})`} 16 | 17 | ); 18 | 19 | AppVersionStamp.propTypes = { 20 | color: PropTypes.string, 21 | }; 22 | 23 | export default AppVersionStamp; 24 | -------------------------------------------------------------------------------- /src/components/ImageWithCachedDimensions.js: -------------------------------------------------------------------------------- 1 | import FastImage from 'react-native-fast-image'; 2 | import { compose, withHandlers } from 'recompact'; 3 | import { withImageDimensionsCache } from '../hoc'; 4 | 5 | export default compose( 6 | withImageDimensionsCache, 7 | withHandlers({ 8 | onLoad: ({ 9 | id, 10 | imageDimensionsCache, 11 | onLoad, 12 | updateCache, 13 | }) => event => { 14 | event.persist(); 15 | const { nativeEvent: { height, width } } = event; 16 | 17 | if (!imageDimensionsCache[id]) { 18 | updateCache({ 19 | dimensions: { 20 | height, 21 | isSquare: height === width, 22 | width, 23 | }, 24 | id, 25 | }); 26 | } 27 | 28 | if (onLoad) { 29 | onLoad(event); 30 | } 31 | }, 32 | }), 33 | )(FastImage); 34 | -------------------------------------------------------------------------------- /src/components/QRCodeDisplay.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import QRCode from 'react-native-qrcode-svg'; 4 | import { onlyUpdateForPropTypes } from 'recompact'; 5 | 6 | const QRCodeDisplay = ({ size, value, ...props }) => ( 7 | 12 | ); 13 | 14 | QRCodeDisplay.propTypes = { 15 | size: PropTypes.number, 16 | value: PropTypes.string, 17 | }; 18 | 19 | QRCodeDisplay.defaultProps = { 20 | size: 150, 21 | }; 22 | 23 | export default onlyUpdateForPropTypes(QRCodeDisplay); 24 | -------------------------------------------------------------------------------- /src/components/TouchableBackdrop.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { BorderlessButton } from 'react-native-gesture-handler'; 4 | import { colors, position } from '../styles'; 5 | 6 | const TouchableBackdrop = props => ( 7 | (zIndex)}; 12 | `} 13 | {...props} 14 | /> 15 | ); 16 | 17 | TouchableBackdrop.propTypes = { 18 | zIndex: PropTypes.number, 19 | }; 20 | 21 | TouchableBackdrop.defaultProps = { 22 | zIndex: 0, 23 | }; 24 | 25 | export default TouchableBackdrop; 26 | -------------------------------------------------------------------------------- /src/components/activity-list/ActivityListHeader.js: -------------------------------------------------------------------------------- 1 | import { 2 | compose, 3 | onlyUpdateForKeys, 4 | pickProps, 5 | withProps, 6 | } from 'recompact'; 7 | import { ListHeader } from '../list'; 8 | import { Text } from '../text'; 9 | 10 | const titleRenderer = withProps({ 11 | size: 'large', 12 | weight: 'bold', 13 | })(Text); 14 | 15 | export default compose( 16 | pickProps(Object.keys(ListHeader.propTypes)), 17 | withProps({ 18 | shouldRasterizeIOS: true, 19 | showDivider: false, 20 | titleRenderer, 21 | }), 22 | onlyUpdateForKeys(['title']), 23 | )(ListHeader); 24 | -------------------------------------------------------------------------------- /src/components/activity-list/index.js: -------------------------------------------------------------------------------- 1 | export { default as ActivityList } from './ActivityList'; 2 | export { default as ActivityListHeader } from './ActivityListHeader'; 3 | -------------------------------------------------------------------------------- /src/components/alerts/Alert.js: -------------------------------------------------------------------------------- 1 | import BaseAlert from './BaseAlert'; 2 | 3 | const Alert = (options) => BaseAlert({ 4 | ...options, 5 | type: 'alert', 6 | }); 7 | 8 | export default Alert; 9 | -------------------------------------------------------------------------------- /src/components/alerts/BaseAlert.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import { AlertIOS } from 'react-native'; 3 | 4 | const BaseAlert = ({ 5 | buttons, 6 | callback, 7 | message, 8 | title, 9 | type, 10 | }) => AlertIOS[type](title, message, buttons || callback); 11 | 12 | BaseAlert.propTypes = { 13 | buttons: PropTypes.arrayOf(PropTypes.shape({ 14 | onPress: PropTypes.func, 15 | style: PropTypes.oneOf(['cancel', 'default', 'destructive']), 16 | text: PropTypes.string.isRequired, 17 | })), 18 | callback: PropTypes.func, 19 | message: PropTypes.string, 20 | title: PropTypes.string.isRequired, 21 | type: PropTypes.oneOf(['alert', 'prompt']).isRequired, 22 | }; 23 | 24 | export default BaseAlert; 25 | -------------------------------------------------------------------------------- /src/components/alerts/Prompt.js: -------------------------------------------------------------------------------- 1 | import BaseAlert from './BaseAlert'; 2 | 3 | const Prompt = (options) => BaseAlert({ 4 | ...options, 5 | type: 'prompt', 6 | }); 7 | 8 | export default Prompt; 9 | -------------------------------------------------------------------------------- /src/components/alerts/index.js: -------------------------------------------------------------------------------- 1 | export { default as Alert } from './Alert'; 2 | export { default as Prompt } from './Prompt'; 3 | -------------------------------------------------------------------------------- /src/components/animations/index.js: -------------------------------------------------------------------------------- 1 | export { default as ButtonPressAnimation } from './ButtonPressAnimation'; 2 | export { default as FadeInAnimation } from './FadeInAnimation'; 3 | export { default as SpinAnimation } from './SpinAnimation'; 4 | -------------------------------------------------------------------------------- /src/components/asset-list/AssetListHeader.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import Divider from '../Divider'; 4 | import { Monospace } from '../text'; 5 | import { ListHeader } from '../list'; 6 | 7 | const AssetListHeader = ({ totalValue, ...props }) => ( 8 | 9 | {totalValue ? ( 10 | 11 | {totalValue} 12 | 13 | ) : null} 14 | 15 | ); 16 | 17 | AssetListHeader.propTypes = { 18 | totalValue: PropTypes.string, 19 | }; 20 | 21 | AssetListHeader.height = ListHeader.height + Divider.size; 22 | 23 | export default AssetListHeader; 24 | -------------------------------------------------------------------------------- /src/components/asset-list/AssetListItem.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import styled from 'styled-components/primitives'; 4 | 5 | const Container = styled.Text` 6 | 7 | `; 8 | 9 | const AssetListItem = ({ item }) => ((typeof item === 'string') ? ({item}) : null); 10 | 11 | AssetListItem.propTypes = { 12 | item: PropTypes.object, 13 | }; 14 | 15 | export default AssetListItem; 16 | -------------------------------------------------------------------------------- /src/components/asset-list/index.js: -------------------------------------------------------------------------------- 1 | export { default as AssetList } from './AssetList'; 2 | export { default as AssetListHeader } from './AssetListHeader'; 3 | export { default as AssetListItem } from './AssetListItem'; 4 | -------------------------------------------------------------------------------- /src/components/badge/index.js: -------------------------------------------------------------------------------- 1 | export { default as Badge } from './Badge'; 2 | -------------------------------------------------------------------------------- /src/components/bubble-sheet/BubbleSheet.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { colors, shadow } from '../../styles'; 3 | import { Column } from '../layout'; 4 | 5 | const BubbleSheetBorderRadius = 30; 6 | 7 | const BubbleSheet = (props) => ( 8 | 22 | ); 23 | 24 | BubbleSheet.borderRadius = BubbleSheetBorderRadius; 25 | 26 | export default BubbleSheet; 27 | -------------------------------------------------------------------------------- /src/components/bubble-sheet/index.js: -------------------------------------------------------------------------------- 1 | export { default as BubbleSheet } from './BubbleSheet'; 2 | -------------------------------------------------------------------------------- /src/components/buttons/index.js: -------------------------------------------------------------------------------- 1 | export { default as BlockButton } from './BlockButton'; 2 | export { default as Button } from './Button'; 3 | export { default as LongPressButton } from './LongPressButton'; 4 | -------------------------------------------------------------------------------- /src/components/coin-icon/index.js: -------------------------------------------------------------------------------- 1 | export { default as CoinIcon } from './CoinIcon'; 2 | export { default as RequestCoinIcon } from './RequestCoinIcon'; 3 | export { default as RequestVendorLogoIcon } from './RequestVendorLogoIcon'; 4 | -------------------------------------------------------------------------------- /src/components/coin-row/BalanceText.js: -------------------------------------------------------------------------------- 1 | import { withProps } from 'recompact'; 2 | import { Monospace } from '../text'; 3 | 4 | export default withProps(({ color }) => ({ 5 | color: color || 'blueGreyDark', 6 | size: 'lmedium', 7 | }))(Monospace); 8 | -------------------------------------------------------------------------------- /src/components/coin-row/BottomRowText.js: -------------------------------------------------------------------------------- 1 | import { withProps } from 'recompact'; 2 | import { colors } from '../../styles'; 3 | import { Monospace } from '../text'; 4 | 5 | export default withProps(({ color }) => ({ 6 | color: color || colors.blueGreyLight, 7 | size: 'smedium', 8 | }))(Monospace); 9 | -------------------------------------------------------------------------------- /src/components/coin-row/CoinName.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { TruncatedText } from '../text'; 4 | 5 | const CoinName = ({ paddingRight, ...props }) => ( 6 | 12 | ); 13 | 14 | CoinName.propTypes = { 15 | paddingRight: PropTypes.number, 16 | }; 17 | 18 | CoinName.defaultProps = { 19 | paddingRight: 19, 20 | }; 21 | 22 | export default CoinName; 23 | -------------------------------------------------------------------------------- /src/components/coin-row/index.js: -------------------------------------------------------------------------------- 1 | export { default as BalanceCoinRow } from './BalanceCoinRow'; 2 | export { default as BottomRowText } from './BottomRowText'; 3 | export { default as CoinRow } from './CoinRow'; 4 | export { default as RequestCoinRow } from './RequestCoinRow'; 5 | export { default as TransactionCoinRow } from './TransactionCoinRow'; 6 | export { default as SendCoinRow } from './SendCoinRow'; 7 | -------------------------------------------------------------------------------- /src/components/expanded-state/FloatingPanels.js: -------------------------------------------------------------------------------- 1 | import { compose, setDisplayName, withProps } from 'recompact'; 2 | import { ColumnWithMargins } from '../layout'; 3 | 4 | export default compose( 5 | setDisplayName('FloatingPanels'), 6 | withProps({ 7 | margin: 20, 8 | style: { width: '100%' }, 9 | }), 10 | )(ColumnWithMargins); 11 | -------------------------------------------------------------------------------- /src/components/expanded-state/asset-panel/AssetPanel.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React, { Children, Fragment } from 'react'; 3 | import Divider from '../../Divider'; 4 | import FloatingPanel from '../FloatingPanel'; 5 | 6 | const AssetPanel = ({ children, ...props }) => ( 7 | 8 | {Children.map(children, (child, index) => ( 9 | 10 | {child} 11 | {(index < children.length - 1) && } 12 | 13 | ))} 14 | 15 | ); 16 | 17 | AssetPanel.propTypes = { 18 | children: PropTypes.node, 19 | }; 20 | 21 | export default AssetPanel; 22 | -------------------------------------------------------------------------------- /src/components/expanded-state/asset-panel/index.js: -------------------------------------------------------------------------------- 1 | export { default as AssetPanel } from './AssetPanel'; 2 | export { default as AssetPanelAction } from './AssetPanelAction'; 3 | export { default as AssetPanelInput } from './AssetPanelInput'; 4 | export { default as AssetPanelHeader } from './AssetPanelHeader'; 5 | -------------------------------------------------------------------------------- /src/components/expanded-state/index.js: -------------------------------------------------------------------------------- 1 | export { default as FloatingPanel } from './FloatingPanel'; 2 | export { default as FloatingPanels } from './FloatingPanels'; 3 | export { default as TokenExpandedState } from './TokenExpandedState'; 4 | export { default as UniqueTokenExpandedState } from './UniqueTokenExpandedState'; 5 | -------------------------------------------------------------------------------- /src/components/fab/index.js: -------------------------------------------------------------------------------- 1 | export { default as FabWrapper } from './FabWrapper'; 2 | export { default as FloatingActionButton } from './FloatingActionButton'; 3 | export { default as SendFab } from './SendFab'; 4 | -------------------------------------------------------------------------------- /src/components/fields/index.js: -------------------------------------------------------------------------------- 1 | export { default as AddressField } from './AddressField'; 2 | export { default as UnderlineField } from './UnderlineField'; 3 | -------------------------------------------------------------------------------- /src/components/header/index.js: -------------------------------------------------------------------------------- 1 | export { default as BackButton } from './BackButton'; 2 | export { default as CameraHeaderButton } from './CameraHeaderButton'; 3 | export { default as Header } from './Header'; 4 | export { default as HeaderButton } from './HeaderButton'; 5 | export { default as ProfileHeaderButton } from './ProfileHeaderButton'; 6 | -------------------------------------------------------------------------------- /src/components/html-entities/Nbsp.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text } from 'react-primitives'; 3 | 4 | const Nbsp = props =>  ; 5 | export default Nbsp; 6 | -------------------------------------------------------------------------------- /src/components/html-entities/index.js: -------------------------------------------------------------------------------- 1 | export { default as Nbsp } from './Nbsp'; 2 | -------------------------------------------------------------------------------- /src/components/icons/Svg.js: -------------------------------------------------------------------------------- 1 | import { compose, mapProps, omitProps } from 'recompact'; 2 | import Svg from 'svgs'; 3 | import { reduceStylesArrayToObject } from '../../utils'; 4 | 5 | const BlacklistedSVGProps = ['direction']; 6 | 7 | export default compose( 8 | omitProps(...BlacklistedSVGProps), 9 | mapProps(({ style, ...props }) => ({ 10 | ...props, 11 | style: reduceStylesArrayToObject(style), 12 | })), 13 | )(Svg); 14 | -------------------------------------------------------------------------------- /src/components/icons/index.js: -------------------------------------------------------------------------------- 1 | export { default as Icon } from './Icon'; 2 | export { default as Svg } from './Svg'; 3 | -------------------------------------------------------------------------------- /src/components/icons/svg/CheckmarkIcon.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { Path } from 'svgs'; 4 | import { colors } from '../../../styles'; 5 | import Svg from '../Svg'; 6 | 7 | const CheckmarkIcon = ({ color, ...props }) => ( 8 | 9 | 14 | 15 | ); 16 | 17 | CheckmarkIcon.propTypes = { 18 | color: PropTypes.string, 19 | }; 20 | 21 | CheckmarkIcon.defaultProps = { 22 | color: colors.black, 23 | }; 24 | 25 | export default CheckmarkIcon; 26 | -------------------------------------------------------------------------------- /src/components/icons/svg/DotIcon.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { Circle } from 'svgs'; 4 | import { colors } from '../../../styles'; 5 | import Svg from '../Svg'; 6 | 7 | const DotIcon = ({ color, ...props }) => ( 8 | 9 | 15 | 16 | ); 17 | 18 | DotIcon.propTypes = { 19 | color: PropTypes.string, 20 | }; 21 | 22 | DotIcon.defaultProps = { 23 | color: colors.black, 24 | }; 25 | 26 | export default DotIcon; 27 | -------------------------------------------------------------------------------- /src/components/icons/svg/SpinnerIcon.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { Path } from 'svgs'; 4 | import { colors } from '../../../styles'; 5 | import { SpinAnimation } from '../../animations'; 6 | import Svg from '../Svg'; 7 | 8 | const SpinnerIcon = ({ color, size, ...props }) => ( 9 | 10 | 14 | 18 | 19 | 20 | ); 21 | 22 | SpinnerIcon.propTypes = { 23 | color: PropTypes.string, 24 | size: PropTypes.number, 25 | }; 26 | 27 | SpinnerIcon.defaultProps = { 28 | color: colors.blue, 29 | size: 12, 30 | }; 31 | 32 | export default SpinnerIcon; 33 | -------------------------------------------------------------------------------- /src/components/icons/svg/ThreeDotsIcon.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { Circle, G } from 'svgs'; 4 | import { colors } from '../../../styles'; 5 | import Svg from '../Svg'; 6 | 7 | const ThreeDotsIcon = ({ color, ...props }) => ( 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ); 16 | 17 | ThreeDotsIcon.propTypes = { 18 | color: PropTypes.string, 19 | }; 20 | 21 | ThreeDotsIcon.defaultProps = { 22 | color: colors.grey, 23 | }; 24 | 25 | export default ThreeDotsIcon; 26 | -------------------------------------------------------------------------------- /src/components/icons/svg/WarningIcon.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { Path } from 'svgs'; 4 | import { colors } from '../../../styles'; 5 | import Svg from '../Svg'; 6 | 7 | const WarningIcon = ({ color, ...props }) => ( 8 | 9 | 14 | 15 | ); 16 | 17 | WarningIcon.propTypes = { 18 | color: PropTypes.string, 19 | }; 20 | 21 | WarningIcon.defaultProps = { 22 | color: colors.black, 23 | }; 24 | 25 | export default WarningIcon; 26 | -------------------------------------------------------------------------------- /src/components/inputs/MultiLineInput.js: -------------------------------------------------------------------------------- 1 | import { compose, setDisplayName, withProps } from 'recompact'; 2 | import Input from './Input'; 3 | 4 | export default compose( 5 | setDisplayName('MultiLineInput'), 6 | withProps({ 7 | lineHeight: 'loosest', 8 | multiline: true, 9 | }), 10 | )(Input); 11 | -------------------------------------------------------------------------------- /src/components/inputs/index.js: -------------------------------------------------------------------------------- 1 | export { default as Input } from './Input'; 2 | export { default as MultiLineInput } from './MultiLineInput'; 3 | -------------------------------------------------------------------------------- /src/components/labels/index.js: -------------------------------------------------------------------------------- 1 | export { default as PillLabel } from './PillLabel'; 2 | -------------------------------------------------------------------------------- /src/components/layout/Centered.js: -------------------------------------------------------------------------------- 1 | import { compose, setDisplayName, withProps } from 'recompact'; 2 | import Flex from './Flex'; 3 | 4 | export default compose( 5 | setDisplayName('Centered'), 6 | withProps({ align: 'center', justify: 'center' }), 7 | )(Flex); 8 | -------------------------------------------------------------------------------- /src/components/layout/Column.js: -------------------------------------------------------------------------------- 1 | import { compose, setDisplayName, withProps } from 'recompact'; 2 | import Flex from './Flex'; 3 | 4 | export default compose( 5 | setDisplayName('Column'), 6 | withProps({ direction: 'column' }), 7 | )(Flex); 8 | -------------------------------------------------------------------------------- /src/components/layout/ColumnWithMargins.js: -------------------------------------------------------------------------------- 1 | import { 2 | compose, 3 | defaultProps, 4 | setDisplayName, 5 | withProps, 6 | } from 'recompact'; 7 | import LayoutWithMargins from './LayoutWithMargins'; 8 | 9 | export default compose( 10 | setDisplayName('ColumnWithMargins'), 11 | defaultProps({ margin: 20 }), 12 | withProps({ 13 | direction: 'column', 14 | marginKey: 'marginBottom', 15 | }), 16 | )(LayoutWithMargins); 17 | -------------------------------------------------------------------------------- /src/components/layout/FlexItem.js: -------------------------------------------------------------------------------- 1 | import { isUndefined } from 'lodash'; 2 | import PropTypes from 'prop-types'; 3 | import React from 'react'; 4 | import { View } from 'react-primitives'; 5 | import stylePropType from 'react-style-proptype'; 6 | 7 | const FlexItem = ({ 8 | flex, 9 | grow, 10 | shrink, 11 | style, 12 | ...props 13 | }) => ( 14 | 22 | ); 23 | 24 | FlexItem.propTypes = { 25 | flex: PropTypes.number, 26 | grow: PropTypes.number, 27 | shrink: PropTypes.number, 28 | style: stylePropType, 29 | }; 30 | 31 | export default FlexItem; 32 | -------------------------------------------------------------------------------- /src/components/layout/LayoutWithMargins.js: -------------------------------------------------------------------------------- 1 | import { get } from 'lodash'; 2 | import PropTypes from 'prop-types'; 3 | import React, { Children, cloneElement } from 'react'; 4 | import Flex from './Flex'; 5 | 6 | const LayoutWithMargins = ({ 7 | children, 8 | margin, 9 | marginKey, 10 | ...props 11 | }) => ( 12 | 13 | {Children.map(children, (child, index) => ( 14 | cloneElement(child, { 15 | style: { 16 | ...get(child, 'props.style', {}), 17 | [marginKey]: (index < children.length - 1) ? margin : 0, 18 | }, 19 | })))} 20 | 21 | ); 22 | 23 | LayoutWithMargins.propTypes = { 24 | children: PropTypes.node, 25 | margin: PropTypes.number.isRequired, 26 | marginKey: PropTypes.string.isRequired, 27 | }; 28 | 29 | export default LayoutWithMargins; 30 | -------------------------------------------------------------------------------- /src/components/layout/Row.js: -------------------------------------------------------------------------------- 1 | import { compose, setDisplayName, withProps } from 'recompact'; 2 | import Flex from './Flex'; 3 | 4 | export default compose( 5 | setDisplayName('Row'), 6 | withProps({ direction: 'row' }), 7 | )(Flex); 8 | -------------------------------------------------------------------------------- /src/components/layout/RowWithMargins.js: -------------------------------------------------------------------------------- 1 | import { 2 | compose, 3 | defaultProps, 4 | setDisplayName, 5 | withProps, 6 | } from 'recompact'; 7 | import LayoutWithMargins from './LayoutWithMargins'; 8 | 9 | export default compose( 10 | setDisplayName('RowWithMargins'), 11 | defaultProps({ 12 | margin: 19, 13 | marginKey: 'marginRight', 14 | }), 15 | withProps({ direction: 'row' }), 16 | )(LayoutWithMargins); 17 | -------------------------------------------------------------------------------- /src/components/layout/index.js: -------------------------------------------------------------------------------- 1 | export { default as Centered } from './Centered'; 2 | export { default as Column } from './Column'; 3 | export { default as ColumnWithMargins } from './ColumnWithMargins'; 4 | export { default as Flex } from './Flex'; 5 | export { default as FlexItem } from './FlexItem'; 6 | export { default as FlyInView } from './FlyInView'; 7 | export { default as LayoutWithMargins } from './LayoutWithMargins'; 8 | export { default as Page } from './Page'; 9 | export { default as Row } from './Row'; 10 | export { default as RowWithMargins } from './RowWithMargins'; 11 | -------------------------------------------------------------------------------- /src/components/list/ListFooter.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import styled from 'styled-components/primitives'; 3 | import { colors } from '../../styles'; 4 | 5 | const ListFooterHeight = 27; 6 | 7 | const Spacer = styled.View` 8 | background-color: ${colors.white}; 9 | height: ${ListFooterHeight}; 10 | width: 100%; 11 | `; 12 | 13 | const ListFooter = () => ; 14 | 15 | ListFooter.height = ListFooterHeight; 16 | 17 | export default ListFooter; 18 | -------------------------------------------------------------------------------- /src/components/list/ListItemArrowGroup.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { pure } from 'recompact'; 4 | import { colors } from '../../styles'; 5 | import { Icon } from '../icons'; 6 | import { Row } from '../layout'; 7 | import { Text } from '../text'; 8 | 9 | const ListItemArrowGroup = ({ children }) => ( 10 | 11 | 12 | {children} 13 | 14 | 19 | 20 | ); 21 | 22 | ListItemArrowGroup.propTypes = { 23 | children: PropTypes.node, 24 | }; 25 | 26 | export default pure(ListItemArrowGroup); 27 | -------------------------------------------------------------------------------- /src/components/list/ListItemDivider.js: -------------------------------------------------------------------------------- 1 | import { PropTypes } from 'prop-types'; 2 | import React from 'react'; 3 | import Divider from '../Divider'; 4 | 5 | const ListItemDivider = ({ inset }) => ; 6 | 7 | ListItemDivider.propTypes = { 8 | inset: PropTypes.number, 9 | }; 10 | 11 | ListItemDivider.defaultProps = { 12 | inset: 16, 13 | }; 14 | 15 | export default ListItemDivider; 16 | -------------------------------------------------------------------------------- /src/components/list/index.js: -------------------------------------------------------------------------------- 1 | export { default as List } from './List'; 2 | export { default as ListFooter } from './ListFooter'; 3 | export { default as ListHeader } from './ListHeader'; 4 | export { default as ListItem } from './ListItem'; 5 | export { default as ListItemArrowGroup} from './ListItemArrowGroup'; 6 | export { default as ListItemDivider } from './ListItemDivider'; 7 | export { default as SectionList } from './SectionList'; 8 | -------------------------------------------------------------------------------- /src/components/modal/ModalFooterButtonsRow.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React, { Children, Fragment } from 'react'; 3 | import styled from 'styled-components'; 4 | import { colors } from '../../styles'; 5 | import { Row } from '../layout'; 6 | import Divider from '../Divider'; 7 | 8 | const Container = styled(Row)` 9 | border-top-color: ${colors.rowDivider}; 10 | border-top-width: 2; 11 | `; 12 | 13 | const ModalFooterButtonsRow = ({ children, ...props }) => ( 14 | 15 | {Children.map(children, (child, index) => ( 16 | 17 | {child} 18 | {(index < children.length - 1) && } 19 | 20 | ))} 21 | 22 | ); 23 | 24 | ModalFooterButtonsRow.propTypes = { 25 | children: PropTypes.node, 26 | }; 27 | 28 | export default ModalFooterButtonsRow; 29 | -------------------------------------------------------------------------------- /src/components/modal/index.js: -------------------------------------------------------------------------------- 1 | export { default as LoadingOverlay } from './LoadingOverlay'; 2 | export { default as Modal } from './Modal'; 3 | export { default as ModalFooterButton } from './ModalFooterButton'; 4 | export { default as ModalFooterButtonsRow } from './ModalFooterButtonsRow'; 5 | export { default as ModalHeader } from './ModalHeader'; 6 | export { default as ModalHeaderButton } from './ModalHeaderButton'; 7 | -------------------------------------------------------------------------------- /src/components/pager/AnimatedPagerItem.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { Animated, StyleSheet } from 'react-native'; 4 | import { position } from '../../styles'; 5 | import { FlexItem } from '../layout'; 6 | 7 | const styles = StyleSheet.create({ 8 | item: { 9 | ...position.coverAsObject, 10 | overflow: 'hidden', 11 | }, 12 | }); 13 | 14 | const AnimatedPagerItem = ({ children, translateX, ...props }) => ( 15 | 19 | 20 | {children} 21 | 22 | 23 | ); 24 | 25 | AnimatedPagerItem.propTypes = { 26 | children: PropTypes.node, 27 | translateX: PropTypes.object.isRequired, 28 | }; 29 | 30 | export default AnimatedPagerItem; 31 | -------------------------------------------------------------------------------- /src/components/pager/PagerItem.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React, { cloneElement } from 'react'; 3 | import { View } from 'react-primitives'; 4 | import { dimensionsPropType } from '../../utils'; 5 | 6 | export const pagerPagePropType = PropTypes.shape({ 7 | component: PropTypes.node.isRequired, 8 | dimensions: dimensionsPropType, 9 | name: PropTypes.string.isRequired, 10 | }); 11 | 12 | const PagerItem = ({ item: { component, dimensions } }) => ( 13 | 14 | {cloneElement(component, { dimensions })} 15 | 16 | ); 17 | 18 | PagerItem.propTypes = { 19 | item: pagerPagePropType, 20 | }; 21 | 22 | export default PagerItem; 23 | -------------------------------------------------------------------------------- /src/components/pager/index.js: -------------------------------------------------------------------------------- 1 | export { default as AnimatedPager } from './AnimatedPager'; 2 | export { default as Pager } from './Pager'; 3 | export { default as PagerControls } from './PagerControls'; 4 | -------------------------------------------------------------------------------- /src/components/profile/index.js: -------------------------------------------------------------------------------- 1 | export { default as ProfileAction } from './ProfileAction'; 2 | export { default as ProfileMasthead } from './ProfileMasthead'; 3 | -------------------------------------------------------------------------------- /src/components/qrcode-scanner/index.js: -------------------------------------------------------------------------------- 1 | export { default as QRCodeScanner } from './QRCodeScanner'; 2 | export { default as QRCodeScannerCamera } from './QRCodeScannerCamera'; 3 | export { default as QRCodeScannerCrosshair } from './QRCodeScannerCrosshair'; 4 | export { default as QRCodeScannerNeedsAuthorization } from './QRCodeScannerNeedsAuthorization'; 5 | -------------------------------------------------------------------------------- /src/components/radio-list/index.js: -------------------------------------------------------------------------------- 1 | export { default as RadioList } from './RadioList'; 2 | export { default as RadioListItem } from './RadioListItem'; 3 | -------------------------------------------------------------------------------- /src/components/settings-menu/index.js: -------------------------------------------------------------------------------- 1 | export { default as BackupSection } from './BackupSection'; 2 | export { default as CurrencySection } from './CurrencySection'; 3 | export { default as LanguageSection } from './LanguageSection'; 4 | export { default as SettingsSection } from './SettingsSection'; 5 | -------------------------------------------------------------------------------- /src/components/shadow-stack/ShadowItem.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { View } from 'react-native'; 4 | import { pure } from 'recompact'; 5 | import { colors, position, shadow as shadowUtil } from '../../styles'; 6 | 7 | const ShadowItem = ({ backgroundColor, shadow, ...props }) => ( 8 | 17 | ); 18 | 19 | ShadowItem.propTypes = { 20 | backgroundColor: PropTypes.string, 21 | height: PropTypes.number, 22 | shadow: PropTypes.string, 23 | width: PropTypes.number, 24 | }; 25 | 26 | export default pure(ShadowItem); 27 | -------------------------------------------------------------------------------- /src/components/shadow-stack/index.js: -------------------------------------------------------------------------------- 1 | export { default as ShadowStack } from './ShadowStack'; 2 | export { default as ShadowItem } from './ShadowItem'; 3 | -------------------------------------------------------------------------------- /src/components/text/Br.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text } from 'react-primitives'; 3 | 4 | const Br = props => {'\n'}; 5 | export default Br; 6 | -------------------------------------------------------------------------------- /src/components/text/Emoji.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import EmojiRenderer from 'react-native-emoji'; 4 | import { fonts } from '../../styles'; 5 | 6 | const Emoji = ({ lineHeight, size, ...props }) => ( 7 | 14 | ); 15 | 16 | Emoji.propTypes = { 17 | lineHeight: PropTypes.oneOf(Object.keys(fonts.lineHeight)), 18 | size: PropTypes.oneOf(Object.keys(fonts.size)), 19 | }; 20 | 21 | Emoji.defaultProps = { 22 | lineHeight: 'none', 23 | size: 'h4', 24 | }; 25 | 26 | export default Emoji; 27 | -------------------------------------------------------------------------------- /src/components/text/H1.js: -------------------------------------------------------------------------------- 1 | import { withProps } from 'recompact'; 2 | import Text from './Text'; 3 | 4 | export default withProps({ size: 'h4', weight: 'bold' })(Text); 5 | -------------------------------------------------------------------------------- /src/components/text/Monospace.js: -------------------------------------------------------------------------------- 1 | import { withProps } from 'recompact'; 2 | import Text from './Text'; 3 | 4 | export default withProps({ family: 'SFMono' })(Text); 5 | -------------------------------------------------------------------------------- /src/components/text/Smallcaps.js: -------------------------------------------------------------------------------- 1 | import { withProps } from 'recompact'; 2 | import Text from './Text'; 3 | 4 | export default withProps({ 5 | color: 'blueGreyMedium', 6 | letterSpacing: 'loose', 7 | size: 'smaller', 8 | textTransform: 'uppercase', 9 | weight: 'semibold', 10 | })(Text); 11 | -------------------------------------------------------------------------------- /src/components/text/Text.js: -------------------------------------------------------------------------------- 1 | import { withProps } from 'recompact'; 2 | import styled from 'styled-components/primitives'; 3 | import { buildTextStyles } from '../../styles'; 4 | 5 | const Text = styled.Text` 6 | ${buildTextStyles} 7 | `; 8 | 9 | export default withProps({ allowFontScaling: false })(Text); 10 | -------------------------------------------------------------------------------- /src/components/text/TruncatedAddress.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import React from 'react'; 3 | import { abbreviations } from '../../utils'; 4 | import Monospace from './Monospace'; 5 | 6 | const TruncatedAddress = ({ 7 | address, 8 | firstSectionLength, 9 | truncationLength, 10 | ...props 11 | }) => ( 12 | 18 | {address 19 | ? abbreviations.address(address, truncationLength, firstSectionLength) 20 | : 'Error displaying address' 21 | } 22 | 23 | ); 24 | 25 | TruncatedAddress.propTypes = { 26 | address: PropTypes.string, 27 | firstSectionLength: PropTypes.number, 28 | truncationLength: PropTypes.number, 29 | }; 30 | 31 | export default TruncatedAddress; 32 | -------------------------------------------------------------------------------- /src/components/text/TruncatedText.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | import { createElement } from 'react'; 3 | import Text from './Text'; 4 | 5 | const TruncatedText = ({ component, ...props }) => createElement(component, props); 6 | 7 | TruncatedText.propTypes = { 8 | component: PropTypes.func, 9 | ellipsizeMode: PropTypes.oneOf(['clip', 'head', 'middle', 'tail']), 10 | numberOfLines: PropTypes.number, 11 | }; 12 | 13 | TruncatedText.defaultProps = { 14 | component: Text, 15 | ellipsizeMode: 'tail', 16 | numberOfLines: 1, 17 | }; 18 | 19 | export default TruncatedText; 20 | -------------------------------------------------------------------------------- /src/components/text/index.js: -------------------------------------------------------------------------------- 1 | export { default as Br } from './Br'; 2 | export { default as Emoji } from './Emoji'; 3 | export { default as ErrorText } from './ErrorText'; 4 | export { default as H1 } from './H1'; 5 | export { default as Monospace } from './Monospace'; 6 | export { default as Smallcaps } from './Smallcaps'; 7 | export { default as Text } from './Text'; 8 | export { default as TruncatedAddress } from './TruncatedAddress'; 9 | export { default as TruncatedText } from './TruncatedText'; 10 | -------------------------------------------------------------------------------- /src/components/unique-token/index.js: -------------------------------------------------------------------------------- 1 | export { default as UniqueTokenAttributes } from './UniqueTokenAttributes'; 2 | export { default as UniqueTokenCard } from './UniqueTokenCard'; 3 | export { default as UniqueTokenImage } from './UniqueTokenImage'; 4 | export { default as UniqueTokenRow } from './UniqueTokenRow'; 5 | -------------------------------------------------------------------------------- /src/components/walletconnect-list/index.js: -------------------------------------------------------------------------------- 1 | export { default as WalletConnectExplainer } from './WalletConnectExplainer'; 2 | export { default as WalletConnectExplainerItem } from './WalletConnectExplainerItem'; 3 | export { default as WalletConnectLearnMoreButton } from './WalletConnectLearnMoreButton'; 4 | export { default as WalletConnectList } from './WalletConnectList'; 5 | export { default as WalletConnectListItem } from './WalletConnectListItem'; 6 | -------------------------------------------------------------------------------- /src/helpers/assets.js: -------------------------------------------------------------------------------- 1 | export const buildUniqueTokenList = (uniqueTokensAssets) => { 2 | const list = []; 3 | 4 | for (let i = 0; i < uniqueTokensAssets.length; i += 2) { 5 | list.push([uniqueTokensAssets[i], uniqueTokensAssets[i + 1]]); 6 | } 7 | 8 | return list; 9 | }; 10 | 11 | export const buildUniqueTokenName = ({ asset_contract, id, name }) => ( 12 | name || `${asset_contract.name} #${id}` 13 | ); 14 | -------------------------------------------------------------------------------- /src/helpers/transactionStatusTypes.js: -------------------------------------------------------------------------------- 1 | export default { 2 | failed: 'failed', 3 | received: 'received', 4 | receiving: 'receiving', 5 | self: 'self', 6 | sending: 'sending', 7 | sent: 'sent', 8 | }; 9 | -------------------------------------------------------------------------------- /src/hoc/withAccountAddress.js: -------------------------------------------------------------------------------- 1 | import { settingsUpdateAccountAddress } from 'balance-common'; 2 | import { connect } from 'react-redux'; 3 | import { compose, withProps } from 'recompose'; 4 | import { createSelector } from 'reselect'; 5 | 6 | const mapStateToProps = ({ settings: { accountAddress } }) => ({ accountAddress }); 7 | 8 | const accountAddressSelector = state => state.accountAddress; 9 | 10 | const lowerAccountAddressSelector = createSelector( 11 | [accountAddressSelector], 12 | (accountAddress) => ({ accountAddress: accountAddress.toLowerCase() }), 13 | ); 14 | 15 | export default Component => compose( 16 | connect(mapStateToProps, { settingsUpdateAccountAddress }), 17 | withProps(lowerAccountAddressSelector), 18 | )(Component); 19 | -------------------------------------------------------------------------------- /src/hoc/withAccountRefresh.js: -------------------------------------------------------------------------------- 1 | import { assetsRefreshState, transactionsRefreshState } from 'balance-common'; 2 | import { connect } from 'react-redux'; 3 | import { compose, withHandlers } from 'recompact'; 4 | 5 | export default Component => compose( 6 | connect(null, { assetsRefreshState, transactionsRefreshState }), 7 | withHandlers({ 8 | refreshAccount: (ownProps) => async () => { 9 | try { 10 | await ownProps.assetsRefreshState(); 11 | await ownProps.transactionsRefreshState(); 12 | } catch (error) { 13 | // TODO more granular error messaging depending on offline status 14 | } 15 | }, 16 | }), 17 | )(Component); 18 | -------------------------------------------------------------------------------- /src/hoc/withAccountReset.js: -------------------------------------------------------------------------------- 1 | import { accountClearState } from 'balance-common'; 2 | import { connect } from 'react-redux'; 3 | import { compose } from 'recompact'; 4 | 5 | export default Component => compose( 6 | connect(null, { accountClearState }), 7 | )(Component); 8 | -------------------------------------------------------------------------------- /src/hoc/withAccountTransactions.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { compose, withProps } from 'recompact'; 3 | import { createSelector } from 'reselect'; 4 | 5 | const transactionsSelector = state => state.transactions; 6 | 7 | const mapStateToProps = ({ 8 | transactions: { 9 | hasPendingTransaction, 10 | transactions, 11 | }, 12 | }) => ({ 13 | hasPendingTransaction, 14 | transactions, 15 | }); 16 | 17 | const transactionsCountSelector = createSelector( 18 | [transactionsSelector], 19 | (transactions) => ({ transactionsCount: transactions.length }), 20 | ); 21 | 22 | export default Component => compose( 23 | connect(mapStateToProps), 24 | withProps(transactionsCountSelector), 25 | )(Component); 26 | -------------------------------------------------------------------------------- /src/hoc/withActionSheetManager.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { setIsActionSheetOpen } from '../redux/actionSheetManager'; 3 | 4 | const mapStateToProps = ({ actionSheetManager: { isActionSheetOpen } }) => ({ isActionSheetOpen }); 5 | 6 | export default Component => connect(mapStateToProps, { setIsActionSheetOpen })(Component); 7 | -------------------------------------------------------------------------------- /src/hoc/withAddWalletConnector.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { addWalletConnector } from '../redux/walletconnect'; 3 | 4 | export default Component => connect(null, { addWalletConnector })(Component); 5 | -------------------------------------------------------------------------------- /src/hoc/withFetchingPrices.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | 3 | const mapStateToProps = ({ prices: { fetchingPrices } }) => ({ fetchingPrices }); 4 | 5 | export default Component => connect(mapStateToProps)(Component); 6 | -------------------------------------------------------------------------------- /src/hoc/withHideSplashScreen.js: -------------------------------------------------------------------------------- 1 | import SplashScreen from 'react-native-splash-screen'; 2 | import { withProps } from 'recompact'; 3 | 4 | export default Component => withProps({ 5 | onHideSplashScreen: () => SplashScreen.hide(), 6 | })(Component); 7 | -------------------------------------------------------------------------------- /src/hoc/withImageDimensionsCache.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { 3 | pruneImageDimensionsCache, 4 | updateImageDimensionsCache, 5 | } from '../redux/imageDimensionsCache'; 6 | 7 | const mapStateToProps = ({ imageDimensionsCache }) => ({ imageDimensionsCache }); 8 | 9 | export default Component => connect(mapStateToProps, { 10 | pruneCache: pruneImageDimensionsCache, 11 | updateCache: updateImageDimensionsCache, 12 | })(Component); 13 | -------------------------------------------------------------------------------- /src/hoc/withIsWalletEmpty.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { setIsWalletEmpty } from '../redux/isWalletEmpty'; 3 | 4 | const mapStateToProps = ({ isWalletEmpty }) => isWalletEmpty; 5 | 6 | export default Component => connect(mapStateToProps, { setIsWalletEmpty })(Component); 7 | -------------------------------------------------------------------------------- /src/hoc/withMessageSigningScreen.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { removeTransaction } from '../redux/transactionsToApprove'; 3 | 4 | const mapStateToProps = ({ 5 | walletconnect: { walletConnectors }, 6 | }) => ({ 7 | walletConnectors, 8 | }); 9 | 10 | export default Component => connect(mapStateToProps, { 11 | removeTransaction, 12 | })(Component); 13 | -------------------------------------------------------------------------------- /src/hoc/withRequestsInit.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { transactionsToApproveInit } from '../redux/transactionsToApprove'; 3 | 4 | export default Component => connect(null, { transactionsToApproveInit })(Component); 5 | -------------------------------------------------------------------------------- /src/hoc/withRotationForDirection.js: -------------------------------------------------------------------------------- 1 | import { mapProps } from 'recompact'; 2 | import { calcDirectionToDegrees } from '../styles'; 3 | 4 | export default Component => mapProps(({ direction, style, ...props }) => ({ 5 | ...props, 6 | style: { 7 | ...style, 8 | transform: [{ rotate: `${calcDirectionToDegrees(direction)}deg` }], 9 | }, 10 | }))(Component); 11 | -------------------------------------------------------------------------------- /src/hoc/withSafeAreaViewInsetValues.js: -------------------------------------------------------------------------------- 1 | import { withProps } from 'recompact'; 2 | import { safeAreaInsetValues } from '../utils'; 3 | 4 | export default Component => withProps({ safeAreaInset: safeAreaInsetValues })(Component); 5 | -------------------------------------------------------------------------------- /src/hoc/withStatusBarStyle.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { NavigationEvents } from 'react-navigation'; 3 | import { statusBar } from '../utils'; 4 | 5 | const withStatusBarStyle = (style) => (InnerComponent) => { 6 | const Component = (props) => 7 | statusBar.setBarStyle(style, true)} 9 | /> 10 | 11 | ; 12 | Component.displayName = 'ScreenWithStatusBar'; 13 | return Component; 14 | }; 15 | 16 | 17 | export default withStatusBarStyle; 18 | -------------------------------------------------------------------------------- /src/hoc/withTrackingDate.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | import { trackingDateInit, updateTrackingDate } from '../redux/tracking'; 3 | 4 | const mapStateToProps = ({ tracking: { trackingDate } }) => ({ trackingDate }); 5 | 6 | export default Component => connect(mapStateToProps, { 7 | trackingDateInit, 8 | updateTrackingDate, 9 | })(Component); 10 | -------------------------------------------------------------------------------- /src/hoc/withTrackingScreen.js: -------------------------------------------------------------------------------- 1 | import Piwik from 'react-native-matomo'; 2 | import { compose, lifecycle } from 'recompact'; 3 | import { getDisplayName } from 'recompose'; 4 | 5 | export default Component => compose( 6 | lifecycle({ 7 | componentDidMount() { 8 | const displayName = getDisplayName(Component); 9 | Piwik.trackScreen(displayName, displayName); 10 | }, 11 | }), 12 | )(Component); 13 | -------------------------------------------------------------------------------- /src/hoc/withTransactionConfirmationScreen.js: -------------------------------------------------------------------------------- 1 | import { transactionsAddNewTransaction } from 'balance-common'; 2 | import { connect } from 'react-redux'; 3 | import { removeTransaction } from '../redux/transactionsToApprove'; 4 | import { updateTransactionCountNonce } from '../redux/nonce'; 5 | 6 | const mapStateToProps = ({ 7 | walletconnect: { walletConnectors }, 8 | nonce: { transactionCountNonce }, 9 | }) => ({ 10 | transactionCountNonce, 11 | walletConnectors, 12 | }); 13 | 14 | export default Component => connect(mapStateToProps, { 15 | removeTransaction, 16 | transactionsAddNewTransaction, 17 | updateTransactionCountNonce, 18 | })(Component); 19 | -------------------------------------------------------------------------------- /src/hoc/withTransitionProps.js: -------------------------------------------------------------------------------- 1 | import { connect } from 'react-redux'; 2 | 3 | const mapStateToProps = ({ navigation: { transitionProps } }) => ({ transitionProps }); 4 | 5 | const withTransitionProps = Component => connect(mapStateToProps)(Component); 6 | 7 | export default withTransitionProps; 8 | -------------------------------------------------------------------------------- /src/model/personalData.js: -------------------------------------------------------------------------------- 1 | export default { 2 | personalDetails: { 3 | Phrase: 'the cat sat under the frog and the frog sat under the cat', 4 | Wallet: 'Christian Baroni', 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /src/redux/actionSheetManager.js: -------------------------------------------------------------------------------- 1 | import produce from 'immer'; 2 | 3 | // -- Constants --------------------------------------- // 4 | const SET_IS_ACTION_SHEET_OPEN = 'actionSheetManager/SET_IS_ACTION_SHEET_OPEN'; 5 | 6 | export const setIsActionSheetOpen = payload => dispatch => dispatch({ 7 | payload, 8 | type: SET_IS_ACTION_SHEET_OPEN, 9 | }); 10 | 11 | // -- Reducer ----------------------------------------- // 12 | const INITIAL_STATE = { 13 | isActionSheetOpen: false, 14 | }; 15 | 16 | export default (state = INITIAL_STATE, action) => ( 17 | produce(state, draft => { 18 | if (action.type === SET_IS_ACTION_SHEET_OPEN) { 19 | draft.isActionSheetOpen = action.payload; 20 | } 21 | }) 22 | ); 23 | -------------------------------------------------------------------------------- /src/redux/isWalletEmpty.js: -------------------------------------------------------------------------------- 1 | import produce from 'immer'; 2 | 3 | // -- Constants --------------------------------------- // 4 | const SET_IS_WALLET_EMPTY = 'isWalletEmpty/SET_IS_WALLET_EMPTY'; 5 | 6 | export const setIsWalletEmpty = payload => dispatch => dispatch({ 7 | payload, 8 | type: SET_IS_WALLET_EMPTY, 9 | }); 10 | 11 | // -- Reducer ----------------------------------------- // 12 | const INITIAL_STATE = { isWalletEmpty: true }; 13 | 14 | export default (state = INITIAL_STATE, action) => produce(state, draft => { 15 | if (action.type === SET_IS_WALLET_EMPTY) { 16 | draft.isWalletEmpty = action.payload; 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /src/redux/store.js: -------------------------------------------------------------------------------- 1 | import thunk from 'redux-thunk'; 2 | import { applyMiddleware, createStore } from 'redux'; 3 | import { composeWithDevTools } from 'redux-devtools-extension'; 4 | 5 | import reducers from './reducers'; 6 | 7 | export default createStore( 8 | reducers, 9 | composeWithDevTools(applyMiddleware(thunk)), 10 | ); 11 | -------------------------------------------------------------------------------- /src/screens/SendSheetWithData.js: -------------------------------------------------------------------------------- 1 | import { withSendComponentWithData } from 'balance-common'; 2 | import SendSheet from './SendSheet'; 3 | import { sendTransaction } from '../model/wallet'; 4 | 5 | const SendSheetWithData = withSendComponentWithData(SendSheet, { 6 | gasFormat: 'short', 7 | sendTransactionCallback: sendTransaction, 8 | }); 9 | 10 | SendSheetWithData.navigationOptions = ({ navigation }) => { 11 | const { params } = navigation.state; 12 | 13 | return { 14 | effect: 'sheet', 15 | gestureResponseDistance: { 16 | vertical: params && params.verticalGestureResponseDistance, 17 | }, 18 | }; 19 | }; 20 | 21 | export default SendSheetWithData; 22 | -------------------------------------------------------------------------------- /src/styles/animations.js: -------------------------------------------------------------------------------- 1 | import { Animated } from 'react-native'; 2 | 3 | const keyframes = { 4 | badge: { 5 | from: { scale: 0, translateY: 1 }, 6 | to: { scale: 1, translateY: 0 }, 7 | }, 8 | button: { 9 | from: { scale: 1 }, 10 | to: { scale: 0.86 }, 11 | }, 12 | }; 13 | 14 | const spring = { 15 | badge: { 16 | friction: 13, 17 | tension: 145, 18 | }, 19 | default: { 20 | friction: 44, 21 | tension: 600, 22 | }, 23 | }; 24 | 25 | const buildSpring = ({ 26 | config, 27 | from, 28 | isActive, 29 | to, 30 | useNativeDriver = true, 31 | value, 32 | }) => ( 33 | Animated.spring(value, { 34 | ...spring.default, 35 | toValue: isActive ? to : from, 36 | useNativeDriver, 37 | ...config, 38 | }) 39 | ); 40 | 41 | export default { 42 | buildSpring, 43 | keyframes, 44 | spring, 45 | }; 46 | -------------------------------------------------------------------------------- /src/styles/buildLayoutStyles.js: -------------------------------------------------------------------------------- 1 | import { isNil } from 'lodash'; 2 | import { css } from 'styled-components'; 3 | 4 | export default (values, type) => { 5 | // Replicating the CSS API, if no second value parameter is given 6 | // apply the first parameter as both horizontal and vertical values. 7 | const defaultHorizontal = !isNil(values[1]) ? values[1] : values[0]; 8 | 9 | return css` 10 | ${type}-bottom: ${!isNil(values[2]) ? values[2] : values[0]}; 11 | ${type}-left: ${!isNil(values[3]) ? values[3] : defaultHorizontal}; 12 | ${type}-right: ${defaultHorizontal}; 13 | ${type}-top: ${values[0]}; 14 | `; 15 | }; 16 | -------------------------------------------------------------------------------- /src/styles/buildTextStyles.js: -------------------------------------------------------------------------------- 1 | import { css } from 'styled-components'; 2 | import colors from './colors'; 3 | import fonts from './fonts'; 4 | 5 | export default css` 6 | ${({ align }) => ( 7 | align 8 | ? `text-align: ${align};` 9 | : '' 10 | )} 11 | ${({ letterSpacing }) => ( 12 | letterSpacing 13 | ? `letter-spacing: ${fonts.letterSpacing[letterSpacing]};` 14 | : '' 15 | )} 16 | ${({ lineHeight }) => ( 17 | lineHeight 18 | ? `line-height: ${fonts.lineHeight[lineHeight]};` 19 | : '' 20 | )} 21 | color: ${({ color }) => (colors.get(color) || colors.dark)} 22 | font-family: ${({ family }) => fonts.family[family || 'SFProText']}; 23 | font-size: ${({ size }) => fonts.size[size || 'medium']}; 24 | font-weight: ${({ weight }) => fonts.weight[weight || 'regular']}; 25 | `; 26 | -------------------------------------------------------------------------------- /src/styles/calcDirectionToDegrees.js: -------------------------------------------------------------------------------- 1 | import { isString } from 'lodash'; 2 | 3 | export default (directionValue = 'right') => { 4 | const direction = isString(directionValue) 5 | ? directionValue 6 | : directionValue.direction; 7 | 8 | if (direction === 'down') return '90'; 9 | if (direction === 'left') return '180'; 10 | if (direction === 'up') return '270'; 11 | return '0'; 12 | }; 13 | -------------------------------------------------------------------------------- /src/styles/index.js: -------------------------------------------------------------------------------- 1 | export { default as animations } from './animations'; 2 | export { default as borders } from './borders'; 3 | export { default as buildTextStyles } from './buildTextStyles'; 4 | export { default as calcDirectionToDegrees } from './calcDirectionToDegrees'; 5 | export { default as colors } from './colors'; 6 | export { default as fonts } from './fonts'; 7 | export { default as margin } from './margin'; 8 | export { default as padding } from './padding'; 9 | export { default as position } from './position'; 10 | export { default as shadow } from './shadow'; 11 | -------------------------------------------------------------------------------- /src/styles/margin.js: -------------------------------------------------------------------------------- 1 | import buildLayoutStyles from './buildLayoutStyles'; 2 | 3 | export default (...options) => buildLayoutStyles(options, 'margin'); 4 | -------------------------------------------------------------------------------- /src/styles/padding.js: -------------------------------------------------------------------------------- 1 | import buildLayoutStyles from './buildLayoutStyles'; 2 | 3 | export default (...options) => buildLayoutStyles(options, 'padding'); 4 | -------------------------------------------------------------------------------- /src/styles/shadow.js: -------------------------------------------------------------------------------- 1 | import { isNumber } from 'lodash'; 2 | import colors from './colors'; 3 | 4 | const addUnitToNumberValues = value => ( 5 | isNumber(value) ? `${value}px` : value 6 | ); 7 | 8 | const shadow = {}; 9 | 10 | shadow.color = colors.black; 11 | shadow.opacity = 0.4; 12 | 13 | shadow.build = (x, y, radius, color = shadow.color, opacity = shadow.opacity) => ` 14 | shadow-color: ${color}; 15 | shadow-offset: ${addUnitToNumberValues(x)} ${addUnitToNumberValues(y)}; 16 | shadow-opacity: ${opacity}; 17 | shadow-radius: ${addUnitToNumberValues(radius)}; 18 | `; 19 | 20 | export default shadow; 21 | -------------------------------------------------------------------------------- /src/utils/Dapplet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alicedapp/alice-react-native/93dd1ea82b499384381e86c18f2d8bd693e5680b/src/utils/Dapplet.js -------------------------------------------------------------------------------- /src/utils/abbreviations.js: -------------------------------------------------------------------------------- 1 | import deviceUtils from './deviceUtils'; 2 | 3 | const defaultNumCharsPerSection = deviceUtils.isNarrowPhone ? 8 : 10; 4 | 5 | export function address(currentAddress, truncationLength, firstSectionLength) { 6 | const numCharsPerSection = truncationLength || defaultNumCharsPerSection; 7 | 8 | return [ 9 | currentAddress.substring(0, firstSectionLength || numCharsPerSection), 10 | currentAddress.substring(currentAddress.length - numCharsPerSection), 11 | ].join('...'); 12 | } 13 | 14 | export function isAddress(currentAddress) { 15 | return (currentAddress || '').substring(0, 2) === '0x' && (currentAddress || '').indexOf('...') > -1; 16 | } 17 | 18 | export default { 19 | address, 20 | defaultNumCharsPerSection, 21 | isAddress, 22 | }; 23 | -------------------------------------------------------------------------------- /src/utils/actionsheet.js: -------------------------------------------------------------------------------- 1 | import { ActionSheetIOS, Platform } from 'react-native'; 2 | 3 | export function showActionSheetWithOptions(...args) { 4 | if (Platform.OS === 'ios') { 5 | ActionSheetIOS.showActionSheetWithOptions(...args); 6 | } else { 7 | console.log('Actionsheet not implemented for:', Platform.OS); 8 | } 9 | } 10 | 11 | export default { 12 | showActionSheetWithOptions, 13 | }; 14 | -------------------------------------------------------------------------------- /src/utils/address.js: -------------------------------------------------------------------------------- 1 | import { isValidAddress } from 'balance-common'; 2 | 3 | /** 4 | * @desc get ethereum address from raw QR Code data 5 | * @param {String} data - qr code data 6 | * @return {String} address - ethereum address 7 | */ 8 | export const getEthereumAddressFromQRCodeData = (data) => { 9 | if (!data) return null; 10 | 11 | const parts = data.split(':'); 12 | 13 | if (parts[0] === 'ethereum' && isValidAddress(parts[1])) { 14 | return parts[1]; 15 | } 16 | if (isValidAddress(parts[0])) { 17 | return parts[0]; 18 | } 19 | 20 | return null; 21 | }; 22 | -------------------------------------------------------------------------------- /src/utils/deviceUtils.js: -------------------------------------------------------------------------------- 1 | import { pick } from 'lodash'; 2 | import { Dimensions } from 'react-native'; 3 | 4 | const deviceUtils = {}; 5 | 6 | deviceUtils.iPhoneXWidth = 375; 7 | deviceUtils.iPhone6Height = 667; 8 | 9 | deviceUtils.isNarrowPhone = Dimensions.get('window').width < deviceUtils.iPhoneXWidth; 10 | deviceUtils.isSmallPhone = Dimensions.get('window').height <= deviceUtils.iPhone6Height; 11 | deviceUtils.isLargePhone = Dimensions.get('window').width >= deviceUtils.iPhoneXWidth; 12 | 13 | deviceUtils.dimensions = pick(Dimensions.get('window'), ['height', 'width']); 14 | 15 | export default deviceUtils; 16 | -------------------------------------------------------------------------------- /src/utils/dimensionsPropType.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | 3 | export default PropTypes.shape({ 4 | height: PropTypes.number, 5 | width: PropTypes.number, 6 | }); 7 | -------------------------------------------------------------------------------- /src/utils/directionPropType.js: -------------------------------------------------------------------------------- 1 | import PropTypes from 'prop-types'; 2 | 3 | export default PropTypes.oneOf([ 4 | 'down', 5 | 'left', 6 | 'right', 7 | 'up', 8 | ]); 9 | -------------------------------------------------------------------------------- /src/utils/formatters.js: -------------------------------------------------------------------------------- 1 | export function removeLeadingZeros(value = '') { 2 | if (value.length > 1 && value.substring(0, 1) === '0' && value.substring(1, 2) !== '.') { 3 | return removeLeadingZeros(value.substring(1)); 4 | } 5 | 6 | if (value.substring(value.length - 1, value.length) === '.' && value.indexOf('.') !== value.length - 1) { 7 | return value.substring(0, value.length - 1); 8 | } 9 | 10 | if (value.substring(0, 1) === '.') { 11 | return `0${value}`; 12 | } 13 | 14 | return value; 15 | } 16 | 17 | export function uppercase(value = '') { 18 | return value.substring(0, 1).toUpperCase() + value.substring(1); 19 | } 20 | 21 | export default { 22 | removeLeadingZeros, 23 | uppercase, 24 | }; 25 | -------------------------------------------------------------------------------- /src/utils/index.js: -------------------------------------------------------------------------------- 1 | export { getEthereumAddressFromQRCodeData } from './address'; 2 | export { default as abbreviations } from './abbreviations'; 3 | export { default as deviceUtils } from './deviceUtils'; 4 | export { default as dimensionsPropType } from './dimensionsPropType'; 5 | export { default as directionPropType } from './directionPropType'; 6 | export { default as isNewValueForPath } from './isNewValueForPath'; 7 | export { default as reduceStylesArrayToObject } from './reduceStylesArrayToObject'; 8 | export { default as safeAreaInsetValues } from './safeAreaInsetValues'; 9 | export { default as statusBar } from './statusBar'; 10 | -------------------------------------------------------------------------------- /src/utils/isNewValueForPath.js: -------------------------------------------------------------------------------- 1 | import { get } from 'lodash'; 2 | 3 | export default function isNewValueForPath(a, b, path) { 4 | return get(a, path) !== get(b, path); 5 | } 6 | -------------------------------------------------------------------------------- /src/utils/reduceStylesArrayToObject.js: -------------------------------------------------------------------------------- 1 | import { compact } from 'lodash'; 2 | 3 | const reduceStylesToObject = (item, culm) => Object.assign(culm, item); 4 | 5 | export default style => ( 6 | Array.isArray(style) 7 | ? compact(style).reduce(reduceStylesToObject, {}) 8 | : style 9 | ); 10 | -------------------------------------------------------------------------------- /src/utils/safeAreaInsetValues.js: -------------------------------------------------------------------------------- 1 | import SafeAreaView from 'react-native-safe-area-view'; 2 | 3 | export default { 4 | bottom: SafeAreaView.getInset('bottom') || 0, 5 | left: SafeAreaView.getInset('left') || 0, 6 | right: SafeAreaView.getInset('right') || 0, 7 | top: SafeAreaView.getInset('top') || 0, 8 | }; 9 | -------------------------------------------------------------------------------- /src/utils/statusBar.js: -------------------------------------------------------------------------------- 1 | import _ from 'lodash'; 2 | import { StatusBar } from 'react-native'; 3 | 4 | export const setBarStyle = _.debounce((...args) => { 5 | StatusBar.setBarStyle(...args); 6 | }, 100); 7 | 8 | export default { 9 | setBarStyle, 10 | }; 11 | --------------------------------------------------------------------------------