{"id":15956072,"url":"https://github.com/stateless-consensus/phant","last_synced_at":"2025-03-18T00:30:30.131Z","repository":{"id":257459942,"uuid":"666894665","full_name":"stateless-consensus/phant","owner":"stateless-consensus","description":"A stateless Ethereum execution client","archived":false,"fork":false,"pushed_at":"2025-01-31T21:07:47.000Z","size":636,"stargazers_count":27,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T01:02:07.758Z","etag":null,"topics":["blockchain","ethereum","stateless"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stateless-consensus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-07-16T00:18:39.000Z","updated_at":"2025-02-25T17:33:30.000Z","dependencies_parsed_at":"2025-01-31T22:29:52.354Z","dependency_job_id":null,"html_url":"https://github.com/stateless-consensus/phant","commit_stats":null,"previous_names":["jsign/phant","stateless-consensus/phant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stateless-consensus%2Fphant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stateless-consensus%2Fphant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stateless-consensus%2Fphant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stateless-consensus%2Fphant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stateless-consensus","download_url":"https://codeload.github.com/stateless-consensus/phant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893559,"owners_count":20364914,"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":["blockchain","ethereum","stateless"],"created_at":"2024-10-07T13:28:22.283Z","updated_at":"2025-03-18T00:30:29.572Z","avatar_url":"https://github.com/stateless-consensus.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phant\n\nAn experimental Zig Ethereum client.\n\n## Setup\n\nThis repo is very experimental, so you have to do some things once.\n\nWe use the [Zig v0.13](https://ziglang.org/download/) compiler version.\n\n### Initialize git submodules\n\nAfter pulling this repo for the first time, do:\n\n1. `git submodule init`\n2. `git submodule update -v`\n\n## Running tests\n\nYou can run _something_ here with:\n\n- `zig build test`: it attempts to run a particular [exec-spec-tests](https://github.com/ethereum/execution-spec-tests) fixture `exec-spec/tests/fixtures/exec-spec/fixture.json`, which is an official spec test fixture. This does a bunch of decoding into EVM types, creates a `statedb` with pre-state (and post-state for posterior check), and tries to execute the block transactions.\n\nNow, everything is quite messy until we have a passing test for this official exec-spec-test fixture.\n\nProbably after that, we can refactor a bit the code to create proper modules and define some clear path forward in each module.\n\n## Running the client\n\nTo run the (wip) client, type\n\n```\nzig build run\n```\n\nBy default, the network is mainnet. You can run the sepolia chain configuration by using the `network_id` option:\n\n```\nzig build run -- --network_id Sepolia\n```\n\nAny other network requires its own _chainspec_ file. You can run a custom chainspec by using the `chainspec` option:\n\n```\nzig build run -- --chainspec \u003cpath to chainspec\u003e.json\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstateless-consensus%2Fphant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstateless-consensus%2Fphant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstateless-consensus%2Fphant/lists"}