Crowd Funding is a distributed crowdfunding web platform, which is based on React web framework and solidity implemented smart contracts. On this platform, users can anonymously create crowdfunding projects, create draw requests, contribute to crowdfunding projects and vote for the draw requests.
First, install MetaMask, Ganache and truffle if you haven't installed them.
npm install -g truffleAfter the installation, open Ganache and start a workspace. Make sure the host and port in truffle-config.js to be the same with the port in that workspace.
// truffle-config.js
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*",
}Next, deploy the smart contract.
truffle migrateAfter that, replace the address in src/eth/CrowdFunding.js with the address of CrowdFunding contract in Ganache.
// CrowdFunding.js
const address = '0xA305BC95CBf8E6D4d540466C39C02DF3b2744031';Finally, install all dependencies for this project.
yarn installStart the application by the following command.
yarn start

