Skip to main content

README

React Native Celo Composer

A starter pack to get started with building dapps on Celo.

Demo Video.Report Bug·Request Feature

Table of Contents

About The Project

A mobile dapp starter template to help you get started building DApps on Celo blockchain.

(back to top)

Built With

=======

Celo Composer React Native App Without Expo

(back to top)

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Nodejs (14.x or higher)

  • yarn

    npm install --global yarn

Installation

  1. Clone the repo

    git clone https://github.com/celo-org/celo-composer.git
  2. Install NPM packages

    yarn

(back to top)

Using the React Native App


  • cd into this folder react-native-app through your terminal.
yarn install

Note: For Android 11 and above the following changes need to be done in order to support deeplinking.

  • navigate to node_modules/@walletconnect/react-native-dapp/dist/providers/WalletConnectProvider.js

  • comment the code snippet as below:

    if (Platform.OS === 'android') {

    const canOpenURL = await Linking.canOpenURL(uri);

    // if (!canOpenURL) {

    // Linking.openURL('https://walletconnect.org/wallets');

    // throw new Error('No wallets found.');

    // }

    await Linking.openURL(uri);
    }

The same hasn't been tested for iOS. If you are redirected to https://walletconnect.org/wallets on connect wallet then deeplinking is not supported.

Run app on Android

  • Run the application using yarn react-native run-android.

    (back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Celo Discord

Harpalsinh Jadeja - @harpaljadeja11 - jadejaharpal14@gmail.com

(back to top)

Acknowledgments

List of resources I find helpful and would like to give credit to.

(back to top)