{"repo":"karangoraniya/nft-staking","free":true,"listed":false,"github":"https://github.com/karangoraniya/nft-staking","clone":"git clone https://github.com/karangoraniya/nft-staking.git","description":"NFT-Staking-Smart-Contract, reward will be given in ERC20","language":"Solidity","stars":25,"topics":["erc1155","erc20","nft-staking","staking-rewards","ethereum","polygon","staking"],"license":null,"category":"blockchain-web3","readme_excerpt":"NFT Staking Smart Contract A comprehensive NFT staking platform built with Foundry, featuring ERC1155 NFTs and ERC20 reward tokens with time-based APR rewards. 🚀 Features - ERC1155 NFT Staking : Stake multiple NFTs with different amounts - ERC20 Reward System : Earn NPY tokens based on staking duration - Time-based APR : Progressive reward rates for longer staking periods - Built with Foundry : Modern development environment with fast testing 📊 Reward Structure Staking Duration APR Rate Reward Token :---------------- :------- :----------- Less than 1 month 0% NPY 1-6 months 5% NPY 6-12 months 10% NPY After 12 months 15% NPY 📋 Smart Contracts NappyToken (ERC20) - Symbol : NPY - Name : NappyToken - Features : Mintable, Ownable, ERC20Permit NFTMint (ERC1155) - Standard : ERC1155 - Features : Mintable, Burnable, Ownable - Metadata : IPFS-hosted images Staking Contract - Core Function : NFT staking with time-based rewards - Reward Calculation : (Rate × Time × Amount × 10^18) / (Month × 12 × 100) - Features : Stake/Unstake NFTs, automatic reward distribution 🛠️ Installation & Setup Prerequisites - Foundry Clone Repository Install Dependencies Install OpenZeppelin Contracts 🔧 Development Compile Contracts Run Tests Code Formatting Gas Snapshots Test Coverage Local Development Node Smart Contract Interaction (Cast) 📝 Deployment Local Deployment Testnet Deployment Environment Setup Create a .env file in the root directory: Load environment variables: Or use Foundry's built-in en","default_branch":null,"files":null,"tree":[],"storefront":"/r/karangoraniya","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/karangoraniya/nft-staking/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}