Block Farm Save

A farming game built upon Ethereum platform.

Project README

Block Farm

A farming game built upon Ethereum platform.

image

Getting Started

Prerequisites

1. TestRPC

npm install -g ethereumjs-testrpc 

2. Truffle

npm install -g truffle 

3. Meteor

curl https://install.meteor.com/ | sh

Running the DApp

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!

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details

Open Source Agenda is not affiliated with "Block Farm" Project. README Source: johnhckuo/Block-Farm
Stars
66
Open Issues
1
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating