Ethereum React Native Boilerplate screenshot

Ethereum React Native Boilerplate

Updated: 7 Apr 2022
551 Stars

The ultimate full-stack Ethereum React Native Dapp Boilerplate which gives you maximum flexibility and speed. Feel free to fork and contribute. Although this repo is called "Ethereum Boilerplate" it works with any EVM system! Happy BUIDL!

Categories

Overview

The ethereum-react-native-boilerplate is a React Native library that provides components and hooks for fast building of decentralized applications (dApps) without the need for running your own backend. It utilizes various technologies such as create-react-native-dapp, WalletConnect, and react-moralis to simplify the development process.

Features

  • Create-react-native-dapp: Bootstraps the project to provide a solid foundation for building Ethereum mobile dApps.
  • WalletConnect integration: Includes a slightly modified version of WalletConnect v1 for authentication purposes.
  • React-moralis: Utilizes react-moralis for React hooks integration.
  • Moralis Web3 API: Offers a range of components that do not require an active web3 provider and instead use Moralis Web3 API, which supports popular blockchains and test networks.
  • Active community support: The project has a super active community that is always ready to help and provide assistance.

Installation

To install the ethereum-react-native-boilerplate, follow these steps:

  1. Make sure you have Xcode installed on your machine if you wish to run the app on iOS, and Android Studio for Android.
  2. For M1 users, access the apps folder, right click on Xcode, select “Open Using Rosetta”.
  3. Connect a physical phone device and open Terminal/CMD.
  4. Run adb devices in the terminal to check if your Android device ID is listed.
  5. Install your preferred wallet on your device (e.g., Metamask, Trust Wallet).
  6. For iOS, run either react-native run-ios or npx react-native run-ios.
  7. For Android, run either react-native run-android or npx react-native run-android.

Summary

The ethereum-react-native-boilerplate is a powerful library that simplifies the development of Ethereum mobile dApps by providing pre-built components and hooks. It integrates with popular tools like WalletConnect and react-moralis, allowing developers to quickly build applications without the need for running their own backend. With an active community providing support, this library is a valuable resource for anyone looking to build Ethereum dApps using React Native.