adeen-s/Blockendance ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple attendance app that stores records in a blockchain instead of a normal database. I want it to let a user add attendance entries through a web page, save them as blocks with a genesis block, and show the full chain in a readable way. Each block should include the index, time, attendance data, the previous block hash, and its own hash, and the app should be able to check whether the chain is still valid or if anything has been tampered with.

Please make it work as a small Flask app with a clean web interface, and include basic pages for adding data, viewing a block, viewing the whole chain, and seeing simple stats or analytics. It should also be able to export the records, and keep the code organized into separate Python files for the block logic, chain creation, validation, and persistence. If you need to look up current Flask docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab