EARN LIKE NEVER BEFORE
# CORO TASHI - THE FUTURE OF STAKING
## 🚀 Introduction
Coro Tashi is a next-generation DeFi staking protocol built on the Core Chain by CoreDAO. It allows users to stake CORE tokens, receive liquid stCORE, and earn auto-compounding rewards — all without lockups or intermediaries. Designed for security, transparency, and ease of use, it leverages the power of Core Chain to redefine liquid staking.
---
## 📘 Documentation
- **GitBook Docs**: [https://coro-tashi.gitbook.io/coro-tashi](https://coro-tashi.gitbook.io/coro-tashi)
---
## 🔗 Contract Addresses
| Contract | Address |
|-------------------------|----------------------------------------------------------------------------------------------|
| Main Staking Contract | 0x0C335161438bb1D0bb7957E9160Fc7759B72eAC8 |
| TBTC Token | [View on Explorer](https://scan.test2.btcs.network/address/0xF8Bdce16c4c5Bd375a2e9F79F007c95080FC3c2D) |
| Reward Token | [View on Explorer](https://scan.test2.btcs.network/address/0x83A49FF8f630d45D4C3b61DEE6D72B01599C0a85) |
---
## ⚙️ How It Works
1. **Deposit** CORE tokens into a staking pool.
2. **Receive stCORE** — a liquid staking token representing your stake.
3. **Auto-compound**: Earn rewards with no manual actions.
4. **Unstake Anytime**: After lock period or via emergency (with penalty).
5. **Claim Rewards**: Instantly collect your earned tokens.
---
## 🔑 Key Features
- **💧 Liquid Staking**: Stake CORE, receive stCORE, and retain liquidity.
- **📈 High Yield**: Dynamic APY with reward boost multipliers.
- **🛡️ Secure**: Non-custodial, audited contracts using ReentrancyGuard, Ownable, and SafeERC20.
- **🌐 Decentralized**: Permissionless staking with open-access pools.
- **🔔 Notifications**: On-chain logs for key actions (deposits, claims, etc.).
- **📊 User Dashboard**: Intuitive interface for staking, tracking, and claiming rewards.
---
## 📜 Smart Contract Overview
- **Contract Name**: CoroYami StakingDapp.sol)
### Core Functions:
- addPool(stakedToken, rewardToken, APY, lockDays)
- deposit(pid, amount)
- withdraw(pid, amount)
- claimReward(pid)
- pendingReward(pid, user)
- swap(pid, amount, to)
- modifyPool(pid, newAPY)
- createNotification(pid, amount, message)
- getNotifications()
### Events:
- PoolAdded
- Deposited
- Withdrawn
- Claimed
- NotificationCreated
### Security:
- Uses OpenZeppelin's ReentrancyGuard, Ownable, and SafeERC20.
- Lock period set to **5 minutes** for testing (configurable for production).
---
## 🖥️ Frontend Overview
- **Wallet Support**: MetaMask integration with Core Testnet 2.
- **Dashboard**: Displays pools, rewards, lock durations, and user balances.
- **Interactions**: Intuitive UI for deposits, claims, and withdrawals.
- **Notifications Panel**: Real-time, on-chain user notifications.
- **Admin Access**: (Optional) For pool and message management.
- **Explorers**: Token and contract links for full transparency.
---
## 🛠️ Getting Started
### 1. Clone the Repository
```bash
git clone https://github.com/PepsiCola-kulfi/CORO-TASHI.git
cd CORO-TASHI