phala-network / amsterdot-2022 Goto Github PK
View Code? Open in Web Editor NEWPhala x amsterDOT Hackathon 2022
Phala x amsterDOT Hackathon 2022
twitter:
https://twitter.com/deludashuisme/status/1537952078315737094?s=21&t=o9W_hO6N8F1cCumhQxCa0A
discord:
dannywang#7715
On this page, you will find everything you need to participant in the Phala bounties in the amsterDOT Hackathon event.
Phala Network is a Kusama/Polakdot parachain focusing on trustless cloud computing, based on Secure Enclave technology. Unlike conventional smart contracts, Phala Fat Contracts can:
To learn more about what you can build on Phala, please read the challenge ideas, refer to our documentation.
Check out the hackathon landing page for more details and information.
The challenges are in two categories: (1) Beginner, (2) Advanced.
Challenge | Prize (in PHA) | Winners |
---|---|---|
Beginner Challenge | 500 | 50 |
Advanced - 1st | 5000 | 1 |
Advanced - 2nd | 3500 | 1 |
Advanced - 3rd | 1750 | 1 |
Advanced - qualified | 800 | - |
The contribution can be:
TBA
In this challenge, you will experience how to use Fat Contract's HTTP request capability to associate a Phala account with a Github user. Such functionality serves as the core for Decentralized Identity (DID). Further, we will show how to deploy your contract in Phala Testnet and interact with it through our frontend SDK.
The Fat Contract "Redeem POAP" links on-chain accounts to Github accounts and then distributes POAP redeem code to the verified users. The simple protocol is listed below:
Attestation
struct with the Github username and the account id, and signs it with a contract-owned key (by Fat Contract's confidentiality and cryptographic feature)SignedAttestation
, and then submit the attestation to the contract by a redeem
commandBy the end of this task, you will be able to:
Follow our Tutorial for detailed instructions.
Submit the challenge at this repo: You need to submit the work to this repo as a Github Issue after you have finished the above steps. Please create an issue in this repository with the following information:
We will select the first 50 successful submissions to give out the prize, based on the submission date on the Github issue list.
This starter template has been build for the Advanced Phala Challenge of the amsterDOT hackathon. The template can be a start for developers who want to try the Phala privacy-preserving fat contract feature, in combination with wallet accounts from PolkadotJs.
The template can for example be expanded to build more advanced features like:
In the current Phala js-sdk examples, I missed an easy example that would allow me to do something with multiple PolkadotJs accounts. This seemed like a fun challenge to figure out myself. So I decided to build a simple account based voting mechanism, that is still making use of the Phala fat contract benefits! ๐
0x64634772085d8ab106d20cfb73b6fac0a0d4fc3720df05ff3d5349626eb4c813
Contract is deployed on the Phala Testnet, in cluster:
0x0000000000000000000000000000000000000000000000000000000000000000
Smart contract: https://github.com/marlowl/ink-voter-contract
Frontend: https://github.com/marlowl/js-sdk/tree/amsterDot-2022
https://twitter.com/marl0wl/status/1524435176872361985
marlowl
Twitter link: https://twitter.com/realsoptq/status/1520777094875140097
Discord handler: Soptq#9775
Tweet Link
Discord: binston#1387
Twitter link: https://twitter.com/HaunschildDavid/status/1520029262211956738
Discord handler: Hauni#5361
Twitter link: https://twitter.com/byteslicer/status/1518673657425534989
Discord: byteslicer#6706
Twitter link: https://twitter.com/marl0wl/status/1518190612096368640
Discord handler: marlowl
Twitter link: https://twitter.com/RuiLiTech/status/1522446995389964288
Discord handler: Rui#4935
Twitter: https://twitter.com/LSzenthe/status/1530277458729213952?s=20&t=RsM3_mNCkwMvtjLX-ZARvw
Discord: Laszlo#8350
Twitter link: https://twitter.com/kmcodes_dev/status/1518386515121954817
Discord handler: kmcodes#4629
https://discord.com/channels/697726436211163147/967746210712662066/973830381835005972
Discord handle: felixwatts
On this page, you will find everything you need to participant in the Phala bounties in the amsterDOT Hackathon event.
Phala Network is a Kusama/Polakdot parachain focusing on trustless cloud computing, based on Secure Enclave technology. Unlike conventional smart contracts, Phala Fat Contracts can:
To learn more about what you can build on Phala, please read the challenge ideas, refer to our documentation.
Check out the hackathon landing page for more details and information.
The challenges are in two categories: (1) Beginner, (2) Advanced.
Challenge | Prize (in PHA) | Winners |
---|---|---|
Beginner Challenge | 500 | 50 |
Advanced - 1st | 5000 | 1 |
Advanced - 2nd | 3500 | 1 |
Advanced - 3rd | 1750 | 1 |
Advanced - qualified | 800 | - |
The contribution can be:
TBA
In this challenge, you are going to build a fully functional DApp on Phala Confidential Cloud.
A qualified DApp should be useful to solve some real-world problems or bring fun to people. It should also address the unique features of Phala (privacy-preserving, CPU extensive, or with HTTP requests)
While we really have some ideas for reference:
Also, you can refer to the Advanced Submissions in our previous hackathon.
Suggested Ideas include:
If your idea requires features which is not yet provided by Fat Contract, try contacting us in Discord to see how it can be improved.
Submit the challenge at this repo: You need to submit the work to this repo as a Github Issue after you have finished the above steps. Please create an issue in this repository with the following information:
When the hackathon is finished, the Phala team will judge the submission and pick up the winners of prizes.
https://github.com/Soptq/fat-p2fa
This application is possible to serve as a second layer for wallet protections. Nowadays, the loss of private keys or mnemonic phrases generally predicts the loss of wallets. However, if one enables 2FA on chain, even the private keys are lost, funds can be still safe.
Live site (on POC-5 Testnet): https://fat-p2fa.vercel.app/p2fa
https://twitter.com/realsoptq/status/1528630441540206592?s=20&t=uIwuB_qxcw3JY9LY0LTEIQ
Soptq#9775
Tweet: https://twitter.com/VittoriDavid/status/1531202350244937733?s=20&t=SLPwtygHZg_L_Q12dZU0EQ
Handler: vittdav#8953
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.