{"id":20974203,"url":"https://github.com/thirdweb-example/youtube-erc20-staking","last_synced_at":"2025-07-17T08:38:46.206Z","repository":{"id":235453408,"uuid":"790515882","full_name":"thirdweb-example/youtube-erc20-staking","owner":"thirdweb-example","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-23T08:58:57.000Z","size":99,"stargazers_count":5,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T09:21:04.092Z","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}},"created_at":"2024-04-23T02:47:44.000Z","updated_at":"2024-10-17T03:19:07.000Z","dependencies_parsed_at":"2024-04-23T13:16:47.943Z","dependency_job_id":"000098c6-90a4-4b1f-b853-bceeb014a85a","html_url":"https://github.com/thirdweb-example/youtube-erc20-staking","commit_stats":null,"previous_names":["thirdweb-example/youtube-erc20-staking"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thirdweb-example/youtube-erc20-staking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc20-staking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc20-staking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc20-staking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc20-staking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thirdweb-example","download_url":"https://codeload.github.com/thirdweb-example/youtube-erc20-staking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirdweb-example%2Fyoutube-erc20-staking/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265585998,"owners_count":23792829,"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:13.275Z","updated_at":"2025-07-17T08:38:46.167Z","avatar_url":"https://github.com/thirdweb-example.png","language":"TypeScript","readme":"# ERC-20 Staking App\n\nERC-20 staking app where a user can stake a token and earn an ERC-20 in return.\n\n## Getting Started\n\nTo use the ERC-20 staking app, you'll need to clone this repository, install dependencies, set up environment variables, and deploy the application. Below are the steps to follow:\n\n### Deploy Smart Contracts\n\nYou will need to deploy the following smart contracts to be used:\n[ERC-20 Token(Staking Token)](https://thirdweb.com/thirdweb.eth/TokenERC20)\n[ERC-20 Token(Reward Token)](https://thirdweb.com/thirdweb.eth/TokenERC20)\n[ERC-20 Staking Contract](https://thirdweb.com/thirdweb.eth/TokenStake)\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-erc20-staking.git\n```\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 ERC-20 Staking App - Stake Tokens and Earn](https://youtu.be/MyxsfgEGG3w)\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\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fyoutube-erc20-staking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthirdweb-example%2Fyoutube-erc20-staking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirdweb-example%2Fyoutube-erc20-staking/lists"}