{"id":23816619,"url":"https://github.com/hosseind88/staking-dapp","last_synced_at":"2025-08-19T13:12:34.369Z","repository":{"id":49362655,"uuid":"456131493","full_name":"hosseind88/staking-dapp","owner":"hosseind88","description":"A Staking Dapp built by hardhat \u0026 solidity \u0026 react","archived":false,"fork":false,"pushed_at":"2022-02-07T12:07:57.000Z","size":311,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-06T03:50:40.912Z","etag":null,"topics":["blockchain","dapp","ethereum","ethers","frontend","hardhat","react","solidity","staking"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hosseind88.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-06T11:29:38.000Z","updated_at":"2023-03-05T08:26:13.000Z","dependencies_parsed_at":"2022-09-07T13:50:35.545Z","dependency_job_id":null,"html_url":"https://github.com/hosseind88/staking-dapp","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosseind88%2Fstaking-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosseind88%2Fstaking-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosseind88%2Fstaking-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosseind88%2Fstaking-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hosseind88","download_url":"https://codeload.github.com/hosseind88/staking-dapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232154073,"owners_count":18480239,"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","dapp","ethereum","ethers","frontend","hardhat","react","solidity","staking"],"created_at":"2025-01-02T04:30:56.400Z","updated_at":"2025-01-02T04:31:04.838Z","avatar_url":"https://github.com/hosseind88.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Staking Dapp built by hardhat \u0026 solidity \u0026 react\n\nto test the project you should do these steps:\n\n```sh\ngit clone https://github.com/hosseind88/staking-dapp.git\ncd staking-dapp\nnpm install\n```\n\nOnce installed, let's run Hardhat's testing network:\n\n```sh\nnpx hardhat node\n```\n\nThen, on a new terminal, go to the repository's root folder and run this to deploy your contract:\n\n```sh\nnpx hardhat run scripts/deploy.js --network localhost\n```\n\nthen we can run the frontend with:\n```sh\ncd frontend\nnpm install\nnpm start\n```\n\nthen on your metamask, please import the first account that hardhat shows you by importing it by account private-key\n\nthen you can stake some mDAI tokens and after that you can run this script:\n```sh\nnpx hardhat run scripts/issue-token.js --network localhost\n```\nto get your staking reward by AMS token\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhosseind88%2Fstaking-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhosseind88%2Fstaking-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhosseind88%2Fstaking-dapp/lists"}