Welcome to Phala's Workshop for ETHDenver 2022! This repo is meant to provide the useful resources for your workshop experience.
Subtitle: Web3 Infrastructure: Send HTTPS requests in Fat Contract
The development of Web3 and Metaverse raises new requirements on the blockchain infrastructure. A trend of running heavy-weight applications like real-time rendering and game servers on decentralized computing services is emerging.
In this workshop, we show how Phala provides trustless computing service of over tens of thousands of nodes, and present the Fat Contract which intends to serve compute-intensive and low-latency applications which have never been executed on-chain. With its Internet access ability, you are free to utilize any existing Web2 services with tens of lines of contract code, making it a perfect choice to connect the Web2 and Web3 world.
- If you have any questions, visit here to post and get them answered
- Event link
- Rendering demo codebase
- Workshop codebase
- To interact with our Demo Fat Contract and get POAP
- Frontend: https://phala-js-sdk-example.netlify.app/
- Contract ID:
0x6cad353bad2232931ae7878b2013439bfca2576cd0c0d2c72093dc4c63c68568
- Contract's
metadata.json
: https://bit.ly/3uMUvdZ
- Use our Testnet to deploy your own contract
- Substate endpoints:
wss://poc5.phala.network/ws
/wss://poc5-2.phala.network/ws
- Secure Worker endpoints: https://poc5.phala.network/tee-api-{n} / https://poc5-2.phala.network/tee-api-{n} with (n = 1 to 5)
- Substate endpoints:
- To interact with our Demo Fat Contract and get POAP
- Launch Event: February 15th 1:00 pm MST, right after our ETHDenver Workshop
- Duration: Two weeks
- End: March 1st 1:00 pm MST
- Prize distribution period: up to one week after the end, on March 15th
There is no need to register, just come to play!
Prize ($ in PHA) | Winners |
---|---|
$100 + Phala World NFT | 1 |
$100 + Whitelist for Phala World NFT | 4 |
$100 | 5 |
The submission is not limited, just use your best imagination to find the most interesting application scenarios of Fat Contract.
While we really have some ideas for reference:
- One important features of Fat Contract is its low-latency and the scale underlying computing power, making it a good replacement as Metaverse/game backend and other compute-intensive tasks which now can only be executed on centralized cloud services;
- Another feature is the HTTP request ability. Compared with existing Oracle which can only introduce Web2 data to Web3 world, Fat Contract is able to affect the Web2 with their HTTP APIs. This facilitates applications like decentralized IFTTT that connects multiple Web2 and Web3 services.
Also, you can refer to the Advanced Submissions in our previous hackathon.
- Submit a brief introduction to the usage of your DApp
- Take a screenshot of your frontend to show your unique feature
- Send the screenshots and share your feeling on Twitter
- Join our Discord server and submit the link to your tweet in the #hackathon chat room.
You can submit through creating a new issue in this repo following our template.
Meet friends and the Phala team at our Official Discord Server!
If you have any questions about the hackathon, Phala development, or you want to report a bug, we have a #hackathon group dedicated to that.
Phala Network is a Web3.0 computing cloud that supports data privacy while remaining trustless. Unlike centralized cloud service, Phala doesnβt own any server or data center. Anyone can provide permissionless servers into Phala Network, and because of a clever combination of blockchain and secure enclave, we can make sure the servers canβt be evil even when they are in an edge network situation. Together, this creates the infrastructure for a powerful, secure, and scalable trustless computing cloud.
Some useful resources include:
- Main page
- Phala Wiki about Phala applications, mining and Fat Contract development
- Discord channel and Forum to discuss with us and our community members directly
- Medium and Twitter to learn about our latest progress