NFT Staking + Referral System – Production-Ready Smart Contracts
Launch NFT with USDT sale, 1% daily staking, 5% referral rew
Description
Ultimate NFT Staking & Referral System
Production‑ready smart contracts for launching an NFT collection with USDT public sale, 1% daily staking rewards, and 5% referral rewards.
📦 What's Included
UltimateNFT_Stakeable.sol– NFT minting (sale, royalties, metadata lock)NFTStakingWithReferral.sol– Staking + referral (daily 1%, 5% referrer bonus)README.md– Deployment guideMIT LICENSE
✨ Key Features
NFT Contract
- USDT public sale (price, time, address limit)
- ERC‑2981 royalties, metadata lock, payment token timelock
- 4‑role access control
Staking & Referral Contract
- Stake any number of NFTs – O(1) removal
- Daily reward: 1% of card value (per second)
- Per‑card reward cap: 5× mint price (adjustable via timelock)
- Referrer gets extra 5% of user's claim (from pool)
- Manual claiming for staking & referral rewards
- Emergency pause, timelocked cap change, timelocked fund rescue
⚙️ How It Works
- User binds referrer (one‑time)
- User mints NFT (must have bound referrer)
- User stakes NFT – rewards accrue automatically
- User claims staking rewards → referrer gets 5% extra
- Referrer claims referral rewards manually
Each NFT has its own reward pool: total reward cap = mintPrice × 5.
🛡️ Admin Controls
- Set price, sale time, address limit
- Lock metadata, change payment token (2‑day timelock)
- Pause staking, adjust reward cap (2‑day timelock)
- Emergency withdraw USDT (2‑day timelock)
- Deposit reward USDT
💻 Tech Stack
- Solidity 0.8.34, OpenZeppelin 5.x
- Hardhat / Foundry recommended
- EVM chains: Ethereum, Polygon, BSC, Arbitrum, etc.
- License: MIT
📝 Important Notes
- Source code only. No deployment or support included.
- Buyer must conduct own audit before mainnet.
- MIT license – commercial use allowed.
- Best practices: use multisig for admin roles, lock metadata after sale.
💰 Pricing
| License | Price |
|---|---|
| Standard (single project) | $1,299 |
| Extended (unlimited projects) | $2,499 |
Payment via Web3.Market checkout (USDC/USDT/ETH).
Disclaimer: Web3.Market is a marketplace platform that facilitates the sale of digital products between independent sellers and buyers. We do not develop, endorse, or guarantee any product listed on this platform. All products are provided by third-party sellers and are sold "as is." Web3.Market assumes no responsibility or liability for the functionality, security, legality, or any use or misuse of products purchased through this platform. Buyers are solely responsible for evaluating the suitability of any product for their intended purpose and for ensuring compliance with all applicable laws and regulations. By purchasing, you acknowledge that Web3.Market shall not be held liable for any direct, indirect, incidental, or consequential damages arising from the use of any product.
One-time payment • Lifetime access
Product Info
RPC Providers
Need a reliable RPC endpoint for your dApp? Get started with these trusted providers: