Smart contracts of the PharmaChain system
- Npm.
- Truffle.
- An IDE (Visual Studio Code is recommended).
Clone the project.
git clone https://github.com/pharmaceutical-chain/SmartContract.git
Install dependencies.
npm install
To locally compile the contracts,
truffle compile
To run migrations to deploy contracts to Ropsten network.
truffle migrate --network ropsten --reset --all