{"id":21051078,"url":"https://github.com/darkhorsecorder/crypto-polygon-staking-smartcontract-solidity-react","last_synced_at":"2025-05-15T21:34:54.100Z","repository":{"id":65064930,"uuid":"581608916","full_name":"DarkHorseCorder/Crypto-Polygon-Staking-SmartContract-Solidity-React","owner":"DarkHorseCorder","description":"Crypto Staking Pool on Polygon Chain, Build smart contract with solidity and Deploy on Polygon Chain","archived":false,"fork":false,"pushed_at":"2022-12-26T07:54:50.000Z","size":5098,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-20T00:51:36.214Z","etag":null,"topics":["bootstrap","javascri","polygon","react","smartcontract-dapp","smartcontracts","truffle","web3","web3js"],"latest_commit_sha":null,"homepage":"https://sprightly-bunny-feead3.netlify.app/","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/DarkHorseCorder.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}},"created_at":"2022-12-23T17:48:31.000Z","updated_at":"2023-10-15T12:24:25.000Z","dependencies_parsed_at":"2023-01-01T05:00:00.178Z","dependency_job_id":null,"html_url":"https://github.com/DarkHorseCorder/Crypto-Polygon-Staking-SmartContract-Solidity-React","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkHorseCorder%2FCrypto-Polygon-Staking-SmartContract-Solidity-React","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkHorseCorder%2FCrypto-Polygon-Staking-SmartContract-Solidity-React/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkHorseCorder%2FCrypto-Polygon-Staking-SmartContract-Solidity-React/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkHorseCorder%2FCrypto-Polygon-Staking-SmartContract-Solidity-React/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarkHorseCorder","download_url":"https://codeload.github.com/DarkHorseCorder/Crypto-Polygon-Staking-SmartContract-Solidity-React/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225382629,"owners_count":17465735,"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":["bootstrap","javascri","polygon","react","smartcontract-dapp","smartcontracts","truffle","web3","web3js"],"created_at":"2024-11-19T15:49:47.586Z","updated_at":"2024-11-19T15:49:48.537Z","avatar_url":"https://github.com/DarkHorseCorder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crypto Staking Pool on Polygon Chain\n\n![website](https://github.com/DarkHorseCorder/Crypto-Polygon-Staking-SmartContract-Solidity-React/blob/master/public/screencapture-localhost-3000-2022-03-19-04_53_48.png)\n\nI have built staking smart contract with solidity.\n\nI have test this smart contract on Polygon test net and deploy on Polygon main net.\n\n## How to connect Polygon test net and main net?\n\n### Test Net\n![Polygon testnet](https://wiki.polygon.technology/img/metamask/metamask-settings-mumbai.png)\n\n### Main Net\n![Polygon mainnet](https://wiki.polygon.technology/img/metamask/metamask-settings-mainnet.png)\n\n## Project Description\n\n![contract balance and total deposit, staking plans](https://github.com/DarkHorseCorder/Crypto-Polygon-Staking-SmartContract-Solidity-React/blob/master/public/Screenshot_2.png)\n\nNumber in “contract balance” box is: \"_contractBalance” in \"getSiteInfo\" in Matic unit\n\nNumber in “total deposit” box is: \"_totalInvested\" in \"getSiteInfo\" in Matic unit\n\n“deposit” in plan1 box is:  “invest” function, with amount in text box above, plan being “0” and referrer being devwallet unless the user has a referrer\n\n“deposit” in plan2 box is:  “invest” function, with amount in text box above, with plan being “1” and referrer being devwallet unless the user has a referrer\n\n![deposit count and total deposit, total withdraw](https://github.com/DarkHorseCorder/Crypto-Polygon-Staking-SmartContract-Solidity-React/blob/master/public/Screenshot_1.png)\n\nNumber in “Deposit count” box is: \"getUserAmountOfDeposits”\n\nNumber in “total deposit” box is: \"totalDeposit\" from \"getUserInfo\"\n\nNumber in “total withdrawn” box is: “totalWithdrawn” from \"getUserInfo\"\n\nNumber in “total referral bonus” box is: \"getUserReferralTotalBonus\"\nNumber in “referred users” is: “getUserTotalReferrals”\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can't go back!**\n\nIf you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.\n\nYou don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)\n\n### Analyzing the Bundle Size\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)\n\n### Making a Progressive Web App\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)\n\n### Advanced Configuration\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)\n\n### Deployment\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)\n\n### `npm run build` fails to minify\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkhorsecorder%2Fcrypto-polygon-staking-smartcontract-solidity-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkhorsecorder%2Fcrypto-polygon-staking-smartcontract-solidity-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkhorsecorder%2Fcrypto-polygon-staking-smartcontract-solidity-react/lists"}