{"id":20974198,"url":"https://github.com/thirdweb-example/youtube-erc721-staking","last_synced_at":"2025-04-12T01:35:36.864Z","repository":{"id":237861623,"uuid":"795369339","full_name":"thirdweb-example/youtube-erc721-staking","owner":"thirdweb-example","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-03T06:18:46.000Z","size":101,"stargazers_count":4,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T21:15:44.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thirdweb-example.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}},"created_at":"2024-05-03T06:12:07.000Z","updated_at":"2024-08-18T14:06:12.000Z","dependencies_parsed_at":"2024-05-03T12:14:16.035Z","dependency_job_id":"e45e4e8b-fa22-4a9f-996a-ed661b6e0f9e","html_url":"https://github.com/thirdweb-example/youtube-erc721-staking","commit_stats":null,"previous_names":["thirdweb-example/youtube-erc721-staking"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc721-staking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc721-staking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc721-staking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc721-staking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thirdweb-example","download_url":"https://codeload.github.com/thirdweb-example/youtube-erc721-staking/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248504706,"owners_count":21115195,"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-19T04:27:12.980Z","updated_at":"2025-04-12T01:35:36.836Z","avatar_url":"https://github.com/thirdweb-example.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ERC-721 Staking App\n\nStake an ERC-721 NFT and earn ERC-20 reward tokens.\n\n## Getting Started\n\nTo use the ERC-721 Staking app, you'll need to clone this repository, install dependencies, set up environment variables and contract addresses, and deploy the application. Below are the steps to follow:\n\n### Deploy Smart Contracts\n[ERC-721 NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721)\n\n[ERC-20 Token](https://thirdweb.com/thirdweb.eth/TokenERC20)\n\n[ERC-721 Staking](https://thirdweb.com/thirdweb.eth/NFTStake)\n\n### Cloning the Repository\n\nTo get started, clone the repository to your local machine:\n```\ngit clone https://github.com/thirdweb-example/youtube-erc721-staking.git\n```\n```\ncd youtube-erc721-staking\n```\n\n### Installing Dependencies\n\nThis application requires several dependencies to function, including thirdweb Connect SDK. Install them using npm or yarn:\n\n```\nnpm install\n```\nor\n```\nyarn install\n```\n\n\n### Video Tutorial\n\nFor a detailed setup and deployment guide, watch our video tutorial on YouTube:\n\n[How to Build an NFT Staking App - Stake ERC-721 and Earn ERC-20](https://youtu.be/IsE4DYDuC_0)\n\n### Setting Environment Variables\n\nSet the following variables in the `.env` file\n\n- `NEXT_PUBLIC_CLIENT_ID`: thirdweb API key.\n\n### Setting Smart Contracts\n\nSet your ERC-721 NFT, ERC-20 Token, and ERC-721 Staking smart contracts in `utils/contracts.ts`\n\n\n## Learn More\n\nTo learn more about thirdweb and Next.js, take a look at the following resources:\n\n- [thirdweb docs Documentation](https://portal.thirdweb.com) - \n- [thirdweb dashboard](https://thirdweb.com)\n\nYou can check out [the thirdweb GitHub organization](https://github.com/thirdweb-dev) - your feedback and contributions are welcome!\n\n## Join our Discord!\n\nFor any questions, suggestions, join our discord at [https://discord.gg/thirdweb](https://discord.gg/thirdweb).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fyoutube-erc721-staking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthirdweb-example%2Fyoutube-erc721-staking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fyoutube-erc721-staking/lists"}