/ethereum_demo

This is the code for "Ethereum Explained" by Siraj Raval on Youtube

Primary LanguageJupyter Notebook

Overview

This is the code for this video on Youtube by Siraj Raval on Ethereum. We'll build a simple Ethereum smart contract and lightwallet example. Any problems running the code? See the issues section.

Updates

Current code uses Truffle v2.0.4

Install

Install [testrpc] (or use geth)

$ npm install -g ethereumjs-testrpc

Install truffle:

$ npm install -g truffle 

If you don't have solc you can get it here

Run

Run testrpc in one console window:

$ testrpc

In another console window run truffle from project root directory:

$ truffle compile
$ truffle migrate
$ truffle test
$ truffle serve // server at localhost:8080

Credits

Credits for this code go to eshon. I've merely created a wrapper to get people started.