{"id":25825622,"url":"https://github.com/anotherrusty/double-yield-farming","last_synced_at":"2025-02-28T14:06:30.039Z","repository":{"id":242424904,"uuid":"798968907","full_name":"AnotherRusty/double-yield-farming","owner":"AnotherRusty","description":"This repository contains smart contracts for implementing FT (Fungible Token) staking, an NFT (Non-Fungible Token) gate system, and FT token staking features. These contracts are designed to provide robust and secure functionalities for blockchain applications.","archived":false,"fork":false,"pushed_at":"2024-06-02T22:19:03.000Z","size":165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-15T19:14:37.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Solidity","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/AnotherRusty.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-10T21:18:46.000Z","updated_at":"2024-06-02T22:19:25.000Z","dependencies_parsed_at":"2024-06-02T23:31:02.280Z","dependency_job_id":"482e31eb-7d36-4d78-96b4-11f1f8e3e489","html_url":"https://github.com/AnotherRusty/double-yield-farming","commit_stats":null,"previous_names":["rusty015/double-yield-farming","anotherrusty/double-yield-farming"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnotherRusty%2Fdouble-yield-farming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnotherRusty%2Fdouble-yield-farming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnotherRusty%2Fdouble-yield-farming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnotherRusty%2Fdouble-yield-farming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnotherRusty","download_url":"https://codeload.github.com/AnotherRusty/double-yield-farming/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241162485,"owners_count":19920410,"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":"2025-02-28T14:06:29.416Z","updated_at":"2025-02-28T14:06:30.021Z","avatar_url":"https://github.com/AnotherRusty.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Contracts Project\n\nThis repository contains smart contracts for implementing FT (Fungible Token) staking, an NFT (Non-Fungible Token) gate system, and FT token staking features. These contracts are designed to provide robust and secure functionalities for blockchain applications.\n\n## Features\n\n### 1. FT Token Staking\n- **Stake FT Tokens**: Users can stake their FT tokens to earn rewards.\n- **Unstake FT Tokens**: Users can withdraw their staked FT tokens along with the earned rewards.\n- **View Staking Information**: Users can view their staking details including the amount staked, rewards earned, and staking duration.\n\n### 2. NFT Token Gate System\n- **Access Control**: Provides access control to certain features or content based on the ownership of specific NFTs.\n- **Verify Ownership**: Users must prove ownership of required NFTs to access gated content or services.\n- **Manage Gates**: Admins can create and manage gates, specifying which NFTs are required for access.\n\n### 3. FT Token Staking\n- **Stake FT Tokens for Additional Rewards**: Users can participate in a separate staking program to earn additional rewards.\n- **Reward Calculation**: Rewards are calculated based on the staking duration and amount staked.\n- **Unstake and Claim Rewards**: Users can unstake their tokens and claim their accumulated rewards.\n\n## Getting Started\n\n### Prerequisites\n- Node.js\n- NPM or Yarn\n- Solidity Compiler\n\n### Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/your-repo/smart-contracts.git\n    cd smart-contracts\n    ```\n\n2. Install dependencies:\n    ```sh\n    npm install\n    ```\n    or\n    ```sh\n    yarn install\n    ```\n\n### Deployment\n\n1. Configure your environment variables. Create a `.env` file in the root directory and add the following:\n    ```plaintext\n    INFURA_PROJECT_ID=your_infura_project_id\n    DEPLOYER_PRIVATE_KEY=your_private_key\n    ```\n2. Compile the smart contracts:\n    ```sh\n    npx hardhat compile\n    ```\n3. Deploy the smart contracts:\n    ```sh\n    npx hardhat run scripts/deploy.js --network your_network\n    ```\n\n### Usage\n\n- **Staking FT Tokens**: Interact with the `FTStaking` contract to stake your tokens.\n- **Using the NFT Gate System**: Verify NFT ownership and access gated content via the `NFTGate` contract.\n- **Additional FT Token Staking**: Utilize the `AdditionalFTStaking` contract for enhanced rewards.\n\n## Contributing\n\nWe welcome contributions! Please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/your-feature`).\n3. Commit your changes (`git commit -m 'Add your feature'`).\n4. Push to the branch (`git push origin feature/your-feature`).\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- [OpenZeppelin](https://openzeppelin.com/) for their secure smart contract library.\n- [Infura](https://infura.io/) for their blockchain infrastructure.\n- [Hardhat](https://hardhat.org/) for their excellent development environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanotherrusty%2Fdouble-yield-farming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanotherrusty%2Fdouble-yield-farming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanotherrusty%2Fdouble-yield-farming/lists"}