{"id":29840495,"url":"https://github.com/0xeigenlabs/eigen-zeth","last_synced_at":"2025-07-29T14:16:31.798Z","repository":{"id":229932150,"uuid":"777708720","full_name":"0xEigenLabs/eigen-zeth","owner":"0xEigenLabs","description":"A \"Type 0\" zkEVM","archived":false,"fork":false,"pushed_at":"2025-03-30T02:22:32.000Z","size":300,"stargazers_count":12,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T03:23:09.657Z","etag":null,"topics":["zkevm"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/0xEigenLabs.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}},"created_at":"2024-03-26T11:18:40.000Z","updated_at":"2025-03-29T10:11:18.000Z","dependencies_parsed_at":"2024-05-29T16:05:59.901Z","dependency_job_id":"a66ffd17-4b69-43cc-9f65-e222c4b241ef","html_url":"https://github.com/0xEigenLabs/eigen-zeth","commit_stats":null,"previous_names":["0xeigenlabs/eigen-zeth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xEigenLabs/eigen-zeth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xEigenLabs%2Feigen-zeth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xEigenLabs%2Feigen-zeth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xEigenLabs%2Feigen-zeth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xEigenLabs%2Feigen-zeth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xEigenLabs","download_url":"https://codeload.github.com/0xEigenLabs/eigen-zeth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xEigenLabs%2Feigen-zeth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267701619,"owners_count":24130457,"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-07-29T02:00:12.549Z","response_time":2574,"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":["zkevm"],"created_at":"2025-07-29T14:16:29.176Z","updated_at":"2025-07-29T14:16:31.793Z","avatar_url":"https://github.com/0xEigenLabs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eigen-zeth\n\n* Init the layer 1 chain\n\n```shell\nrm -rf tmp/layer1\nreth init --datadir tmp/layer1/chain --chain testdata/layer1/chain.json\nRUST_LOG=\"debug,evm=trace,consensus::auto=trace,consensus::engine=trace,rpc::eth=trace\" nohup reth node -d --chain testdata/layer1/chain.json --datadir tmp/layer1/chain --auto-mine --http --http.port 8547 --http.api debug,eth,net,trace,web3,rpc --port 30305 --authrpc.port 8553 \u003e chain_layer1.log 2\u003e\u00261 \u0026\n```\n\n* Init the layer2 chain and rollup service\n\n```shell\nrm -rf tmp/layer2\nrm -rf tmp/operator\ncargo run -r -- init --datadir tmp/layer2/chain --chain testdata/layer2/chain.json\nPROVER_ADDR=http://localhost:50061 RUST_LOG=\"debug,evm=trace,consensus::auto=trace,consensus::engine=trace,rpc::eth=trace\" nohup cargo run -r -- run --database mdbx --log-level debug --chain testdata/layer2/chain.json --http --http.port 8546 --http.api debug,eth,net,trace,web3,rpc --authrpc.port 8552 --port 30304 --datadir tmp/layer2/chain --auto-mine \u003e chain_layer2.log 2\u003e\u00261 \u0026\n```\n\n\n* Call custom method\n```\ncurl -H \"Content-Type: application/json\" -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"eigenrpc_customMethod\",\"params\":[],\"id\": 10}' 127.0.0.1:8546\n\ncurl -H \"Content-Type: application/json\" -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"eigenrpc_getBlockByNumber\",\"params\":[0],\"id\": 10}' 127.0.0.1:8546\n\ncurl -H \"Content-Type: application/json\" -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"eigenrpc_getBatchProof\",\"params\":[0],\"id\": 10}' 127.0.0.1:8546\n```\n\nYou can also use [cast](https://github.com/foundry-rs/foundry/releases).\n\n```\ncast rpc --rpc-url http://localhost:8546 eigenrpc_customMethod\n\ncast rpc --rpc-url http://localhost:8546 eigenrpc_getBlockByNumber 0\n\ncast rpc --rpc-url http://localhost:8546 eigenrpc_getBatchProof 0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xeigenlabs%2Feigen-zeth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xeigenlabs%2Feigen-zeth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xeigenlabs%2Feigen-zeth/lists"}