- Harshak Krishnaa Keerthipati
- Rajkumar Sukumar
- Sai Ramya Linga
- Install
node
, andnpm
on your computer which is required for running this project. - Install the dependencies for our project by running
npm install
- Ensure you have
ganache
installed and running on your machine. This is necessary to run the test blockchain network on your computer.npm i -g ganache
- Start the RPC server using ganache:
ganache -p 7545
- Ensure you have
truffle
installed usingnpm i -g truffle
- Migrate our marketplace smart contract by running
truffle migrate --reset
inside the project directory. - Install MetaMask extension on a compatible web browser.
- Add the local ganache network manually by opening MetaMask extension settings. Usual configuration would be:
- Name it anything that you wish
- RPC URL : http://localhost:7545
- Chain ID : copy from the ganache CLI output.
- Currency symbol : ETH
- From
ganache
's CLI output, copy one of the private keys and import it into the MetaMask extension. - Run
npm start
within the project directory to start our web application. - Open http://localhost:3000 and start playing around with the marketplace by adding products and buying them!
- Note that you have to switch to a different account by importing a different private key into the extension, before you can buy someone else's product.