Skip to content

Quote application with blockchain (Goerli) built using Python, Solidity and Typescript.

Notifications You must be signed in to change notification settings

Tanay-ErrorCode/Quote-Application-Goerli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quote application with blockchain (Goerli)

A project for blockchain beginners.

This Quote Application is built with Solidity, Python and React Typescript. By using this application, one can upload a quote, which will be visible to all the users.

The smart contract, which is built with Solidity, has the capabilities of adding a new user, uploading a quote and catching new quotes uploaded at that time.

The Python script deploy_app.py is the main script to deploy a new contract to a network like Goerli. To run this script you will need brownie python pakage installed.

The Web UI is built with React Typescript. One should have NodeJs and npm installed to run this application.

By using MetaMask and some Goerli chain faucets, one can interact with the smart contract.

  • @useDApp/core is used here to call the functions of the smart contract deployed on the live chain.

  • @material-ui/core is used here to style the Web UI within the typescript file.

  • react-toastify npm package is used here to show notifications in the Web UI.

Here's the guide to run this application :

  • Setup

    • Add MetaMask extension to your web browser.
    • Create a new wallet or import one.
    • Click on Ethereum mainnet next to the icon.
    • Click Show/Hide Test networks.
    • Turn on that feature.
    • Switch the network to Govan Test Network.
    • Now go to this website.
    • Log In with your Alchemy account.
    • After logging in you should paste your Metamask wallet address in the text box.
    • Click the Send Me ETH button.
    • Install NodeJs and npm.
  • Running application

    • Clone this repository
    • To go inside the React project execute the command cd my-app
    • Execute the command npm install --force
    • Now execute the command npm start
  • Application usage

    • Once the app is opened up in the web browser, Connect the wallet by clicking connect button.
    • After connecting, Click SignIn button. Fill your username in the input feild and press proceed.
    • Click on the confirm button in the metamask that has been popped up.
    • After SignIn you can post any quote on the website.
    • Get a quote and type it in the input field on the bottom.
    • Then click the send button. After a few seconds, the quote will be posted.

Authors

🔗 Links

Youtube StackOverfow

The video tutorial is now avilable here.