Skip to content

sanketjaybhaye/ChainFund

Repository files navigation

ChainFund

Author Version License

ChainFund — Crowdfunding Platform Powered by Ethereum Blockchain

Tech Stack

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

Running the Application Locally

  1. Fork the project.
  2. Install dependencies:
yarn install
  1. Start the development server:
yarn dev
  1. Open http://localhost:3000 in your browser.

Prerequisites to Create Campaigns and Contribute

  1. Install MetaMask Chrome extension and create an account.

  2. Fund your Ethereum wallet for testing:

Deploying Your Own Smart Contract

  1. Create an account on Infura or Alchemy.
  2. Create a .env file in the Ethereum directory and add:
mnemonic='Your mnemonic code'
link='Your Infura/Alchemy endpoint URL'
  1. Modify the Solidity contract as needed.
  2. Compile the contract:
node compile.js
  1. Deploy the contract from the smart-contract directory:
node deploy.js
  1. Copy the deployed contract address and replace it in factory.js.
  2. Replace your Infura/Alchemy endpoint link in web3.js.

Notes

  • Ensure you are on the Sepolia test network while testing.
  • For mainnet deployment, change the network configurations accordingly.

Releases

No releases published

Packages

No packages published