Skip to content

A distributed crowdfunding web platform based on React web framework and Solidity implemented smart contracts

Notifications You must be signed in to change notification settings

JouleYuan/CrowdFunding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crowd Funding

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.

Build

First, install MetaMask, Ganache and truffle if you haven't installed them.

npm install -g truffle

After 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: "*",
}

ganache_port

Next, deploy the smart contract.

truffle migrate

After that, replace the address in src/eth/CrowdFunding.js with the address of CrowdFunding contract in Ganache.

// CrowdFunding.js
const address = '0xA305BC95CBf8E6D4d540466C39C02DF3b2744031';

ganache_address

Finally, install all dependencies for this project.

yarn install

Run

Start the application by the following command.

yarn start

home

About

A distributed crowdfunding web platform based on React web framework and Solidity implemented smart contracts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published