{"id":47937233,"url":"https://github.com/ringecosystem/crab-sunset-snapshot","last_synced_at":"2026-04-04T07:51:19.439Z","repository":{"id":332319551,"uuid":"1109752559","full_name":"ringecosystem/crab-sunset-snapshot","owner":"ringecosystem","description":"The sunset snapshot of the Crab chain","archived":false,"fork":false,"pushed_at":"2026-01-20T07:38:29.000Z","size":2714,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-20T16:26:41.532Z","etag":null,"topics":[],"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/ringecosystem.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-04T08:32:25.000Z","updated_at":"2026-01-20T07:38:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ringecosystem/crab-sunset-snapshot","commit_stats":null,"previous_names":["ringecosystem/crab-sunset-snapshot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ringecosystem/crab-sunset-snapshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fcrab-sunset-snapshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fcrab-sunset-snapshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fcrab-sunset-snapshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fcrab-sunset-snapshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ringecosystem","download_url":"https://codeload.github.com/ringecosystem/crab-sunset-snapshot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fcrab-sunset-snapshot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31392188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: 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":[],"created_at":"2026-04-04T07:51:17.700Z","updated_at":"2026-04-04T07:51:18.885Z","avatar_url":"https://github.com/ringecosystem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crab Sunset\n\nCrab Sunset calculates RING airdrop distributions from on-chain holder snapshots across the Crab and Darwinia ecosystems. It fetches token holder data, applies group allocation rules, and writes a final `airdrop_results.json` for distribution.\n\nFor calculation details, see [`docs/airdrop_calculation.md`](docs/airdrop_calculation.md).\n\n## Install and Run\n\nInstall dependencies and run the full snapshot + airdrop pipeline:\n\n```bash\nnpm install\nnpm run airdrop:all\n```\n\n## Data Outputs\n\nThe pipeline writes the following JSON outputs under `data/`:\n\n| File | Description |\n|------|-------------|\n| [`data/airdrop_results.json`](data/airdrop_results.json) | Final airdrop output with per-rule breakdowns and statistics. |\n| [`data/CRAB_native.json`](data/CRAB_native.json) | Native CRAB holder snapshot (EOA + contract holders). |\n| [`data/WCRAB_0x2D2b97EA380b0185e9fDF8271d1AFB5d2Bf18329.json`](data/WCRAB_0x2D2b97EA380b0185e9fDF8271d1AFB5d2Bf18329.json) | WCRAB holder snapshot. |\n| [`data/gCRAB_0xdafa555e2785DC8834F4Ea9D1ED88B6049142999.json`](data/gCRAB_0xdafa555e2785DC8834F4Ea9D1ED88B6049142999.json) | gCRAB holder snapshot. |\n| [`data/CKTON_0x0000000000000000000000000000000000000402.json`](data/CKTON_0x0000000000000000000000000000000000000402.json) | CKTON holder snapshot. |\n| [`data/WCKTON_0x159933C635570D5042723359fbD1619dFe83D3f3.json`](data/WCKTON_0x159933C635570D5042723359fbD1619dFe83D3f3.json) | WCKTON holder snapshot. |\n| [`data/gCKTON_0xB633Ad1142941CA2Eb9C350579cF88BbE266660D.json`](data/gCKTON_0xB633Ad1142941CA2Eb9C350579cF88BbE266660D.json) | gCKTON holder snapshot. |\n| [`data/xRING_0x7399Ea6C9d35124d893B8d9808930e9d3F211501.json`](data/xRING_0x7399Ea6C9d35124d893B8d9808930e9d3F211501.json) | xRING holder snapshot (Crab). |\n| [`data/xWRING_0x273131F7CB50ac002BDd08cA721988731F7e1092.json`](data/xWRING_0x273131F7CB50ac002BDd08cA721988731F7e1092.json) | xWRING holder snapshot (Crab). |\n| [`data/xRING_xWRING_lp_providers.json`](data/xRING_xWRING_lp_providers.json) | xRING/xWRING Snow LP EOA providers with per-LP breakdowns (Crab). |\n| [`data/WCRING_0xA3eE184ed6eA8fa276AfA282980f83A7091b1E8C.json`](data/WCRING_0xA3eE184ed6eA8fa276AfA282980f83A7091b1E8C.json) | WCRING holder snapshot. |\n| [`data/xWCRAB_0x656567Eb75b765FC320783cc6EDd86bD854b2305.json`](data/xWCRAB_0x656567Eb75b765FC320783cc6EDd86bD854b2305.json) | xWCRAB holder snapshot (Darwinia). |\n| [`data/CRAB_staking_rewards.json`](data/CRAB_staking_rewards.json) | CRAB staking reward balances. |\n| [`data/CKTON_staking_rewards.json`](data/CKTON_staking_rewards.json) | CKTON staking reward balances. |\n| [`data/CRAB_deposit_balance.json`](data/CRAB_deposit_balance.json) | CRAB deposit balances. |\n| [`data/snow_lps_crab.json`](data/snow_lps_crab.json) | Crab Snow LP metadata + holders. |\n| [`data/snow_lps_darwinia.json`](data/snow_lps_darwinia.json) | Darwinia Snow LP metadata + holders. |\n| [`data/evolution_land_snapshot.json`](data/evolution_land_snapshot.json) | Evolution Land snapshot (FIRE/GOLD/WOOD/SIOO/HHO). |\n| [`data/crab-cache.json`](data/crab-cache.json) | Crab address cache (contract vs EOA). |\n| [`data/darwinia-cache.json`](data/darwinia-cache.json) | Darwinia address cache (contract vs EOA). |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringecosystem%2Fcrab-sunset-snapshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fringecosystem%2Fcrab-sunset-snapshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringecosystem%2Fcrab-sunset-snapshot/lists"}