awesome-phat-contracts
github.com/phala-network/awesome-phat-contracts ↗A curated list of awesome projects and resources relating to Phat Contracts
Use this list with your AI agent
Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:
"Show me consumer contract examples resources from awesome-phat-contracts"
Installation instructions →What's inside
Ink Smart Contract Examples
- Astar's Swanky CLI
The all-in-one developer environment for Parity WASM smart contracts!
- Candle Auction
an Ink! smart contract implementing a candle auction logic.
- Dead Man Switch
a dead man's switch written using ink! smart contracts.
- Nested Structs Example
a boilerplate example of using nested structs for ink! smart contracts.
- OpenBrush Library
OpenBrush is a library for smart contract development on ink!
- Parity's Ink!
Parity's ink! WASM smart contracts examples repo.
Resources
- Awesome Ink!
A curated list of awesome projects related to Parity's ink!.
- Cross-Chain Operations
KV session primitives for phat off-chain rollup.
- DevPHAse
Run a Phala local testnet and compile/test Phat Contracts in a development environment.
- Frontend SDK
frontend SDK for building UI for Phala Phat Contracts.
- Ink! Smart Contracts Docs
ink! is an eDSL to write smart contracts in Rust for blockchains built on the Substrate framework. ink! contracts are compiled to WebAssembly.
- Off-chaining Models and Approaches to Off-chain Computations
A paper written by Jacob Eberhardt & Jonathan Heiss describing off-chaining models using verifiable off-chain computation (
Past Hackathon dApps
- Darkpool DEX
a proof-of-concept Darkpool Decentralized Exchange as a dApp/smart contract on top of Phala.
- PhaPass
a password manager on Phala
- Phat 2FA
an application achieves two-factor authentication on chain, without leaking any sensitive data.
- Privacy Preserving Voting
a simple account based voting mechanism using Phat Contracts.
- RMRK Ghost Auction
a simple ghost auction that would allow RMRK NFT artists to run automated auctions while not available on Singular using HTTP requests on Phala Phat Contracts.
- SecretMD
a rich markdown editor which allows users to store and share any plain markdown file onto a distributed and confidential Phala blockchain in Polkadot ecosystem.
Phat Bricks :bricks:
- DeveloperDAO Workshop
DeveloperDAO Workshop with hashwarlock on how to deploy a LensAPI Oracle, connect a Consumer Contract on Polygon to the LensAPI Oracle, and finally connecting a UI to the Consumer Contract.
- How to Test Your First Function Locally
Learn how to test your custom JS function locally before deploying your LensAPI Oracle to PoC5 testnet or mainnet.
- LensAPI Oracle
Learn how to test your custom JS function locally before deploying your LensAPI Oracle to PoC5 testnet or mainnet.
- LensAPI Oracle Consumer Contract Template
LensAPI Oracle Consumer Contract template that connects to the LensAPI Oracle blueprint deployed on Phala Network.
- Lens Treasure HuntConsumer Contract Examples
Example of a Consumer Contract for the LensAPI Oracle to create a treasure hunt based on Lens Profiles.
- Phala Blueprint Proposals
Repo to submit issues and new proposals for blueprints to be added to the Phat Bricks UI.
Phat Contract Examples
- ETH Holder
derive an ETH ECDSA account in the Phat Contract then fund the account w/ ETH and send a raw transaction to a configured RPC Node with the
- Github Attestation
a workshop demonstrating how to write a Phat Contract with its HTTP request capability on Phala.
- Oracle Workshop
an extensive workshop demonstrating how to write an Oracle with Phat Contracts.
- Phat Bricks
Phat Bricks offers the ability to deploy applications without the need for coding. Phat Contract provides pre-defined components (Phat Bricks), and customizable templates (Blueprints) to effortlessly construct functional and efficient dApps.
- Phat Contract Examples
boilerplate examples of various Phat Contracts.
- Phat Contract Tutorials by GuiGuo12358
Phala tutorials written by community member and technical ambassador
dApps
- PrivaDEX
PrivaDEX is the cross-chain DEX aggregator native to Polkadot. As an example, you can swap from USDC (Wormhole) on Moonbeam to ARSW on Astar in one click.
Showing a sample of 49 resources. View the full list on GitHub →