Using Bitcoin contracts triggered by outside data feeds, decentralized prediction markets can be created.