/assignment1_sol_BCC003125

Assignment No:1 of Solidity

Primary LanguageJavaScript

assignment1_sol_BCC003125

Assignment No:1 of Solidity

Prerequisite

To Run this smart contract please follow following steps

Installation

  1. Install Ganache (https://www.trufflesuite.com/ganache)
  2. Install Truffle npm install -g truffle
  3. Start Test Network
    • Use ganache gui
      • This will create Test network

Compile, Deploy and Test Project

  1. Inside that folder Compile with following command

    • truffle.cmd compile on Windows
  2. Deploy Contract with following command

    • truffle.cmd migrate on Windows
  3. Test Contract with following command

    • truffle.cmd test on Windows

Important

Check your host and port, make sure to replace it in truffle-config.js