Assignment No:1 of Solidity
To Run this smart contract please follow following steps
- Install Ganache (https://www.trufflesuite.com/ganache)
- Install Truffle
npm install -g truffle
- Start Test Network
- Use ganache gui
- This will create Test network
- Use ganache gui
-
Inside that folder Compile with following command
truffle.cmd compile
on Windows
-
Deploy Contract with following command
truffle.cmd migrate
on Windows
-
Test Contract with following command
truffle.cmd test
on Windows
Check your host and port, make sure to replace it in truffle-config.js