A simple hello world smart contract written in solidity and deployed in truffle. The smart contract just contains a function that returns the string of 'hello world'.
The tests directory contains tests for the HelloWorld Smart contract. Run these tests before deploying them! How to run: "truffle test" command!
- npm
- truffle
- open a terminal window and browse to the folder containing this project
- Run "truffle test". This should compile contracts and test for errors
- Run "truffle develop" to open the truffle console
- Run "migrate --reset" to compile and deploy the smart contract