Welcome to
Million Ether Homepage
Course Syllabus and Content
Module 1
Getting Started
5 Lessons 20 Minutes
Module 2
Viewing Pixels
7 Lessons 25 Minutes
We don't need the checkBalance function anymore, so let's get rid of it.
Module 3
Buying Pixels
6 Lessons 17 Minutes
The rest of the script can be found in
scripts/buy-pixels-001-read.js
below
Module 4
Auctioning Pixels
4 Lessons 18 Minutes
Also note that any sort of math like this should be checking for overflows, which we'll talk about later.