{"id":15632610,"url":"https://github.com/jamiew/ohmfork-autoclaim","last_synced_at":"2025-10-15T03:36:27.352Z","repository":{"id":46105492,"uuid":"426079660","full_name":"jamiew/ohmfork-autoclaim","owner":"jamiew","description":"automatically claim and restake vested bonds (mints) from SnowbankDAO, KlimaDAO, Wonderland, and other OlympusDAO forks","archived":false,"fork":false,"pushed_at":"2021-11-28T20:18:26.000Z","size":142,"stargazers_count":41,"open_issues_count":3,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-04T16:44:09.629Z","etag":null,"topics":["avalanche","avax","blockchain","ethereum","evm","hardhat","klimadao","ohm","olympusdao","snowbankdao","solidity","wonderland"],"latest_commit_sha":null,"homepage":"","language":"Solidity","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/jamiew.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}},"created_at":"2021-11-09T03:35:02.000Z","updated_at":"2025-06-12T17:23:14.000Z","dependencies_parsed_at":"2022-08-30T19:22:28.617Z","dependency_job_id":null,"html_url":"https://github.com/jamiew/ohmfork-autoclaim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamiew/ohmfork-autoclaim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fohmfork-autoclaim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fohmfork-autoclaim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fohmfork-autoclaim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fohmfork-autoclaim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamiew","download_url":"https://codeload.github.com/jamiew/ohmfork-autoclaim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fohmfork-autoclaim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279043438,"owners_count":26091458,"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-10-15T02:00:07.814Z","response_time":56,"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":["avalanche","avax","blockchain","ethereum","evm","hardhat","klimadao","ohm","olympusdao","snowbankdao","solidity","wonderland"],"created_at":"2024-10-03T10:44:42.513Z","updated_at":"2025-10-15T03:36:27.322Z","avatar_url":"https://github.com/jamiew.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# greets\n```sh\n\n ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈\n ❅                                   __         __             ❅\n ❊ .-----.-----.-----.--.--.--.----.|  |.---.-.|__|.--------.  ❊\n ❇ |__ --|     |  _  |  |  |  |  __||  ||  _  ||  ||        |  ❇\n ❈ |_____|__|__|_____|________|____||__||___._||__||__|__|__|  ❈\n ❅                                                             ❅\n ❆ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆\n\n                      \"ice to meet you\"\n```\n\nSimple scripts to claim and restake vested bonds from [OlympusDAO](https://www.olympusdao.finance) (OHM/sOHM) and its many forks\n\nOriginally written for [SnowbankDAO](https://dapp.snowbank.finance/#/mints), but now supports many other OlympusDAO forks, including [Wonderland](https://www.wonderland.money), [KlimaDAO](https://www.klimadao.finance) and probably more.\n\nPRs and bug reports welcome\n\n## Setup\n\n```sh\nyarn install\n```\n\nSetup the `.env` file:\n\n```sh\ncp .env.sample .env\n```\n\nEdit .env and put in your own values for:\n\n- WALLET_ADDRESS – the wallet that actually owns the SB tokens and is earning the rewards\n- PRIVATE_KEY - for a wallet that will execute the `bond()` call on the Snowbank contract. Make sure this wallet has some AVAX\n\n\n## Usage\n\nTo see a list of all the commands, run `yarn run`. Replace `snowbankdao` with `klimadao` or your supported fork of choice\n\nGet some info about your bond (`bondInfo()`):\n\n```sh\nyarn snowbankdao:stats\nyarn klimadao:stats\n```\n\nClaim your rewards (`redeem()`):\n\n```sh\nyarn snowbankdao:redeem\nyarn klimadao:stats\n```\n\nTo run that every 8 hours, you could use cron, systemd or just a lazy bash loop:\n\n```sh\nwhile [ true ]; do\n  yarn snowbankdao:redeem\n  sleep $((60*60*8))\ndone\n```\n\nOr just run it manually, I don't care\n\n## License\n\nMIT\n\nPull requests \u0026 bug reports welcome\n\nPlease direct donations to the [Center For Artistic Activism](https://c4aa.org/) and [Electronic Frontier Foundation](https://www.eff.org/)\n\n\n## Thanks\n\nShoutout to the OUE CREW for hot tips\n\nShoutout to [avalanche-smart-contract-quickstart](https://github.com/ava-labs/avalanche-smart-contract-quickstart), on which this repo is based\n\nShoutout to my kids, love y'all\n\nShoutout to you, for reading this\n\n![Speed project approved: 1 hour](http://www.fffff.at/widgets/speed-project/images/time_60.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fohmfork-autoclaim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamiew%2Fohmfork-autoclaim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fohmfork-autoclaim/lists"}