Skip to content

kunal7216/Betterfund-Crowdfunding-using-Blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BetterFund: Crowdfunding Platform Powered by Ethereum Blockchain

BetterFund is a decentralized crowdfunding platform built on the Ethereum blockchain, designed to provide enhanced security, transparency, and global accessibility. The platform is live on the Rinkeby Test Network and can be accessed here.

Problem Statement and Solution

Crowdfunding has become a crucial method for raising funds, especially during crises like the COVID-19 pandemic. However, existing platforms have several limitations:

  1. Security: Traditional platforms can be vulnerable to hacking despite encryption measures. Blockchain offers unparalleled security, as it has never been compromised.

  2. Transparency and Anti-Fraud: Current platforms lack transparency regarding fund usage, leading to scams. Our platform ensures full transparency at every stage of the funding process to prevent misuse.

  3. Global Contribution: Many platforms restrict contributions to specific countries. Using blockchain technology, BetterFund enables anyone in the world to contribute quickly and easily.

We were inspired by the CryptoRelief initiative, which raised nearly $1 billion for COVID relief in India through transparent and global crowdfunding.

Tech Stack

  • Frontend: Next.js, Chakra UI
  • Blockchain: Solidity, Web3.js

How to Install and Run Locally

  1. Fork and Clone the Project:

    git clone https://github.com/your-username/BetterFund.git
    cd BetterFund
  2. Install Dependencies:

    yarn install
  3. Run the Application:

    yarn dev

Prerequisites to Create a Campaign or Contribute

  1. Install MetaMask as a Google Chrome Extension and create an account.
  2. Get Rinkeby Test Ether:
    • Share your Ethereum address on social media to request Ether: Rinkeby Faucet
    • Alternatively, get free Ether by providing your Ethereum address: Rinkeby Faucet

How to Deploy Your Own Contract

  1. Create an Account on Infura.
  2. Create a .env File in the Ethereum directory with the following variables:
    MNEMONIC='Your mnemonic code'
    LINK='Your Infura endpoint link'
  3. Modify Solidity Files as needed.
  4. Compile the Contract:
    node compile.js
  5. Deploy the Contract by navigating to the smart-contract directory and running:
    node deploy.js
    • Copy the contract deployment address and update it in the factory.js file.
  6. Update web3.js with your Infura endpoint link.

Deploying on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform. For more details, refer to the Next.js deployment documentation.

Screenshots

Here are some screenshots to help you understand the platform better:

Home Page

Home Page

Campaign Page

Campaign Page

Create Campaign Page

Create Campaign Page

Withdrawal Request Page

Withdrawal Request Page

New Withdrawal Request Page

New Withdrawal Request Page

Detailed Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published