A farming game built upon Ethereum platform.
npm install -g ethereumjs-testrpc
npm install -g truffle
curl https://install.meteor.com/ | sh
First, you need get your own ethereum client node. And the easiest way to do this is either installing light-weight ethereum wallet or using testrpc. In our case, we use testrpc by typing the following command in to your terminal/command line:
testrpc
Now, you need to deploy the smart contracts to the local private chain you just set up. We've already wrote a script to get all the trivial things done. For Mac/Linux users, just go to the Block-Farm
directory and execute the script by typing:
sh truffle/Compile.sh
For Windows users, please type:
truffle/Compile.bat
It should take a while for truffle to deploy all the contracts to testrpc. Once it is done, There should be all the address of each contract shown on the console, just copy them and update the default contract address in app/client/lib/contract.js
.
After finishing all these steps, change your current path to the app
folder and execute:
meteor npm install
Then type the following command to start buliding our app
meteor
Congratulations! Now just type localhost:3000
in your web browser and you are good to go!
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE file for details