Skip to content

BlockchainInes/RWAYieldVault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure RWA Yield Vault 🚀

A professional-grade Ethereum Vault designed for Real World Asset (RWA) yield strategies, built and tested with Foundry.

🔗 Quick Links


📑 Overview

This project demonstrates a secure smart contract for managing ETH deposits and withdrawals. It focuses on high-standard security practices, including automated unit testing and advanced fuzzing.

🛠 Tech Stack

  • Smart Contract: Solidity 0.8.20
  • Framework: Foundry
  • Environment: VS Code / Windows (Lenovo)
  • Network: Deployed and verified on Sepolia Testnet

🛡️ Security & Testing (Evidence)

1. Advanced Fuzz Testing

To ensure the vault is resilient against unexpected input values, I implemented Fuzz Testing. Foundry ran 256 random scenarios to verify that the internal accounting remains 100% accurate. Fuzz Test Result

2. Unit Test Suite

Every core function (Deposit, Withdraw, Balance Tracking) is covered by a dedicated test suite to ensure the logic follows the technical requirements. Unit Tests

3. On-Chain Deployment & Verification

The contract is live on the Sepolia Testnet. I performed manual verification of the source code to ensure transparency and trust. Verification Status: Exact Match / Verified on Sourcify & Routescan

4. Real-World Interaction

I successfully tested the live contract by performing actual transactions (Deposit/Withdraw) via MetaMask, as seen on the block explorer. Transactions


🚀 How to Run Locally

Build & Test

# Compile the contracts
forge build

# Run the test suite
forge test -vv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors