{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/47499236f2a442ef8582c49b52c00d86\" frameborder=\"0\" width=\"1660\" height=\"1245\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1245,"width":1660,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1245,"thumbnail_width":1660,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/47499236f2a442ef8582c49b52c00d86-337f189227e7ec0b.gif","duration":337.371,"title":"HashX → hashx-live.vercel.app","description":"Due to time constraint, I couldn't make the explanation very clear in the video. Here is the deployed website for anyone to try, https://hashx-live.vercel.app/\nThe flow works something like this: \n1. First someone converts their HBAR to WHBAR using the Stake and Lock Contract.\n2. Now they can use their locked balance of WHBAR to interact with the app.\n3. Go to the Homepage to Create Contract, This will prompt to create a oracle contract and a prediction market contract.\n4. Set the Oracle Rewards and Prediction Market Rewards on the Dialog and your contract is published on-chain.\n5. Click on the small details button to check the contract details.\n6. On the oracle side, one can vote with any amount of WHBAR they wish, the Oracle rewards will be proportionally distributed among the winning voters.\n7. If you chose to setup the oracle in auto-resolution, you don't need to solve the puzzle manually, Secret Key (SK) is stored on the server, however in the manual mode, no secret is stored on the server, and anyone can solve the puzzle and claim the 5% puzzle rewards. After that, anyone can request to verify or claim.\n8. Once the Oracle timing ends, anyone can click on verify result to check and publish the results on-chain. And merkle tree for the winners is generated.\n9. Now, anyone can claim the rewards."}