Skip to content

Latest commit

 

History

History
119 lines (83 loc) · 3.47 KB

File metadata and controls

119 lines (83 loc) · 3.47 KB

AstaVerde - Carbon Offset NFT Ecosystem

Carbon offset NFT marketplace with Dutch auction pricing and collateralized lending vault on Arbitrum.

System Status

  • v1: ✅ Dutch auction marketplace
  • v2: ✅ Released (2025-08-25) - EcoStabilizer vault (221 tests passing)
  • QA Testing: 🧪 Available on Arbitrum Sepolia testnet
  • Deployment: Ready for Arbitrum One mainnet
  • Gas Efficiency: Deposit <150k, Withdraw <120k

📚 Documentation

Architecture

v1: Dutch Auction Marketplace (Live)

  • ERC-1155 NFTs representing verified carbon offsets
  • Dynamic pricing: Base price adjusts with market demand
  • Dutch auction: Daily 1 USDC decrease to 40 USDC floor
  • 30% default platform commission (configurable up to 50%), remainder to producers

v2: EcoStabilizer Vault (Released)

  • Deposit NFTs to mint 20 SCC stablecoins
  • No liquidations - withdraw your exact NFT by repaying loan
  • Redeemed NFTs cannot be used as collateral
  • Access control with automated admin renunciation

Quick Start

# Install dependencies
npm install

# Run tests
npm run test

# Configure webapp env (untracked)
cp webapp/.env.local.example webapp/.env.local

# Start dev webapp (Arbitrum Sepolia)
npm run dev:sepolia

# Access webapp at http://localhost:3002

Key Commands

npm run test              # Run all tests
npm run compile           # Compile contracts
npm run dev:sepolia       # Start webapp (Arbitrum Sepolia)
npm run qa:fast           # Quick contract verification
npm run deploy:testnet    # Deploy to Arbitrum Sepolia
npm run deploy:mainnet    # Deploy to Arbitrum One

See AGENTS.md for the complete command reference and workflows.

Documentation

Security

  • Immutable contracts with no upgrade mechanisms
  • Role-based access control with automated admin renunciation
  • Reentrancy protection and pausability
  • Comprehensive test coverage (221 tests)
  • Redeemed NFT protection in vault

🧪 v2 QA Testing

The EcoStabilizer vault system is deployed on Arbitrum Sepolia testnet for client testing.

For Testers

  • QA Testing Guide - Complete guide for testing the vault system
  • Test URL: [Vercel deployment URL - to be provided]
  • Network: Arbitrum Sepolia (testnet)

For Developers

  1. Deploy Contracts to Testnet:

    npm run deploy:testnet
  2. Configure Webapp:

    cp webapp/.env.local.example webapp/.env.local
    # Edit webapp/.env.local with testnet addresses + RPC
  3. Deploy to Vercel:

    vercel --prod

See QA Testing Guide for detailed testing instructions.

License

MIT