{"id":31622832,"url":"https://github.com/zen-eth/eth-p2p-z","last_synced_at":"2025-10-06T17:35:56.914Z","repository":{"id":265820598,"uuid":"896696880","full_name":"zen-eth/eth-p2p-z","owner":"zen-eth","description":"Ethereum p2p implementation in Zig","archived":false,"fork":false,"pushed_at":"2025-10-05T08:29:37.000Z","size":581,"stargazers_count":19,"open_issues_count":31,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-05T10:26:07.152Z","etag":null,"topics":["beacon-chain","gossipsub","lean-ethereum","libp2p","libp2p-muxer","libp2p-pubsub","libp2p-security","libp2p-transport","multistream","quic","zig","zig-package","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zen-eth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-01T03:57:41.000Z","updated_at":"2025-10-02T09:52:12.000Z","dependencies_parsed_at":"2024-12-01T04:33:02.003Z","dependency_job_id":"0d14ca8d-1c20-4671-ad34-a868a0229403","html_url":"https://github.com/zen-eth/eth-p2p-z","commit_stats":null,"previous_names":["zen-eth/zig-libp2p","zen-eth/eth-p2p-z"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zen-eth/eth-p2p-z","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-eth%2Feth-p2p-z","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-eth%2Feth-p2p-z/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-eth%2Feth-p2p-z/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-eth%2Feth-p2p-z/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zen-eth","download_url":"https://codeload.github.com/zen-eth/eth-p2p-z/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zen-eth%2Feth-p2p-z/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278649635,"owners_count":26022151,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["beacon-chain","gossipsub","lean-ethereum","libp2p","libp2p-muxer","libp2p-pubsub","libp2p-security","libp2p-transport","multistream","quic","zig","zig-package","ziglang"],"created_at":"2025-10-06T17:35:52.968Z","updated_at":"2025-10-06T17:35:56.909Z","avatar_url":"https://github.com/zen-eth.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zig-libp2p\n\nZig implementation of [libp2p](https://libp2p.io/), a modular network stack that allows you to build your own peer-to-peer applications.\n\n**Note**: This is a work in progress and not yet ready for production use. The API may change frequently as we iterate on the design and implementation.\n\n## Prerequisites\n\n- Zig 0.14.1\n\n## Building\n\nTo build the project, run the following command in the root directory of the project:\n\n```bash\nzig build -Doptimize=ReleaseSafe\n```\n\n## Running Tests\n\nTo run the tests, run the following command in the root directory of the project:\n\n```bash\nzig build test --summary all\n```\n\n# Usage\n\nUpdate `build.zig.zon`:\n\n```sh\nzig fetch --save git+https://github.com/zen-eth/zig-libp2p.git\n```\n\nIn your `build.zig`:\n\n```zig\nconst libp2p_dep = b.dependency(\"libp2p\", .{\n    .target = target,\n    .optimize = optimize,\n});\nconst libp2p_module = libp2p_dep.module(\"zig-libp2p\");\nroot_module.addImport(\"libp2p\", libp2p_module);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzen-eth%2Feth-p2p-z","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzen-eth%2Feth-p2p-z","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzen-eth%2Feth-p2p-z/lists"}