{"id":21763366,"url":"https://github.com/complexlity/tip-warpcast-commenters","last_synced_at":"2025-03-21T04:44:17.280Z","repository":{"id":223901467,"uuid":"761860023","full_name":"Complexlity/tip-warpcast-commenters","owner":"Complexlity","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-27T05:18:15.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T01:28:36.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Complexlity.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}},"created_at":"2024-02-22T16:14:32.000Z","updated_at":"2024-02-22T16:20:21.000Z","dependencies_parsed_at":"2024-02-27T06:28:29.653Z","dependency_job_id":"7055096b-a0bc-4723-9833-8e3d3ed6033f","html_url":"https://github.com/Complexlity/tip-warpcast-commenters","commit_stats":null,"previous_names":["complexlity/gift-warpcast-commenters"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Ftip-warpcast-commenters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Ftip-warpcast-commenters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Ftip-warpcast-commenters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Ftip-warpcast-commenters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Complexlity","download_url":"https://codeload.github.com/Complexlity/tip-warpcast-commenters/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739939,"owners_count":20501990,"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":"2024-11-26T12:15:05.936Z","updated_at":"2025-03-21T04:44:17.250Z","avatar_url":"https://github.com/Complexlity.png","language":"JavaScript","readme":"# Tip Commenters on a specified cast\nThis contains two scripts that enables tipping people that comment on a warpcast cast\n\n## Pre-requisites\n- [node/npm](https://nodejs.org/en) installed on your machine. The version used for testing is 18.7.1 but should work with newer nodejs version as well\n- Private key of a wallet containing some ETH  on base chain (for gas fees) and [DEGEN](https://www.coingecko.com/en/coins/degen) tokens\n\n\n## Getting Started\n- Clone this repo locally\n```\ngit clone https://github.com/Complexlity/tip-warpcast-commenters.git\n```\n\n- Enter the directory\n```\ncd tip-warpcast-commenters\n```\n\n- Install dependencies\n```\nnpm install\nor\npnpm install\n```\n\n- Add Environmental Variables\n```\n#.env\n# Your address private key\nPRIVATE_KEY=\n# The default name for the output file\nDEFAULT_WINNERS_FILE=winners.csv\n# Remove this if you want to also gift the thread owner\nEXCLUDE_THREAD_OWNER=true\n```\n\nGo into the `.env` file and input you wallet private key.\nThe other two variables can be left as is\n\n## How to Use\n1. Get Replies For A warpcast Url\n```\nnode getReplies \u003curl\u003e \u003coutput_file\u003e\n```\n\n`output_file` is optional and defaults to the `DEFAULT_WINNERS_FILE` in the .env\n\ne.g `node getReplies https://warpcast.com/complexlity/0x2213bfa1 commenters.csv`\n\n2. Gift DEGENS to the commenters\nCurrently, only degen is supported\n```\nnode giftTokens \u003camount\u003e \u003cinput_file\u003e\n```\n\n`input_file` is optional and defaults to the `DEFAULT_WINNERS_FILE` in the .env\n\ne.g `node giftTokens 100 commenters.csv`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplexlity%2Ftip-warpcast-commenters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomplexlity%2Ftip-warpcast-commenters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplexlity%2Ftip-warpcast-commenters/lists"}