Search

Search for projects by name

Phala logoPhala

Badges

About

Phala is cloud computing protocol which aims at offering developers a secure and efficient platform for deploying and managing AI-ready applications in a trusted environment (TEE). Phala rollup on Ethereum leverages the Op-Succinct stack, a...


Value secured
$2.87 K3.77%
Canonically Bridged
$2.87 K
Externally Bridged
$0.00
Natively Minted
$0.00

  • Tokens
  • Past day UOPS
    No data
  • 30D ops count
    No data

  • Stage
  • Type
    ZK Rollup
  • Purpose
    Universal
  • Sequencer failureState validationData availabilityExit windowProposer failure

    Badges

    About

    Phala is cloud computing protocol which aims at offering developers a secure and efficient platform for deploying and managing AI-ready applications in a trusted environment (TEE). Phala rollup on Ethereum leverages the Op-Succinct stack, a...

    Value Secured
    Canonical
    External
    Native
    Onchain costs

    The section shows the operating costs that L2s pay to Ethereum.


    Calldata
    Blobs
    Compute
    Overhead

    Milestones & Incidents

    Phala Network Launch

    2025 Jan 8th

    Phala Network is live on Ethereum mainnet.

    Learn more
    Risk summary
    Risk analysis
    Sequencer failureState validationData availabilityExit windowProposer failure

    Sequencer failure

    Self sequence

    In the event of a sequencer failure, users can force transactions to be included in the project’s chain by sending them to L1. There can be up to a 12h delay on this operation.

    State validation

    ZK proofs (SN)

    SNARKs are zero knowledge proofs that ensure state correctness, but require trusted setup.

    Data availability

    Onchain

    All of the data needed for proof construction is published on Ethereum L1.

    Exit window

    None

    There is no window for users to exit in case of an unwanted regular upgrade since contracts are instantly upgradable.

    Proposer failure

    Cannot withdraw

    Only the whitelisted proposers can publish state roots on L1, so in the event of failure the withdrawals are frozen.

    Rollup stagePhalaPhala is a
    Stage 0
    ZK Rollup.

    Learn more about Rollup stages
    Please keep in mind that these stages do not reflect rollup security, this is an opinionated assessment of rollup maturity based on subjective criteria, created with a goal of incentivizing projects to push toward better decentralization. Each team may have taken different paths to achieve this goal.
    Technology

    Validity proofs ensure state correctness

    Each update to the system state must be accompanied by a ZK proof that ensures that the new state was derived by correctly applying a series of valid user transactions to the previous state. These proofs are then verified on Ethereum by a smart contract. Through the SuccinctL2OutputOracle, the system also allows to switch to an optimistic mode, in which no proofs are required and a challenger can challenge the proposed output state root within the finalization period.

    • Funds can be stolen if in non-optimistic mode, the validity proof cryptography is broken or implemented incorrectly.

    • Funds can be stolen if optimistic mode is enabled and no challenger checks the published state.

    • Funds can be stolen if the proposer routes proof verification through a malicious or faulty verifier by specifying an unsafe route id.

    • Funds can be frozen if the permissioned proposer fails to publish state roots to the L1.

    • Funds can be frozen if in non-optimistic mode, the SuccinctGateway is unable to route proof verification to a valid verifier.

    1. Op-Succinct architecture

    Zero knowledge SNARK cryptography is used

    Despite their production use zkSNARKs are still new and experimental cryptography. Cryptography has made a lot of advancements in the recent years but all cryptographic solutions rely on time to prove their security. In addition zkSNARKs require a trusted setup to operate.

    1. Op-Succinct architecture

    All data required for proofs is published on chain

    All the data that is used to construct the system state is published on chain in the form of cheap blobs or calldata. This ensures that it will be available for enough time.

    1. BatchInbox - Etherscan address
    Learn more about the DA layer here: Ethereum logoEthereum
    Operator

    The system has a centralized operator

    The operator is the only entity that can propose blocks. A live and trustworthy operator is vital to the health of the system.

    • MEV can be extracted if the operator exploits their centralized position and frontruns user transactions.

    1. SuccinctL2OutputOracle.sol - Etherscan source code, CHALLENGER address
    2. SuccinctL2OutputOracle.sol - Etherscan source code, PROPOSER address
    Withdrawals

    Regular exit

    The user initiates the withdrawal by submitting a regular transaction on this chain. When the block containing that transaction is settled the funds become available for withdrawal on L1. Once funds are added to the withdrawal queue, operator must ensure there is enough liquidity for withdrawals. If not, they need to reclaim tokens from Yield Providers.

    1. OptimismPortal.sol - Etherscan source code, proveWithdrawalTransaction function
    2. OptimismPortal.sol - Etherscan source code, finalizeWithdrawalTransaction function
    3. SuccinctL2OutputOracle.sol - Etherscan source code, PROPOSER check
    Permissions

    Ethereum

    Roles:

    Allowed to pause deposits and withdrawals.

    Used in:

    Sequencer 0x9Fb2…C761

    Allowed to commit transactions from the current layer to the host chain.

    Actors:

    ConduitMultisig 0x4a49…A746
    • A Multisig with 4 / 9 threshold.
    • Can act on behalf of ProxyAdmin.
    • Is allowed to interact with AddressManager - set and change address mappings - acting via ProxyAdmin.
    • Is allowed to interact with OPSuccinctL2OutputOracle - can toggle between the optimistic mode and not optimistic (ZK) mode.
    • Is allowed to interact with SystemConfig - it can update the preconfer address, the batch submitter (Sequencer) address and the gas configuration of the system.
    • Can upgrade the implementation of L1StandardBridge - upgrading the bridge implementation can give access to all funds escrowed therein - acting via ProxyAdmin.
    • Can upgrade the implementation of OptimismPortal, L1ERC721Bridge, OPSuccinctL2OutputOracle, SystemConfig, SuperchainConfig, OptimismMintableERC20Factory - acting via ProxyAdmin.

    Used in:

    OpFoundationOperationsSafe 0x9BA6…6b3A
    • A Multisig with 5 / 7 threshold.
    • A Guardian.

    Used in:

    SuccinctGatewaySP1Multisig 0xCafE…6878
    • A Multisig with 2 / 3 threshold.
    • Is allowed to interact with SP1VerifierGateway - holds the power to affect the liveness and safety of the gateway - can transfer ownership, add and freeze verifier routes.

    Used in:

    SP1Verifier 0xE00a…EC63

    Is allowed to interact with SP1VerifierGateway - can verify proofs for the header range [latestBlock, targetBlock] proof.

    GnosisSafe 0x42d2…9c64
    • A Multisig with 2 / 2 threshold.
    • Member of OpFoundationOperationsSafe.

    Participants (2):

    0xb237…97A50x4665…7429

    Used in:

    Smart contracts
    A diagram of the smart contract architecture
    A diagram of the smart contract architecture

    Ethereum

    Sends messages from host chain to this chain, and relays messages back onto host chain. In the event that a message sent from host chain to this chain is rejected for exceeding this chain’s epoch gas limit, it can be resubmitted via this contract’s replay function.

    ProxyAdmin 0x198A…Ab2E
    • Can be used to interact with AddressManager - set and change address mappings.
    • Can be used to upgrade implementation of L1StandardBridge - upgrading the bridge implementation can give access to all funds escrowed therein.
    • Can be used to upgrade implementation of OptimismPortal, L1ERC721Bridge, OPSuccinctL2OutputOracle, SystemConfig, SuperchainConfig, OptimismMintableERC20Factory.
    SP1VerifierGateway 0x3B60…185e

    This contract is the router for zk proof verification. It stores the mapping between identifiers and the address of onchain verifier contracts, routing each identifier to the corresponding verifier contract.

    Implementation used in:

    AddressManager 0x51D5…8c06

    Legacy contract used to manage a mapping of string names to addresses. Modern OP stack uses a different standard proxy system instead, but this contract is still necessary for backwards compatibility with several older contracts.

    The main entry point to deposit ERC20 tokens from host chain to this chain. This contract can store any token.

    The main entry point to deposit funds from host chain to this chain. It also allows to prove and finalize withdrawals. This contract stores the following tokens: ETH.

    Used to bridge ERC-721 tokens from host chain to this chain.

    Contains a list of proposed state roots which Proposers assert to be a result of block execution. The SuccinctL2OutputOracle modifies the L2OutputOracle to support whenNotOptimistic mode, in which a validity proof can be passed as input argument to the proposeL2Output function.

    SP1Verifier 0xd283…1d16

    Implementation used in:

    Contains configuration parameters such as the Sequencer address, gas limit on this chain and the unsafe block signer address.

    This is NOT the shared SuperchainConfig contract of the OP stack Superchain but rather a local fork. It manages the PAUSED_SLOT, a boolean value indicating whether the local chain is paused, and GUARDIAN_SLOT, the address of the guardian which can pause and unpause the system.

    A helper contract that generates OptimismMintableERC20 contracts on the network it’s deployed to. OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the L1StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as this chain’s representation of a token on the host chain, or vice-versa.

    Value Secured is calculated based on these smart contracts and tokens:

    The current deployment carries some associated risks:

    • Funds can be stolen if the contracts or their dependencies (e.g. SuccinctGateway) receive a malicious code upgrade. There is no delay on upgrades.