Lottery game based on Blockchain
- Using truffle env to do compile and testing
-
Install truffle golablly
#npm install -g truffle
-
Init your project with truffle init
#truffle init
- Doing Security analysis with ConsenSys/mythril
-
Install mythril/myth with Docker
#docker pull mythril/myth
-
compile contracts
#truffle compile
-
Do security analysis in the project directory
#docker run -v $(pwd):/test -w "/test/" mythril/myth --truffle