{"id":15427407,"url":"https://github.com/dharmikjagodana/bounty-framer","last_synced_at":"2026-04-27T21:31:56.708Z","repository":{"id":234089211,"uuid":"786669249","full_name":"DharmikJagodana/bounty-framer","owner":"DharmikJagodana","description":"Bounty Framer for Warpcast Frame","archived":false,"fork":false,"pushed_at":"2024-06-18T03:08:53.000Z","size":646,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T04:47:45.586Z","etag":null,"topics":["blockchain","bounty","farcaster","farcaster-frames","framerjs","warpcast"],"latest_commit_sha":null,"homepage":"https://bounty-framer.vercel.app","language":"TypeScript","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/DharmikJagodana.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-04-15T04:38:02.000Z","updated_at":"2024-04-18T05:11:40.000Z","dependencies_parsed_at":"2024-04-18T05:53:09.144Z","dependency_job_id":null,"html_url":"https://github.com/DharmikJagodana/bounty-framer","commit_stats":null,"previous_names":["dharmikjagodana/bounty-framer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DharmikJagodana%2Fbounty-framer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DharmikJagodana%2Fbounty-framer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DharmikJagodana%2Fbounty-framer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DharmikJagodana%2Fbounty-framer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DharmikJagodana","download_url":"https://codeload.github.com/DharmikJagodana/bounty-framer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245972671,"owners_count":20702721,"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":["blockchain","bounty","farcaster","farcaster-frames","framerjs","warpcast"],"created_at":"2024-10-01T18:00:07.504Z","updated_at":"2026-04-27T21:31:56.695Z","avatar_url":"https://github.com/DharmikJagodana.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bounty Framer for Warpcast Frame\n\nThis project implements a [Bounty Framer for the Warpcast Frame](https://earn.superteam.fun/listings/bounty/create-a-frame-for-farcaster/), facilitating daily token giveaways based on user eligibility criteria.\n\n### Overview\n\nDeployed Contract [here](https://base-sepolia.blockscout.com/address/0x07Bf8Dbb8eF2d42035b99003634Bc1aA809C52D1)\n\n\n## Features\n\n1. **Follow and Recast Verification**:\n\n   - Users must follow the specified project account and recast the given frame to enter the giveaway.\n   - If not followed and recast, users are prompted with instructions to do so.\n\n2. **Daily Allocation Check**:\n\n   - Each user has a fixed daily allocation of tokens.\n   - Users can only redeem tokens once every 24 hours.\n   - If the user has already redeemed their allocation for the day, they are informed to return in 24 hours.\n\n3. **Wallet Connectivity**:\n\n   - The system verifies if the user has a connected wallet.\n   - If not connected, users are prompted to set up a wallet.\n\n4. **Token Distribution**:\n   - Tokens are sent from a treasury wallet to the user's connected wallet.\n   - The token contract address used in the program is [0x07Bf8Dbb8eF2d42035b99003634Bc1aA809C52D1](https://base-sepolia.blockscout.com/address/0x07Bf8Dbb8eF2d42035b99003634Bc1aA809C52D1).\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed and set up:\n\n- Node.js (version \u003e= 12)\n- Yarn package manager\n- MongoDB (or access to a MongoDB database, such as MongoDB Atlas)\n- Ethereum wallet with the private key for token distribution\n\n## Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/DharmikJagodana/bounty-framer.git\ncd bounty-framer\n```\n\n### 2. Install Dependencies\n\n```bash\nyarn install\n```\n\n### 3. Set Environment Variables\n\nCreate a .env file in the root directory of the project and add the following environment variables:\n\n```plaintext\nNEXT_PUBLIC_HOST=example.com\nPRIVATE_KEY=\u003cYour Ethereum wallet private key here\u003e // Use a temporary account if you are just exploring the repository\nCONTRACT_ADDRESS=\u003cDeploy your contract and put the address here\u003e\nDATABASE_URL=mongodb+srv://username:password@clustername.mongodb.net/dbname\n```\n\n### How to create ERC721 contract and MongoDB database for this project\nCreate mongodb database here [MongoDB Atlas](https://www.mongodb.com/cloud/atlas)\n\nCreate ERC721 contract [openzeppelin ERC721](https://wizard.openzeppelin.com/#erc721)\n\nUser Remix IDE to deploy the contract [Remix IDE](https://remix.ethereum.org/)\n\n\n### 4. Start the Server\n\n```bash\nyarn start\n```\n\nThe server will start and listen for incoming connections.\n\n### Usage\n\nOnce the server is running, users can interact with the Bounty Framer as follows\n\n1. Access the hosted application at \u003chttp://example.com\u003e.\n2. Share the URL \u003chttp://example.com\u003e with Farcaster or testing frame app to see it live or test it.\n\n### Contributing\n\nContributions are welcome! If you encounter any issues or have suggestions, feel free to open an issue or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmikjagodana%2Fbounty-framer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdharmikjagodana%2Fbounty-framer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmikjagodana%2Fbounty-framer/lists"}