0% found this document useful (0 votes)
11 views5 pages

BC Miniproject

Mini project

Uploaded by

Soham S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views5 pages

BC Miniproject

Mini project

Uploaded by

Soham S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Class: BE CSD Div: A Roll No:

Subject: Laboratory Practice – IV Date:


Group C: Blockchain Technology
Assignment No: 05
Title
Develop a Blockchain-based Application for Transparent and Genuine Charity

Aim
To develop a blockchain-based application that ensures transparency, accountability, and genuine use
of charity donations by integrating government organizations, NGOs, and contractors. The platform
allows NGOs to submit requests to the government, which can then delegate tasks to contractors,
ensuring proper fund utilization.

Objectives

● To design a decentralized application (DApp) for government organizations, NGOs, and


contractors using blockchain technology.

● To ensure transparency in charity requests, fund distribution, and the role of contractors
through a verifiable public ledger.

● To enable NGOs to make requests to government organizations securely.

● To empower the government to assign contractors to fulfill specific requests based on


predefined conditions, using smart contracts.

● To prevent fraud and misuse by automating fund distribution and project assignments via
blockchain.

● To enhance trust among all stakeholders (government, NGOs, contractors, and donors) by
maintaining an immutable and transparent record of all transactions.

Software Requirements

● Programming Language: Solidity (for writing smart contracts)

● Blockchain Platform: Ethereum or another suitable blockchain platform

● Frameworks:

o Truffle Suite or Hardhat (for development and testing)

o Web3.js or ethers.js (for blockchain connectivity)

● Database (optional): IPFS (for storing project-related documents in a decentralized manner)

● Frontend Framework: React.js or Angular (for building the user interface)

● Development Tools:
o MetaMask (for Ethereum wallet integration)

o Ganache (for local blockchain development and testing)

● IDE: Visual Studio Code or any preferred code editor

Hardware Requirements

● System Requirements:

o Processor: Intel i5 or equivalent

o RAM: 8GB or higher

o Storage: 20GB free space (for running local blockchain nodes and development
environments)

● Network Requirements: Stable internet connection to interact with the blockchain network

Theory
Blockchain is a decentralized digital ledger that records transactions securely and transparently. In the
context of charity, blockchain can provide trust and accountability by ensuring that every donation or
request is visible to all stakeholders. NGOs can submit requests to the government, which will be
recorded on the blockchain. Government organizations can then assign contractors to fulfill the
requests, ensuring that funds and resources are used appropriately. Smart contracts automate these
interactions, ensuring that tasks are only executed when predefined conditions are met.

Implementation Phase

Step 1: Setting Up a Local Development Environment

1. Install Node.js
Install Node.js, a free runtime necessary for running blockchain development tools and the
frontend.

2. Install Truffle Suite


Use Truffle, an open-source framework for writing, testing, and deploying smart contracts, to
simplify blockchain development.

3. Install Ganache
Ganache simulates a local blockchain, allowing testing without interacting with the public
network.

Step 2: Writing Smart Contracts

● Use Solidity to write smart contracts that manage NGO requests, government approval, and
contractor assignments.
● Smart contracts will store the NGO's request, automate the approval process, and allocate
tasks to contractors once government approval is given.

Step 3: Testing the Smart Contracts

● Deploy the smart contracts to a local blockchain (Ganache) using Truffle. Test the entire flow
from NGO requests to government approvals and contractor assignments.

Step 4: Building the Frontend

● Use React.js to build the user interface.


Features include:

o NGO login to submit requests.

o Government dashboard to review and approve requests.

o Contractor portal to view and complete assigned tasks.

● Web3.js will connect the frontend to the blockchain, enabling interaction with the smart
contracts.

Step 5: Testing on Public Test Networks

● After testing locally, deploy the contracts to an Ethereum testnet (like Ropsten or Goerli) to
simulate real-world deployment.

Step 6: Hosting the Frontend

● Use free platforms like GitHub Pages, Netlify, or Vercel to host the frontend for public access.

Output:
Conclusion

This blockchain-based charity application enhances transparency, trust, and accountability by securely
recording NGO requests, government approvals, and contractor assignments. Using smart contracts,
it automates fund allocation and project execution, ensuring that resources are used as intended. The
decentralized nature of the system helps eliminate fraud, creating a more genuine and efficient charity
process.

You might also like