EtherPledge is a university project, where we intend to create a crowdfunding platform based on blockchain technologies.
We currently only support a build with VSCode, the Solidity and the Truffle extension. The extension will compile the contracts and deploy them to the local Ganache network.
- Clone this repository
- Install Node.js and npm (Downgrade to pecific version below 9.0.0; e.g.
npm install -g [email protected]) - Install Truffle globally:
npm install -g truffle - Install Vue.js globally:
npm install -g @vue/cli - Install vant globally:
npm install vant - Install Ganache globally:
npm install -g ganache-cli - Run
npm installin the project directory
- Go to the backend directory
- Run
npm install
In VSCode:
- Go to the Truffle Extension Tab on the left
- Go to Networks
- If all dependencies are installed correctly there should be a network here
- Expand it once and click, Start Network
- Go to the contracts directory
- Right click on
EtherPledge.soland clickdeploy contracts - Then click on devel on the pop-up that appears
With Terminal (Not retested after last rework --> might be broken):
- Go to the project root directory
ganache-clitruffle compiletruffle migrate --network development
- Go to the frontend directory
- Run
npm install - Run
npm run serveand open the displayed URL in your browser