{"id":37095370,"url":"https://github.com/poupas/ethdont","last_synced_at":"2026-01-14T11:45:20.714Z","repository":{"id":154773940,"uuid":"632424576","full_name":"poupas/ethdont","owner":"poupas","description":"Split BLS12-381 key into shares and import them into Dirk distributed wallets","archived":false,"fork":false,"pushed_at":"2025-01-03T21:38:14.000Z","size":30,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-03T22:27:28.827Z","etag":null,"topics":["bls12-381","dirk","ethdo","sss","vouch"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poupas.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-04-25T11:34:03.000Z","updated_at":"2025-01-03T21:38:18.000Z","dependencies_parsed_at":"2024-06-21T14:25:36.167Z","dependency_job_id":null,"html_url":"https://github.com/poupas/ethdont","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/poupas/ethdont","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poupas%2Fethdont","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poupas%2Fethdont/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poupas%2Fethdont/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poupas%2Fethdont/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poupas","download_url":"https://codeload.github.com/poupas/ethdont/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poupas%2Fethdont/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bls12-381","dirk","ethdo","sss","vouch"],"created_at":"2026-01-14T11:45:20.125Z","updated_at":"2026-01-14T11:45:20.702Z","avatar_url":"https://github.com/poupas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What is this?\nethdont splits an existing BLS12-381 key using Shamir's secret sharing with a chosen threshold.\nEach key share is then imported into a Dirk distributed wallet.\n\n## Build\n\n**Native***\n```\nmake build\n```\n\n**Docker**\n\n```\nmake docker\n```\n\nIf using the Docker image, run with `docker run --rm -ti -v $(pwd):/data:rw --workdir /data ethdont`\n\n## Run\n\n### Requirements\n  * keystore in `keystores/keystore.json`\n  * keystore passphrase in `keystores/secret`\n\n```\n# Create a random seed for the deterministic key generator\nKEYGEN_SEED=$(head -c 32 /dev/urandom | xxd -p -c 32)\nDIRK_PEERS=\"1:dirk1:13141,2:dirk2:13142,3:dirk3:13143\"\nDIRK_PEER_IDS=\"$(echo $DIRK_PEERS | awk -F '[,:]' '{for(i=1;i\u003c=NF;i+=3) printf \"%s \", $i; print \"\"}')\"\nfor id in $DIRK_PEER_IDS; do\n    ./ethdont \\\n        -dirk-peers \"${DIRK_PEERS}\" \\\n        -keystore keystores/keystore.json \\\n        -keystore-passphrase \"$(cat keystores/secret)\" \\\n        -threshold 2 \\\n        -wallet DistributedWallet \\\n        -wallet-passphrase \"something secret\" \\\n        -keygen-seed \"${KEYGEN_SEED}\" \\\n        -account validator-1 \\\n        -wallet-base-dir wallets/dirk${id}/wallets/ \\\n        -dirk-id \"${id}\"\ndone\n```\n\n### Output\n\n```\nSuccessfully imported account. Public key share: b3c05703271b3f36a8d21d8d9cf17d60756c2624584fb53a1e6145986c576f3bf081ca7e53d493fa02394b65857642fb, Public key: 8776e1020d2461884b92242ffcb5766fc8601a7e2ba9b3d213416a40d3dde8fe1dc018a8f95c64c0e99588046c505426\nSuccessfully imported account. Public key share: 8e34fdb6364481dd2ab2e92b4f1d6a539f0208fc1b8a095ae4ebfa70a57344535da2abaa944f6b69af00a3cf7b91b832, Public key: 8776e1020d2461884b92242ffcb5766fc8601a7e2ba9b3d213416a40d3dde8fe1dc018a8f95c64c0e99588046c505426\nSuccessfully imported account. Public key share: ae07cca7b5bb10d7d72ac41959a6f4ff36ac2c27fcebb0486375ae5e601d3936ba19b8855053934ad91221da7216c3a3, Public key: 8776e1020d2461884b92242ffcb5766fc8601a7e2ba9b3d213416a40d3dde8fe1dc018a8f95c64c0e99588046c505426\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoupas%2Fethdont","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoupas%2Fethdont","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoupas%2Fethdont/lists"}