Phala Network is an offchain computing protocol designed to power the decentralized execution layer for AI agents. By leveraging secure and private computation, Phala Network aims to provide a robust infrastructure for decentralized applications that require high-performance computing.
Phala Blockchain stands out with several core features:
Building Phala Blockchain requires specific dependencies and steps to ensure a successful build. Below is an overview of the process:
Phala Blockchain requires several system dependencies, Rust, Substrate dependencies, and LLVM 14.
apt install -y build-essential pkg-config libssl-dev protobuf-compiler
brew install protobuf
Install Rust using the following command:
curl https://sh.rustup.rs -sSf | sh
Initialize Substrate dependencies:
git submodule update --init
sh https://github.com/Phala-Network/phala-blockchain/blob/master/scripts/init.sh
Install LLVM 14:
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
https://github.com/Phala-Network/phala-blockchain/blob/master/llvm.sh 14
Ensure you have Rust and LLVM 14 installed. Note for macOS users: you will also need llvm
and binutils
from Homebrew or MacPort, and ensure their binaries are added to your $PATH.
Fetch submodules before building if you haven't used the --recursive
option when cloning the repository:
git submodule update --init
Build the project:
cargo build --release
Detailed instructions for running Phala Blockchain can be found in the provided run scripts. Refer to the run scripts documentation for more information.
Phala Network offers extensive documentation and resources to assist developers and users:
pherry
, and pRuntime
.Phala Blockchain represents a significant advancement in the realm of decentralized and secure computation, particularly suited for AI applications. By providing a secure offchain computing protocol, Phala is paving the way for the next generation of decentralized applications and services.