{"id":13634750,"url":"https://github.com/Phala-Network/phala-blockchain","last_synced_at":"2025-04-18T23:33:17.837Z","repository":{"id":36965563,"uuid":"232457891","full_name":"Phala-Network/phala-blockchain","owner":"Phala-Network","description":"The Phala Network Blockchain, pRuntime and the bridge.","archived":false,"fork":false,"pushed_at":"2024-04-12T16:54:41.000Z","size":107004,"stargazers_count":329,"open_issues_count":105,"forks_count":147,"subscribers_count":34,"default_branch":"master","last_synced_at":"2024-04-14T10:47:39.140Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://phala.network","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Phala-Network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-01-08T02:14:13.000Z","updated_at":"2024-07-12T17:41:04.911Z","dependencies_parsed_at":"2024-01-01T02:37:15.109Z","dependency_job_id":"f73b1ecc-815c-49ed-98f3-ac5e3d806b3b","html_url":"https://github.com/Phala-Network/phala-blockchain","commit_stats":{"total_commits":4049,"total_committers":38,"mean_commits":"106.55263157894737","dds":0.5524820943442825,"last_synced_commit":"60242c79535898c37d0a16364d2ada15b33d3465"},"previous_names":[],"tags_count":460,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phala-Network%2Fphala-blockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phala-Network%2Fphala-blockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phala-Network%2Fphala-blockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phala-Network%2Fphala-blockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Phala-Network","download_url":"https://codeload.github.com/Phala-Network/phala-blockchain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223786390,"owners_count":17202581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T00:00:32.796Z","updated_at":"2024-11-09T04:31:09.489Z","avatar_url":"https://github.com/Phala-Network.png","language":"Rust","funding_links":[],"categories":["Applications","Blockchains","BlockChain","Rust","应用程序 Applications","Codes \u0026 Repos","Code Repositories","Others"],"sub_categories":["Blockchain","Library OSes and SDKs","Cryptocurrencies","加密货币 Cryptocurrencies","Rust"],"readme":"# Phala Blockchain\n\n![Build](https://github.com/Phala-Network/phala-blockchain/actions/workflows/build.yml/badge.svg)\n\nPhala Network is the offchain computing protocol, powering the decentralized execution layer for AI agents.\n\n## Native Build\n\n### Dependencies\n\n\u003cdetails\u003e\u003csummary\u003eExpand\u003c/summary\u003e\n\n- System dependencies\n  - Ubuntu (tested with 22.04)\n  ```bash\n  apt install -y build-essential pkg-config libssl-dev protobuf-compiler\n  ```\n\n  - macOS\n  ```bash\n  brew install protobuf\n  ```\n\n  - See [here](https://grpc.io/docs/protoc-installation/) for more protobuf installation options\n\n- Rust\n\n  ```bash\n  curl https://sh.rustup.rs -sSf | sh\n  ```\n\n- Substrate dependencies:\n\n   ```bash\n   git submodule update --init\n   sh ./scripts/init.sh\n   ```\n\n- LLVM 14\n\n  ```bash\n  wget https://apt.llvm.org/llvm.sh\n  chmod +x llvm.sh\n  ./llvm.sh 14\n  ```\n\n\u003c/details\u003e\n\n### Build the blockchain and bridge\n\nMake sure you have Rust and LLVM-10 installed.\n\n\u003e Note for Mac users: you also need `llvm` and `binutils` from Homebrew or MacPort, and to add their binaries to your $PATH\n\nRun `git submodule update --init` to fetch submodules before build if you haven't add option `--recursive ` when clone code.\n\n```bash\ncargo build --release\n```\n\nThe build script enforces LLVM-10 or newer is used. LLVM-10 is needed because of the wasm port of rust\ncrypto library, `ring`. We have to compile the C code into wasm while keeping the compatibility with\nthe _current_ rustc.\n\n## Run\n\nPlease refer to [the run scripts](./scripts/run)\n\n## Sub-pages\n\n- [RPC](./docs/rpc.md): RPC documentations\n- [Test](./docs/test.md): How to test the components\n\n## External Resources\n\n- [Docs](https://docs.phala.network): Phala Network Documentations\n- [Security Audit](./audit): Audit reports\n- [phala-docker](https://github.com/Phala-Network/phala-docker): The production dockerfiles, including the blockchain, pherry, and pRuntime.\n- [Responsible Disclosure](./docs/responsible-disclosure.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhala-Network%2Fphala-blockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPhala-Network%2Fphala-blockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhala-Network%2Fphala-blockchain/lists"}