
Crosschain API
Leveraging the compute power of Phala Network on Polkadot, we can bring offchain APIs to any EVM network. This this hack, we call an Youtube API to prediction bet how many views a video will get on Scroll Network
About
We create a TypeScript function, referred to as a "phat" function, that allows us to leverage the computing power of the Phala Network on Polkadot to bring the API call onchain. Building the API Call: We build the API call leveraging Phala Network's pink HTTP request.
The team's full description and how it's made, and their demo video, are on ETHGlobal.