The Payment APP is a Flask-based web application that enables users to transfer funds using Ethereum and Web3. It is a Charity donation website which donated fund to the childrens who needs help from the common people.It allows users to connect their wallets, check wallet balance, and perform fund transfers to other Ethereum addresses.
- Clone the repository: git clone https://github.com/abhishekjani08/donation-app-using-blockchain.git
- Create a virtual network
python -m venv venv
- Install all dependencies using
pip install -r requirements.txt
- To run the server type
./run.sh
- Open http://localhost:5000 and display the webpage
-
Flask - Flask is a lightweight web framework written in Python. It is used for creating the web application and handling routing.
-
HTML - HTML (Hypertext Markup Language) is the standard markup language for creating the structure and content of web pages. It is used for defining the user interface of the application.
-
JavaScript - JavaScript is a programming language that enables interactivity and dynamic functionality in web pages. It is used in the Payment APP for handling user actions, interacting with the Ethereum blockchain using web3.js, and manipulating the DOM (Document Object Model).
-
web3.js - web3.js is a JavaScript library that provides an interface for interacting with the Ethereum blockchain. It is used in the Payment APP for connecting to MetaMask, retrieving wallet balance, and sending transactions.
-
CSS - CSS (Cascading Style Sheets) is a stylesheet language used for describing the presentation and styling of a document written in HTML. It is used in the Payment APP for styling the user interface elements.
-
MetaMask- MetaMask is a browser extension that allows users to manage Ethereum wallets and interact with Ethereum-based applications. It is used in the Payment APP to connect the user's wallet and facilitate transactions.
-
lottie-player.js- lottie-player.js is a JavaScript library for rendering animations using Lottie files. It is used in the Payment APP for displaying animations in the transaction details popup.
The relevant files and their descriptions in the project are as follows:
- app.py: The main Flask application file that handles routing and serves the web pages.
- templates/index.html: The HTML file containing the user interface and JavaScript code for the Payment APP.
- static/images/QR.png: The QR code image file that can be scanned to access the application using a mobile Ethereum wallet.