Git Product home page Git Product logo

alanbinu007 / blockchain-web-3.0-react-with-solidity Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 21.0 43.03 MB

πŸ€‘πŸ€‘Here we are created fully working Block-Chain Application with ReactJs and Solidity. And we implemented the Alchemy for virtualization purposes. Finally we used ropsten for local testing and deployed on ropsten using hardhat

Home Page: https://alanbinu-crypto.web.app/

JavaScript 68.20% HTML 19.86% CSS 7.78% Solidity 4.17%
reactjs css3 html5 firebase firebase-auth react ethereum contract blockchain solidity-contracts

blockchain-web-3.0-react-with-solidity's Introduction

Block Chain Web 3.0

Here we are created fully working Block-Chain Application with ReactJs and Solidity. And we implemented the Alchemy for virtualization purposes. Finally we used ropsten for local testing and deployed on ropsten using hardhat

Project Link - https://alanbinu-crypto.web.app/

Tech We Used

  • ReactJs
  • Firebase Hosting
  • Firebase Auth
  • Solidity
  • Alchemy
  • Ropsten
  • Hardhat
  • Ropsten Etherscan

Features

  • Send Etherium
  • Can able to view all the transacations

Steps to run in your machine

You need to install MetaMask in your browser : https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn?hl=en and creeate one account.

Create on account in Alchemy (for virtualization purposes) : https://dashboard.alchemyapi.io/ and create one app

Run the following commands

clone this repo

Go to both folders and run thew following command

npm install

Go to Alchemy and copy thr HTTP ID of the app that we created --> and paste it in smart_contract/hardhat.config.js

url : "<HTTP ID>"

Then go to MetaMask and copy the Eth account PRIVATE ID under Account Details and paste it in smart_contract/hardhat.config.js

accounts :["PRIVATE KEY"]

Then run the following command in smart_contract root folder

npx hardhat run scripts/deploy.js --network ropsten

The you can see that some compiled files are generated and also one DEPLOYED ADDRESS copy that address --> go to client/src/utils/constants.js

export const contractAddress = "<DEPLLOYED ADDRESS>"

Then go to smart_contract/artifact/contracts/Transactions/ and copy the Transacation.json (which contains all our contract details in json form) ---> and paste it into client/src/utils/

NOTE:

Inoder to run this application it required some gas (some kind of fee), so your must need some Eth

For testing purposes, here comes ROPSTEN. It provide free Eth for testing purposes.
To claim free test Eth go to your MetaMask -> Network Settings -> Turn ON test network and connect to "Ropsten test network".

Then copy your account address and go to : https://faucet.egorfine.com/ and paste your address and claim free test Eth of 0.300 Eth.

Feel Free to contact me any time, always happy to help πŸ’–

Hope you liked this project, don't forget to ⭐ the repo.

blockchain-web-3.0-react-with-solidity's People

Contributors

alanbinu007 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.