Bot-optimized RWA Vault smart contracts for Ethereum
Find a file
2026-02-07 20:44:29 -05:00
analytics feat: Add V3 subgraph with all mappings (ready for deployment) 2025-12-13 14:05:11 -05:00
automation docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
contracts Security Fixes Implementation (WIP) 2026-02-07 17:08:49 -05:00
docs feat: Hybrid Dutch Auction Bot Bait System - Production Deployment 2025-12-17 01:38:10 -05:00
frontend fix: Correct DAI address and approve on mainnet 2025-12-12 18:13:05 -05:00
mint-assets feat: Add V3 subgraph config and bot kickstart guide 2025-12-12 19:56:56 -05:00
publishing docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
reference docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
scripts Add Sepolia deployment script 2026-02-07 20:44:29 -05:00
subgraph docs: Add Graph CLI environment setup guide 2025-12-13 14:09:53 -05:00
test feat: Hybrid Dutch Auction Bot Bait System - Production Deployment 2025-12-17 01:38:10 -05:00
.env.deployer Security Fixes Implementation (WIP) 2026-02-07 17:08:49 -05:00
.gitignore docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
ACTION_ITEMS.md Security Fixes Implementation (WIP) 2026-02-07 17:08:49 -05:00
AUDIT_REPORT.md Security Fixes Implementation (WIP) 2026-02-07 17:08:49 -05:00
DEFILLAMA_SETUP.md docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
DEPLOYMENT_SUMMARY.md docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
DUNE_SETUP.md docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
ENV_TEMPLATE.txt docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
GELATO_SETUP.md docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
hardhat.config.js refactor: Modular SK_RWA V3 architecture (best practices) 2025-12-12 15:01:04 -05:00
ORACLE_TESTING.md docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
package-lock.json feat: Add V3 subgraph config and bot kickstart guide 2025-12-12 19:56:56 -05:00
package.json feat: Add V3 subgraph config and bot kickstart guide 2025-12-12 19:56:56 -05:00
PRE_LAUNCH_CHECKLIST.md docs: Add DefiLlama RWA compliance FAQ and attestation checklist 2025-12-12 01:57:38 -05:00
README.md docs: Add comprehensive V3 SOP documentation and update README 2025-12-12 18:30:41 -05:00
ROADMAP.md docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
TENDERLY_SETUP.md docs: Add RPC Standards documentation 2025-12-12 13:41:15 -05:00
test-mint.js docs: Add comprehensive SK_RWA_NFT_V2 strategic analysis 2025-12-12 14:30:05 -05:00

SKGentis RWA Vault - V3 Modular Platform

Real World Asset Tokenization on Ethereum
ZKP Compliance • Multi-Currency Deposits • Fractionalization • Oracle Rewards

Mainnet Sepolia License


🚀 Quick Start

Prerequisites

  • Node.js 18+
  • Hardhat
  • MetaMask or compatible wallet
  • ETH for gas

Installation

git clone https://github.com/smilinTux/skgentis-rwavault-contracts.git
cd skgentis-rwavault-contracts
npm install
cp ENV_TEMPLATE.txt .env
# Edit .env with your private key

Deploy to Sepolia (Testnet)

npx hardhat run scripts/deploy-v3.js --network sepolia

Deploy to Mainnet

npx hardhat run scripts/deploy-v3.js --network mainnet

📋 Contract Addresses

Mainnet (Ethereum)

Contract Address
SK_RWA_Core 0x2b5C41E79b2ad581b7889FE5eDa8924EF5B77E48
SK_RWA_Funding 0xCaBd09716D07373ab79E219e9A5373504f10947e
SK_RWA_Rewards 0x8A4a40e5a4A4C13176FcCB9FD9213a5e64e92aB7
SK_RWA_Fractions 0x427fC7A6D4266De276D22d90D0c1DE10D1CcfE14

Sepolia (Testnet)

Contract Address
SK_RWA_Core 0x8A4a40e5a4A4C13176FcCB9FD9213a5e64e92aB7
SK_RWA_Funding 0x0ee0C30839bc1B8A56df948cB94C6e3083903723
SK_RWA_Rewards 0x1FC9667eeC7fAd9ae70244d80c118D57767ce1c5
SK_RWA_Fractions 0x64015260035a15AD191f657E4164a400C6a15959

🏗️ Architecture

┌─────────────────────────────────────────────────────────────────┐
│                      SK_RWA V3 PLATFORM                         │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│   ┌─────────────────────────────────────────────────────────┐   │
│   │                    SK_RWA_CORE                          │   │
│   │  • ERC721 NFT + ZKP Minting + Compliance                │   │
│   └─────────────────────────────────────────────────────────┘   │
│                              │                                  │
│           ┌──────────────────┼──────────────────┐               │
│           ▼                  ▼                  ▼               │
│   ┌───────────────┐  ┌───────────────┐  ┌───────────────┐       │
│   │ SK_RWA_FUNDING│  │ SK_RWA_REWARDS│  │SK_RWA_FRACTIONS│      │
│   │ ETH + Stable  │  │ Oracle Claims │  │ ERC20 Shares  │       │
│   │ Deposits      │  │ Dividends     │  │ Buyout        │       │
│   └───────────────┘  └───────────────┘  └───────────────┘       │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Modules

Contract Purpose
SK_RWA_Core ERC721 NFTs, ZKP minting (Controllers 51-53), compliance controls, royalties
SK_RWA_Funding ETH/stablecoin deposits, Chainlink price feeds, milestone tracking
SK_RWA_Rewards Oracle-signed rewards, dividend distribution
SK_RWA_Fractions NFT fractionalization into ERC20, buyout mechanism

Features

NFT Minting

  • Direct minting (owner)
  • ZKP-verified minting (public)
  • Batch minting
  • IPFS metadata support

Compliance

  • Account freezing
  • Transfer whitelisting
  • Token lockup periods
  • EIP-2981 royalties (5%)

Funding

  • ETH deposits
  • USDC/USDT/DAI stablecoins
  • Milestone tracking (25/50/75/100%)
  • Early depositor bonuses
  • Chainlink ETH/USD oracle

Rewards

  • Oracle-signed milestone rewards
  • Dividend distribution
  • Multi-oracle support

Fractionalization

  • Split NFT into ERC20 shares
  • De-fractionalize with 100% ownership
  • Buyout mechanism

📖 Documentation

📄 Full SOP Documentation


🔧 Usage Examples

Mint a Token (Owner)

const core = new ethers.Contract(CORE_ADDRESS, CORE_ABI, signer);
const tx = await core.mint(
  recipientAddress,
  100000,  // $1000 in cents
  "ipfs://QmXXXXXX"
);

Deposit ETH

const funding = new ethers.Contract(FUNDING_ADDRESS, FUNDING_ABI, signer);
await funding.deposit(tokenId, { value: ethers.parseEther("0.1") });

Check Progress

const progress = await funding.getFundingProgress(tokenId);
console.log(`Progress: ${progress / 10}%`);

Fractionalize NFT

const fractions = new ethers.Contract(FRACTIONS_ADDRESS, FRACTIONS_ABI, signer);
await core.approve(FRACTIONS_ADDRESS, tokenId);
await fractions.fractionalize(tokenId, "Asset Shares", "ASHR", 1000);

🧪 Testing

# Run all tests
npx hardhat test

# Run V3 specific tests
npx hardhat test test/v3/*.test.js

# Test with coverage
npx hardhat coverage

🔐 Security

  • All contracts verified on Etherscan
  • OpenZeppelin base contracts
  • ReentrancyGuard on all state-changing functions
  • Pausable for emergency stops
  • Multi-sig treasury recommended

📜 License

MIT License - see LICENSE


🤝 Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open Pull Request

📞 Contact


© 2025 SKGentis - S&K Holding QT
SK = staycuriousANDkeepsmilin 🐧