- Notifications
You must be signed in to change notification settings - Fork163
Phala-Network/phala-blockchain
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Phala Network is the offchain computing protocol, powering the decentralized execution layer for AI agents.
Expand
System dependencies
- Ubuntu (tested with 22.04)
apt install -y build-essential pkg-config libssl-dev protobuf-compiler
- macOS
brew install protobuf
- Seehere for more protobuf installation options
Rust
curl https://sh.rustup.rs -sSf| sh
Substrate dependencies:
git submodule update --initsh ./scripts/init.sh
LLVM 14
wget https://apt.llvm.org/llvm.shchmod +x llvm.sh./llvm.sh 14
Make sure you have Rust and LLVM-10 installed.
Note for Mac users: you also need
llvm
andbinutils
from Homebrew or MacPort, and to add their binaries to your $PATH
Rungit submodule update --init
to fetch submodules before build if you haven't add option--recursive
when clone code.
cargo build --release
The build script enforces LLVM-10 or newer is used. LLVM-10 is needed because of the wasm port of rustcrypto library,ring
. We have to compile the C code into wasm while keeping the compatibility withthecurrent rustc.
Please refer tothe run scripts
- Docs: Phala Network Documentations
- Security Audit: Audit reports
- phala-docker: The production dockerfiles, including the blockchain, pherry, and pRuntime.
- Responsible Disclosure
About
Phala Network 1.0 Monorepo
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.