Docs

Create powerful decentralized applications with Phat Contracts

Try Now!

Computation as it's meant to be

On-Chain verification.Off-Chain CapabilityPerformanceHTTPAutomationComputePotentialInteroperability.

0
Online Workers
0 vCPU
Compute
0
Cross-Chain TX
0
TX

Say hello toPhat Contract

Ethereum

ChatGPT

Polygon

Internet

ChatGPT

Ethereum

Services and DApps on L1

On-ChainWeb3

ChatGPT

Analyze text with LLM

Off-ChainWeb2

Polygon

Services and DApps on L1

On-ChainWeb3

Internet

From Any HTTP API

Off-ChainWeb2

ChatGPT

Analyze text with LLM

Off-ChainWeb2

OP L2s

Blockchain

Ethereum

Polygon

OP L2s

OP L2s

Services and DApps on L2

On-ChainWeb3

Blockchain

To the Trustless World

On-ChainWeb3

Ethereum

Services and DApps on L1

On-ChainWeb3

Polygon

Services and DApps on L1

On-ChainWeb3

OP L2s

Services and DApps on L2

On-ChainWeb3
phat
plug
programmable
verifiable

Smart Contract, Now Smarter

See the magic

FROM

NO CODE

FULL CODE

WE GOT YOU
COVERED

Accelerate

Scale your idea with prebuilt blueprints in minutes

Pick

Pick

Discover the perfect solution for your needs with our marketplace of blueprints. These community-contributed, ready-to-deploy blueprints offer a quick way to integrate off-chain capabilities into your smart contracts.

Explore all of our blueprints

Explore the marketplace today to find your ideal blueprints, streamlining your development process.

LensAPI Oracle
  • Polygon
  • EVM
  • Lens
Deploy a custom social oracle to integrate LensAPI data into your smart contracts, providing access to user profile statistics such as followers, posts, comments, and post metrics like collections, mirrors, and replies.
LIVE !

Lens Social Sync Bot

  • Lens
  • Twitter
Effortlessly sync your social media content across Twitter, Facebook, and more with this easy-to-deploy bot that automatically mirrors your posts to your Lens profile in minutes.

Referral Oracle

  • Ethereum
  • EVM
  • Substrate
  • Lens
Deploy a referral system pluggable into your Dapp in minutes, boost your reachability. Utilize the SDK to generate referral links for your audience and monitor user traffic. Easily integrates with blockchain accounts and Lens profiles, with data queryable by monetization smart contracts.

The Graph Oracle

  • The Graph
  • Ethereum
  • Substrate
  • EVM
Deploy your custom oracle for instant access to all the Subgraphs from The Graph protocol, enabling multi-chain data retrieval and aggregation in your smart contracts.

Conditional Gated Data

  • Ethereum
  • EVM
  • Substrate
  • IPFS
  • Arweave
Deploy a customized token gate or conditional decryption gateway to manage access to your on-chain or off-chain data. Facilitate secure data sharing on decentralized social, exclusive NFT content, and more.

On-chain ChatGPT Agent

  • AI
  • Ethereum
  • EVM
  • Substrate
Integrate your smart contract with a customized ChatGPT oracle for intelligent automation. Monitor blockchain events and initiate user-driven actions, create content on decentralized social platforms, and unlock more automated capabilities.
Learn about blueprints
INSPIRE
THE NEXT BLUEPRINT
Propose now

Innovate

Full power, Full control.

Empower your ideas.

Access the unique functionalities of Phat Contract

Copied!
// Send HTTP(s) requests from your Phat Contract let headers = vec![("X-Foo".into(), "Bar".into())]; let response = http_get!("https://example.com/", headers); assert_eq!(response.status_code, 200);
Cross-chain DEX aggregator

Cross-chain DEX aggregator

  • Cross-Chain Integration
  • Automation
  • HTTP Request

By utilizing Phat Contract, developers can create a cross-chain DEX aggregator that enables users to swap tokens between various blockchains while ensuring the best possible price and minimal slippage in one-click.

This solution employs Phat Contract to automatically search for the most efficient routes across DEXs and bridges. Then the Phat Contract initiates the necessary transactions on the target blockchains, executing swap and bridge operations on the user’s behalf. Transaction execution is further streamlined by automated schedulers and monitoring by indexers. To retrieve the status of these transactions, developers can query the indexers through HTTP requests.

Develop and explore
your ideas with us
  • Hang
  • Zoe
  • Shelven
Chat Now!

Pioneer

Work with us

on cutting edge research

How
It Works

Correctness

Phat Contracts are deployed to the blockchain and assigned to the offchain workers, running inside Secure Enclaves. Anyone can check the signed transactions and Secure Enclave remote attestation to verify that the executed code is the one published on the blockchain.

Replicated

Phat Contracts are deployed to one or more workers, grouped as a Cluster. The contracts in the same cluster are replicated to further guarantee the availability. Thanks to the redundancy by the Cluster design, the developer can further validate the states across the workers to...

Confidentiality

Phala Network implemented end-to-end encryption during the full Phat Contract lifecycle. Secure Enclave acts as a two-way sandbox that encrypts input, output, and internet access, protecting the secrets in the enclave against software and hardware level attack.

By the people.

For the people.

A Decentralized Off-chain Compute Infrastructure like no other.

0

Computers

0

$PHA

Today's Highlights

Get the latest Phala Content Straight To Your Inbox.