Welcome to

Million Ether Homepage

Example Code Download

You can download the complete example code by clicking here.

Getting Started

5 lessons 20m total

Viewing Pixels

7 lessons 25m total

LESSON

7:15 minutes

LESSON

1:01 minutes

LESSON

3:09 minutes

LESSON

1:15 minutes

Web3 and Events Over WebSockets

We don't need the checkBalance function anymore, so let's get rid of it.

LESSON

3:09 minutes

Buying Pixels

6 lessons 17m total

Buying An Image -- Reading Pixels

The rest of the script can be found in `scripts/buy-pixels-001-read.js` below

LESSON

1:57 minutes

LESSON

1:25 minutes

LESSON

3:35 minutes

Auctioning Pixels

4 lessons 18m total

The Pull Payment Pattern - Withdraw payments when outbid

Also note that any sort of math like this _should_ be checking for overflows, which we'll talk about later.

LESSON

4:37 minutes