Creating a proof of work blockchain for decentralized apps