"Wuta-Wuta: The engine powering the Muse ecosystem. This monorepo houses the complete source code for the AI-generated art trading platform, from UI components to blockchain logic." muse-fullstack-dapp
Wuta-Wuta is a comprehensive AI-human collaborative art marketplace built on blockchain technology. It enables artists to create collaborative artworks with AI models, mint them as NFTs, and trade them in a decentralized marketplace.
- AI-Human Collaboration: Create artworks collaboratively with AI models like Stable Diffusion, DALL-E, and Midjourney
- NFT Minting: Mint collaborative artworks as unique NFTs with royalty support
- Artwork Evolution: Allow artworks to evolve over time through community contributions
- Decentralized Marketplace: Trade artworks in a peer-to-peer marketplace
- Project Management: Integrated project and issue tracking system
- Royalty System: Fair royalty distribution for creators
- MuseNFT: Core NFT contract for collaborative artworks
- ProjectManager: Project and issue management system
- React: Modern React application with TypeScript
- Zustand: State management for blockchain interactions
- Tailwind CSS: Modern styling framework
Comprehensive testing suite including:
- Unit Tests: Individual component and function testing
- Integration Tests: Cross-contract and frontend-backend integration
- Security Tests: Smart contract security analysis
- Performance Tests: Gas optimization and load testing
- Node.js 18+
- npm or yarn
- Git
# Clone the repository
git clone https://github.com/olaleyeolajide81-sketch/Wuta-Wuta.git
cd Wuta-Wuta
# Install dependencies
npm install
# Install Hardhat dependencies
npm install --save-dev @nomicfoundation/hardhat-toolbox @openzeppelin/contracts @openzeppelin/test-helpers# Start the development server
npm start
# Run tests
npm test
# Run smart contract tests
npm run test:contracts
# Compile contracts
npm run compile
# Deploy to local network
npm run deploy:local# Run all tests
npm run test:ci
# Run contract tests with coverage
npm run test:contracts:coverage
# Run integration tests
npm run test:integration
# Run security analysis
npm run security:slitherThe project includes comprehensive smart contract tests:
# Run all contract tests
npx hardhat test
# Run specific test file
npx hardhat test test/MuseNFT.test.js
# Run with gas reporting
REPORT_GAS=true npx hardhat test
# Run coverage
npx hardhat coveragetest/MuseNFT.test.js: Tests for the main NFT contracttest/ProjectManager.test.js: Tests for project managementtest/integration/: Integration teststest/helpers/: Test utilities and helpers
# Run React component tests
npm test
# Run with coverage
npm run test:coverage
# Run in CI mode
npm run test:ciThis project implements multiple security measures:
- Smart Contract Audits: Regular security analysis with Slither and Mythril
- Dependency Scanning: Automated vulnerability scanning
- Code Quality: Static analysis and linting
- Fuzz Testing: Property-based testing for edge cases
The project includes automated testing and deployment:
- GitHub Actions: Automated testing on every push and PR
- Security Scanning: Regular security analysis
- Coverage Reporting: Code coverage tracking
- Multi-environment: Support for development, staging, and production
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
npm run test:ci - Run linting:
npm run lint - Submit a pull request
MIT License - see LICENSE file for details
- OpenZeppelin for secure smart contract libraries
- Hardhat for development framework
- React and TypeScript community
- AI model providers (Stable Diffusion, DALL-E, etc.)p