Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Phala-Network/phala-blockchain
The Phala Network Blockchain, pRuntime and the bridge.
https://github.com/Phala-Network/phala-blockchain
Last synced: 3 months ago
JSON representation
The Phala Network Blockchain, pRuntime and the bridge.
- Host: GitHub
- URL: https://github.com/Phala-Network/phala-blockchain
- Owner: Phala-Network
- License: apache-2.0
- Created: 2020-01-08T02:14:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T16:54:41.000Z (7 months ago)
- Last Synced: 2024-04-14T10:47:39.140Z (7 months ago)
- Language: Rust
- Homepage: https://phala.network
- Size: 102 MB
- Stars: 329
- Watchers: 34
- Forks: 147
- Open Issues: 105
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-rust - Phala-Network/phala-blockchain
- Awesome-SGX-Open-Source - https://github.com/Phala-Network/phala-blockchain
- awesome-rust-cn - Phala-Network/phala-blockchain
- awesome-sgx - phala-blockchain - Phala Network is a blockchain-based confidential computing cloud. (BlockChain)
- awesome-tee-blockchain - Phala-Network/phala-blockchain - The Phala Network Blockchain, pRuntime and the bridge. (Repositories / Rust)
- awesome-rust - Phala-Network/phala-blockchain - Confidential smart contract blockchain based on Intel SGX and Substrate (Applications / Blockchain)
- best-of-crypto - GitHub - 35% open · ⏱️ 31.05.2024): (Others)
- fucking-awesome-rust - Phala-Network/phala-blockchain - Confidential smart contract blockchain based on Intel SGX and Substrate (Applications / Blockchain)
- fucking-awesome-rust - Phala-Network/phala-blockchain - Confidential smart contract blockchain based on Intel SGX and Substrate (Applications / Blockchain)
README
# Phala Blockchain
![Build](https://github.com/Phala-Network/phala-blockchain/actions/workflows/build.yml/badge.svg)
Phala Network is the offchain computing protocol, powering the decentralized execution layer for AI agents.
## Native Build
### Dependencies
Expand
- System dependencies
- Ubuntu (tested with 22.04)
```bash
apt install -y build-essential pkg-config libssl-dev protobuf-compiler
```- macOS
```bash
brew install protobuf
```- See [here](https://grpc.io/docs/protoc-installation/) for more protobuf installation options
- Rust
```bash
curl https://sh.rustup.rs -sSf | sh
```- Substrate dependencies:
```bash
git submodule update --init
sh ./scripts/init.sh
```- LLVM 14
```bash
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh 14
```### Build the blockchain and bridge
Make sure you have Rust and LLVM-10 installed.
> Note for Mac users: you also need `llvm` and `binutils` from Homebrew or MacPort, and to add their binaries to your $PATH
Run `git submodule update --init` to fetch submodules before build if you haven't add option `--recursive ` when clone code.
```bash
cargo build --release
```The build script enforces LLVM-10 or newer is used. LLVM-10 is needed because of the wasm port of rust
crypto library, `ring`. We have to compile the C code into wasm while keeping the compatibility with
the _current_ rustc.## Run
Please refer to [the run scripts](./scripts/run)
## Sub-pages
- [RPC](./docs/rpc.md): RPC documentations
- [Test](./docs/test.md): How to test the components## External Resources
- [Docs](https://docs.phala.network): Phala Network Documentations
- [Security Audit](./audit): Audit reports
- [phala-docker](https://github.com/Phala-Network/phala-docker): The production dockerfiles, including the blockchain, pherry, and pRuntime.
- [Responsible Disclosure](./docs/responsible-disclosure.md)