/pixel

control your pixels

Primary LanguageJavaScript

pixel

initial setup

$ npm install
$ npm install -g truffle
$ truffle migrate

dev

  • npm run dev to run dev server
  • truffle compile to compile contracts
  • truffle migrate to deploy contracts

Open http://localhost:8080/

web3 todos

  • warn if user is not signed in, but web3 is present

todo

Note: max gas per block is current ~8m. Buying 10 pixels at once will take roughly 400k gas. This app should probably limit purchases to 10 at a time, or split purchases into groups of 10.

notes

note: this is a private repo. if this project tanks, remember to convert back to public repo