The content of this page was written originally as the beginning of the Micropay game example. It was moved to this location to retain a simple demonstration of automatic transactions without complications of managing game state.
This page generates five transactions at 5-second intervals. The extension sends them to the client for processing. Then, this page periodically polls the client to follow the cycle's processing of the transactions into the blockchain.
There are five states for transactions.
In version 7 of the Chrome extension, authorization is required for automatic transactions. This page will now wait for authorization to be available before attempting to send a transaction. Attempting to send with insufficient authorization will result in a failed transaction.
The following table shows the states of the transactions as they are generated and processed.