Skip to content

Q2T-Fund/Q2T-Fund-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample React Dapp

This directory has a sample Dapp to interact with your contracts, built using React.

Running the Dapp

This project uses create-react-app, so most configuration files are handled by it.

To run it, you just need to execute npm start in a terminal, and open http://localhost:3000.

To learn more about what create-react-app offers, you can read its documentation.

Architecture of the Dapp

This Dapp consists of multiple React Components, which you can find in src/components.

Most of them are presentational components, have no logic, and just render HTML.

The core functionality is implemented in src/components/Dapp.js, which has examples of how to connect to the user's wallet, initialize your Ethereum connection and contracts, read from the contract's state, and send transactions.

You can use the Dapp component as a starting point for your project. It has comments explaining each part of its code, and indicating what's specific to this project, and what can be reused.

Feedback, help and news

Feel free to reach us through this repository or our Discord server.

Also you can follow us on Twitter.

Happy buidling!

blockchainUrl https://hub.textile.io/ipfs/bafkreiadwauokas5mg6zal3p6kaj7hf6ggczxfqhmhvsxwqasyluwhld34 arturl https://hub.textile.io/ipfs/bafkreid7jtzhuedeggn5welup7iyxchpqodbyam3yfnt4ey4xwnusr3vbe local https://hub.textile.io/ipfs/bafkreibglk3i7c24b2zprsd3jlkzfhxti6rubv3tkif6hu36lz42uwrfki