Skip to content

decentraweb/react-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App.

Setup

  1. Clone this repository and navigate to directory.
  2. Run npm install to install all dependencies.

Starting the app

Run npm start to start the app. The app will be available at http://localhost:3000.

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Implementation details

Handling queries to the API and blockchain

This app is using TanStack Query (React Query) to perform asyncronous operations. You can replace it with any other library or just use useEffect and useState hooks.

Connecting wallet

To support connecting multiple wallets, we use Web3Modal SDK by WalletConnect.

NOTE: Wallet must have networks enabled:

  1. For production:
    • Ethereum Mainnet
    • Polygon Mainnet
  2. For development:
    • Goerli Testnet
    • Mumbai Testnet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published