{"id":19730800,"url":"https://github.com/mikiw/eth-node-handshake","last_synced_at":"2026-05-11T13:33:15.156Z","repository":{"id":229672978,"uuid":"753237254","full_name":"mikiw/eth-node-handshake","owner":"mikiw","description":"Minimalistic ethereum node handshake written in rust","archived":false,"fork":false,"pushed_at":"2024-02-12T13:04:45.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T03:28:21.726Z","etag":null,"topics":["ethereum","protocol","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/mikiw.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":"2024-02-05T18:23:19.000Z","updated_at":"2024-03-25T16:31:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"067977bb-9345-40b3-a0ec-ee05ca92888e","html_url":"https://github.com/mikiw/eth-node-handshake","commit_stats":null,"previous_names":["mikiw/eth-node-handshake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikiw/eth-node-handshake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikiw%2Feth-node-handshake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikiw%2Feth-node-handshake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikiw%2Feth-node-handshake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikiw%2Feth-node-handshake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikiw","download_url":"https://codeload.github.com/mikiw/eth-node-handshake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikiw%2Feth-node-handshake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32896932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":["ethereum","protocol","rust","rust-lang"],"created_at":"2024-11-12T00:17:47.010Z","updated_at":"2026-05-11T13:33:15.136Z","avatar_url":"https://github.com/mikiw.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ethereum node handshake\n\nMinimalistic ethereum node handshake mainly based on [devp2p](https://github.com/ethereum/devp2p) and [rust-devp2p](https://github.com/vorot93/devp2p).\n\nGet remote enode of node from [here](https://ethernodes.org/nodes) and pass it as CLI argument:\n```\ncargo run enode://5eadf96217fa7a71010a709a7aceb4c0c541d7123865d430854ca1207e84d55242cfb34e99be7de213587db643de9a7f1ee3202a93d9fbfab58610ef9668a4b4@44.200.140.248:30303\n    Finished dev [unoptimized + debuginfo] target(s) in 0.28s\n     Running `target/debug/eth-node-handshake 'enode://5eadf96217fa7a71010a709a7aceb4c0c541d7123865d430854ca1207e84d55242cfb34e99be7de213587db643de9a7f1ee3202a93d9fbfab58610ef9668a4b4@44.200.140.248:30303'`\nConnected to target adress: \"44.200.140.248:30303\"\n\nHanshake completed succesfully\n Received MAC is valid!\n\nHello message from target node:\nHello { protocol_version: 5, client_version: \"Geth/v1.13.4-stable-3f907d6a/linux-amd64/go1.21.3\", capabilities: [Capability { name: \"eth\", version: 67 }, Capability { name: \"eth\", version: 68 }, Capability { name: \"snap\", version: 1 }], port: 0, id: PublicKey(52d5847e20a14c8530d4653812d741c5c0b4ce7a9a700a01717afa1762f9ad5eb4a46896ef1086b5fafbd9932a20e31e7f9ade43b67d5813e27dbe994eb3cf42) }\n```\n\nTODO for the future:\n- Geth and erigon nodes are working fine but some of them aren't, check which of them aren't and debug why is that,\n- Add more unit tests and some integration tests,\n- Improve code structure to handle different versions of the protocol,\n- Sometimes first handshake works but the second doesn't, debug why is that.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikiw%2Feth-node-handshake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikiw%2Feth-node-handshake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikiw%2Feth-node-handshake/lists"}