This project was bootstrapped with Create React App.
File Storage is powered by Interplanetary File System(IPFS):
MetaMask: a general wallet for DApps
Make sure your MetaMask is on, this is your wallet on this platform.
-
Install Truffle globally.
npm install -g truffle
-
Download the box. This also takes care of installing the necessary dependencies.
truffle unbox chainskills/chainskills-box
-
Run the development console.
truffle develop
-
Compile and migrate the smart contracts. Note inside the development console we don't preface commands with
truffle
.compile migrate
-
Run the
liteserver
development server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated.// Serves the front-end on http://localhost:3000 npm run dev
Ehereum Javascript API: Web3.
For testing it locally, make sure the ganache is running and there are accounts with money in the local network.
In src/ directory, do the following things:
- Deploy Smart Contracts
truffle migrate --compile-all --reset --network ganache
- Run React
npm start