emre / dpoll.xyz

Decentralized poll app on the top HIVE blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A custom management command to publish results as a post on STEEM blockchain

emre opened this issue · comments

We need a custom management command/script constantly checks for the expiration of the polls. If it sees an expired poll, it should post to STEEM blockchain with the original poll and results. (preferably with some cool graphs.)

In order to prevent double posting, adding a boolean field to the Question model (results_are_sent) might be helpful. After the command publishes the results, it can mark that field as True.

I will add a markdown content (draft) to this issue later on. :)