One million pixel image, controlled by remarks on a Substrate blockchain.
You can test this app by running a local Substrate node.
-
Start the Substrate node (connects on
ws://127.0.0.1:9944orwss://dev-node.substrate.dev:9944) -
Start the app with
yarn && yarn start -
Open the Polkadot UI to submit an extrinsic.
-
Call
system > remarkwith the following_remark: Bytesas a hex string:0x1337xxxyyyccccccNote this hex string is read litterally (lol)
1337is the magic identifier to that the app uses to make sure the message is for this appxxxis a number from 000-999 describing the x coordinates of the pixelyyyis a number from 000-999 describing the y coordinates of the pixelccccccis a hex encoded RGB color of the pixel. So000000is black,ffffffis white,ff0000is red, etc...
-
Submit the extrinsic, and look at the updated
image.bmp.