{"id":25015254,"url":"https://github.com/cowprotocol/hdnode","last_synced_at":"2025-03-30T06:15:36.945Z","repository":{"id":39433691,"uuid":"476206203","full_name":"cowprotocol/hdnode","owner":"cowprotocol","description":"Wraps an Ethereum node RPC endpoint with account managment","archived":false,"fork":false,"pushed_at":"2024-10-01T03:58:19.000Z","size":171,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T08:18:32.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cowprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2022-03-31T07:54:16.000Z","updated_at":"2022-03-31T17:26:13.000Z","dependencies_parsed_at":"2023-01-31T20:31:57.688Z","dependency_job_id":null,"html_url":"https://github.com/cowprotocol/hdnode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowprotocol%2Fhdnode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowprotocol%2Fhdnode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowprotocol%2Fhdnode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowprotocol%2Fhdnode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cowprotocol","download_url":"https://codeload.github.com/cowprotocol/hdnode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246281310,"owners_count":20752213,"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":"2025-02-05T08:18:32.405Z","updated_at":"2025-03-30T06:15:36.924Z","avatar_url":"https://github.com/cowprotocol.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HD Node\n\nWraps an Ethereum node RPC endpoint with account managment.\n\nThis allows, for example, to run a local node RPC endpoint that proxies all\nrequests to say, Infura, while internally handing account-specific requests like\n`eth_sendTransaction`.\n\n## Validation\n\nThe service provides some very basic validation on the signed data:\n1. The chain ID specified in the transaction and typed data must match the\n   node's chain ID\n2. The nonce specified in the transaction is **only the next nonce**. This means\n   you can only sign one transaction at a time, but is important for foward\n   secrecy.\n\nAdditionally, the service has a concept of a \"validator\" - a Lua module that\ngets called on every signature operation to validate whether or not the\nsignature should be allowed. It can perform arbitrary logic. For an example,\ntake a look at [the CowSwap sample validator](validators/cowswap.lua).\n\n## TODO\n\n- [ ] CI\n- [ ] Increase test coverage - its pretty poor ATM\n- [ ] Optionally record signatures to a database instead of just logging them\n- [ ] General project cleanup - it was done quite quickly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowprotocol%2Fhdnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcowprotocol%2Fhdnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowprotocol%2Fhdnode/lists"}