{"id":1016014,"name":"@keep-network/sortition-pools","ecosystem":"npm","description":"Sortition pool is a logarithmic data structure used to store the pool of eligible operators weighted by their stakes. In the Keep network the stake consists of staked KEEP tokens. It allows to select a group of operators based on the provided pseudo-rando","homepage":"https://github.com/keep-network/sortition-pools#readme","licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/keep-network/sortition-pools","keywords_array":[],"namespace":"keep-network","versions_count":64,"first_release_published_at":"2020-02-28T16:21:37.929Z","latest_release_published_at":"2022-09-29T07:34:39.428Z","latest_release_number":"2.0.0","last_synced_at":"2026-04-27T01:34:11.009Z","created_at":"2022-04-07T19:17:55.289Z","updated_at":"2026-04-27T01:34:11.009Z","registry_url":"https://www.npmjs.com/package/@keep-network/sortition-pools","install_command":"npm install @keep-network/sortition-pools","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.0","dev":"2.0.0-dev.0","v.1":"1.2.0-dev.1","pre":"2.1.0-pre.0"}},"repo_metadata":{"id":40565088,"uuid":"232621265","full_name":"keep-network/sortition-pools","owner":"keep-network","description":"A data structure to perform weighted sortition in Solidity.","archived":false,"fork":false,"pushed_at":"2024-02-21T12:55:57.000Z","size":8774,"stargazers_count":21,"open_issues_count":17,"forks_count":5,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-08-16T13:53:44.758Z","etag":null,"topics":["cryptocurrency","data-structures","sortition"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/keep-network.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":"CONTRIBUTING.adoc","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":"2020-01-08T17:36:20.000Z","updated_at":"2024-08-30T12:41:44.000Z","dependencies_parsed_at":"2024-06-18T20:08:12.685Z","dependency_job_id":"4293df27-115e-46ba-91be-64054fe0f414","html_url":"https://github.com/keep-network/sortition-pools","commit_stats":{"total_commits":718,"total_committers":14,"mean_commits":"51.285714285714285","dds":0.520891364902507,"last_synced_commit":"c5b8a1ee90b72ab0980eccb211e35c7087e66462"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/keep-network/sortition-pools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keep-network","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271108653,"owners_count":24700573,"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-08-19T02:00:09.176Z","response_time":63,"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"},"owner_record":{"login":"keep-network","name":"Keep","uuid":"30537626","kind":"organization","description":"Keep, a dev team of the Threshold network","email":"shh@keep.network","website":"https://threshold.network","location":null,"twitter":"keep_project","company":null,"icon_url":"https://avatars.githubusercontent.com/u/30537626?v=4","repositories_count":108,"last_synced_at":"2024-04-12T17:51:10.577Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/keep-network","funding_links":[],"total_stars":671,"followers":43,"following":0,"created_at":"2022-11-11T11:14:14.453Z","updated_at":"2024-04-12T17:51:21.675Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keep-network","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keep-network/repositories"},"tags":[{"name":"v2.0.0","sha":"8048806a05826785075a926485e0320a7bb75745","kind":"tag","published_at":"2022-09-29T07:35:41.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v2.0.0","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v2.0.0/manifests"},{"name":"v1.1.2","sha":"aa2a641abff5aa505b22178c7f8431cc1edba03c","kind":"tag","published_at":"2020-09-14T10:40:14.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v1.1.2","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v1.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v1.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.1.2/manifests"},{"name":"v1.1.1","sha":"1382bc345a26555dd40cbda9e825752703f5fdaa","kind":"tag","published_at":"2020-08-28T12:15:06.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v1.1.1","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.1.1/manifests"},{"name":"v1.1.0","sha":"6cecb6e243200fa5b685e08ed2afea695822d811","kind":"tag","published_at":"2020-07-29T07:19:58.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v1.1.0","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"1afe5c00b4c6ba776ffd98af44eda024230207a4","kind":"tag","published_at":"2020-05-13T16:13:03.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v1.0.0","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v1.0.0/manifests"},{"name":"v0.3.0-rc","sha":"ffa3cd880c605ac76e2752f8093d34a2a761c4ae","kind":"tag","published_at":"2020-04-09T09:55:26.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v0.3.0-rc","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v0.3.0-rc","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v0.3.0-rc","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v0.3.0-rc","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v0.3.0-rc/manifests"},{"name":"v0.2.0","sha":"a5c1f9369f6c866f1b0fa39badd7dc1e6c730d14","kind":"tag","published_at":"2020-03-20T11:05:33.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v0.2.0","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v0.2.0/manifests"},{"name":"v0.1.1","sha":"32523a74bb5fa51345de05f756ca8a9ecf246282","kind":"tag","published_at":"2020-02-19T16:35:59.000Z","download_url":"https://codeload.github.com/keep-network/sortition-pools/tar.gz/v0.1.1","html_url":"https://github.com/keep-network/sortition-pools/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/keep-network/sortition-pools@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/tags/v0.1.1/manifests"}]},"repo_metadata_updated_at":"2025-08-19T05:53:21.984Z","dependent_packages_count":4,"downloads":2077,"downloads_period":"last-month","dependent_repos_count":31,"rankings":{"downloads":4.6593878879352335,"dependent_repos_count":2.299858097947715,"dependent_packages_count":4.546439069380235,"stargazers_count":8.344452511437575,"forks_count":8.93696908392064,"docker_downloads_count":1.2098794158692578,"average":4.999497677748443},"purl":"pkg:npm/%40keep-network/sortition-pools","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@keep-network/sortition-pools","docker_dependents_count":1,"docker_downloads_count":106,"usage_url":"https://repos.ecosyste.ms/usage/npm/@keep-network/sortition-pools","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@keep-network/sortition-pools/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-19T05:53:21.585Z","issues_count":0,"pull_requests_count":101,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":3457040.629213483,"issues_closed_count":0,"pull_requests_closed_count":89,"pull_request_authors_count":9,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.5445544554455446,"merged_pull_requests_count":72,"bot_issues_count":0,"bot_pull_requests_count":31,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Fsortition-pools/issues","maintainers":[{"login":"pdyraga","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/pdyraga"},{"login":"nkuba","count":9,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nkuba"},{"login":"lukasz-zimnoch","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/lukasz-zimnoch"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@keep-network%2Fsortition-pools/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@keep-network%2Fsortition-pools/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@keep-network%2Fsortition-pools/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@keep-network%2Fsortition-pools/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@keep-network%2Fsortition-pools/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@keep-network%2Fsortition-pools/codemeta","maintainers":[{"uuid":"shadowfiend","login":"shadowfiend","name":null,"email":"antonio@thesis.co","url":null,"packages_count":56,"html_url":"https://www.npmjs.com/~shadowfiend","role":null,"created_at":"2022-11-18T19:52:25.453Z","updated_at":"2022-11-18T19:52:25.453Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/shadowfiend/packages"},{"uuid":"thesis-heimdall","login":"thesis-heimdall","name":null,"email":"heimdall@thesis.co","url":null,"packages_count":23,"html_url":"https://www.npmjs.com/~thesis-heimdall","role":null,"created_at":"2022-11-18T19:52:25.483Z","updated_at":"2022-11-18T19:52:25.483Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/thesis-heimdall/packages"},{"uuid":"nkuba8","login":"nkuba8","name":null,"email":"kuba@akena.co","url":null,"packages_count":42,"html_url":"https://www.npmjs.com/~nkuba8","role":null,"created_at":"2022-11-18T19:52:25.465Z","updated_at":"2022-11-18T19:52:25.465Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nkuba8/packages"},{"uuid":"lukasz-zimnoch","login":"lukasz-zimnoch","name":null,"email":"lukasz.zimnoch@keep.network","url":null,"packages_count":34,"html_url":"https://www.npmjs.com/~lukasz-zimnoch","role":null,"created_at":"2022-11-18T19:52:25.448Z","updated_at":"2022-11-18T19:52:25.448Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/lukasz-zimnoch/packages"},{"uuid":"pdyraga","login":"pdyraga","name":null,"email":"piotr.dyraga@thesis.co","url":null,"packages_count":42,"html_url":"https://www.npmjs.com/~pdyraga","role":null,"created_at":"2022-11-18T19:52:25.490Z","updated_at":"2022-11-18T19:52:25.490Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/pdyraga/packages"},{"uuid":"dimpar","login":"dimpar","name":null,"email":"dmitry.paremski@gmail.com","url":null,"packages_count":34,"html_url":"https://www.npmjs.com/~dimpar","role":null,"created_at":"2023-04-07T13:47:47.424Z","updated_at":"2023-04-07T13:47:47.424Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dimpar/packages"},{"uuid":"michalinacienciala","login":"michalinacienciala","name":null,"email":"michalina.cienciala@keep.network","url":null,"packages_count":20,"html_url":"https://www.npmjs.com/~michalinacienciala","role":null,"created_at":"2023-09-12T16:43:55.889Z","updated_at":"2023-09-12T16:43:55.889Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/michalinacienciala/packages"}]}