Skip to content

whachoe/eth_tutorial_game

Repository files navigation

Ethereum Dicegame

Install

Install testrpc

$ npm install -g ethereumjs-testrpc

Install truffle:

$ npm install -g truffle 

Install webpack:

$ npm install -g webpack

(OPTIONAL - this takes a while and is not necessary for the rest of the tutorial)
Check if you have solc:

$ which solc
$ brew tap ethereum/ethereum
$ brew install solidity

Run

Run testrpc in one console window:

$ testrpc

In another console window run truffle from project root directory:

$ npm install
$ truffle compile
$ truffle migrate
$ truffle test
$ npm run dev
$ OR: truffle serve // server at localhost:8080

About

A little game as intro for Ethereum smart contracts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published