Multi-chain framework for generating real-time creative data and persisting/tokenizing on decentralized networks.
This project is designed as ONE unified platform that can be deployed either together or as separate modules. Each of the 6 foundation grants can be built and deployed independently.
# Build only NEAR grant (Fractal Studio)
./build-near-grant.sh
# Build only Mintbase grant (Marketplace)
./build-mintbase-grant.sh
# Build only Solana grant (Neuroemotive AI)
./build-solana-grant.sh
# Build only Filecoin grant (Storage)
./build-filecoin-grant.sh
# Build only Rust grant (Core Engine)
./build-rust-grant.sh
# Build only Polkadot grant (Cross-Chain)
./build-polkadot-grant.sh
# Build ALL grants together
./BUILD_AND_TEST_ALL.shLive Testing Site with Real Wallet Connections:
cd test-website
node server.js
# Open http://localhost:8080/Features:
- ✅ Rust WASM engine (enhanced with EEG processing, emotional filters)
- ✅ Real wallet connections (NEAR, Solana, MetaMask, Polkadot)
- ✅ Testnet integration for all 5 blockchains
- ✅ IPFS/Filecoin storage testing
- ✅ Live fractal rendering in browser (Mandelbrot, Julia, Burning Ship)
- ✅ Blockchain activity logging
- ✅ Contract verification tools
- ✅ 9 interactive testing modules
Based on Real-World Research & Standards:
-
Dynamic NFT Contract (
src/near-wasm/src/dynamic_nft.rs- 335 lines)- ✅ NEP-171/NEP-177 fully compliant
- ✅ IPFS CIDv1 integration (best practices)
- ✅ Emotional state tracking (VAD model)
- ✅ Dynamic metadata updates
- ✅ Visual parameter calculation from emotions
- 📚 Based on: NEAR Protocol Standards
-
Emotional DAO (
src/marketplace/src/emotional_dao_prod.rs- 411 lines)- ✅ Sputnik DAO V2 architecture
- ✅ Emotional consensus calculation
- ✅ Multiple proposal types (Transfer, Poll, FunctionCall, etc.)
- ✅ Quorum and threshold voting
- ✅ EEG/BMI/Facial data sources
- 📚 Based on: https://github.com/near-daos/sputnik-dao-contract
-
IPFS Storage Contract (
src/ipfs-integration/src/production_storage.rs- 356 lines)- ✅ CIDv1 validation and URI generation
- ✅ Pin status management (Queued, Pinning, Pinned, Failed)
- ✅ ERC-721 compatible metadata
- ✅ Multi-provider support (Web3.Storage, Pinata, NFT.Storage)
- ✅ Gateway URL generation
- 📚 Based on: https://docs.ipfs.tech/how-to/best-practices-for-nft-data/
-
Contract Verification Tools (
test-website/contract-verification.js- 233 lines)- ✅ Standards compliance checker
- ✅ Security audit automation
- ✅ Gas estimation
- ✅ Unit test generation
- ✅ Deployment simulation
# Install CLI tools
./install-cli-tools.sh
# Deploy to testnets
./deploy-to-testnets.sh
# Package for production
./package-for-deployment.sh✅ Each grant is standalone - Can be deployed without others ✅ Shared dependencies - Core libraries used across grants (optional) ✅ Integration points - Grants work better together but aren't required ✅ Separate contracts - Each grant has its own smart contracts ✅ Independent frontends - Each grant has dedicated UI components
See GRANT_MODULES.json for complete module mapping and dependencies.
This project implements a comprehensive ecosystem for interactive creative NFTs across multiple blockchain platforms. The system enables real-time creative expression, emotional AI integration, and cross-chain interoperability for digital art and creative works.
Directory: src/near-wasm
Browser-based versions of Fractal Studio and WGSL Studio from the NUWE/Immersive VJ System ecosystem. WASM-compiled for NEAR BOS deployment with real-time fractal generation and WebGPU shader editing.
Key Features:
- 5 fractal types: Mandelbrot, Julia, Burning Ship, Newton, Phoenix
- Emotional modulation of fractal parameters (valence/arousal/dominance)
- VJ performance session tracking with keyframes
- WebGL/WebGPU shader code generation
- Audio-reactive shader templates
- Live coding session management
Implemented Files:
fractal_studio.rs- Fractal generation engine (362 lines)wgsl_studio.rs- WebGPU shader studio (263 lines)dynamic_nft.rs- Production NEP-171/177 NFT contract (335 lines) ✨NEW
Directory: src/marketplace
Marketplace for NUWE creative sessions, MODURUST modular tools, with DAO governance for the creative community. Enables trading of VJ performances, fractal artworks, and modular tool ownership.
Key Features:
- NUWE session NFTs with performance metrics and emotional summaries
- VJ collection management and curation
- MODURUST tool ownership NFTs with usage statistics
- Tool subscription model for recurring revenue
- Patch NFTs with complexity scoring
- Rating and reputation system for tools and creators
- DAO governance for platform decisions
- Soulbound tokens for creator identity
Implemented Files:
nuwe_marketplace.rs- NUWE session marketplace (201 lines)modurust_marketplace.rs- MODURUST tool marketplace (263 lines)emotional_dao_prod.rs- Production DAO with emotional voting (411 lines) ✨NEW
Directory: src/solana-client
High-performance emotional data tracking and Stream Diffusion generation recording on Solana. Optimized for 1000+ TPS with state compression for efficient storage.
Key Features:
- Emotional state vectors using VAD (Valence-Arousal-Dominance) model
- Emotional trajectory compression (90% space saving)
- Stream Diffusion session management with real-time frame tracking
- Performance metrics (FPS, inference time, quality scores)
- Emotional prompt modulation for AI generation
- EEG and BMI sensor data integration
Implemented Files:
neuroemotive.rs- Emotional state tracking (253 lines)stream_diffusion.rs- Real-time AI generation tracking (290 lines)
Directory: src/ipfs-integration
IPFS/Filecoin storage layer for ALL three project ecosystems: NUWE/IVJ, Neuroemotive AI, and MODURUST. Content-addressed storage with metadata schemas for each project type.
Key Features:
- NUWE VJ performance and fractal session storage
- Frame-by-frame rendering output management
- MODURUST tool asset bundles with dependencies
- Patch configuration and version control
- Neuroemotive AI session and trajectory storage
- Stream Diffusion generation bundle management
- Storage size estimation and optimization
Implemented Files:
ipfs_client.rs- IPFS wrapper (43 lines)nuwe_storage.rs- NUWE session storage (275 lines)modurust_storage.rs- MODURUST tool storage (315 lines)neuroemotive_storage.rs- AI data storage (299 lines)production_storage.rs- Production IPFS/CID contract (356 lines) ✨NEW
Directory: src/rust-client
NUWE Stripped: Lightweight, open-source version of NUWE/Immersive VJ System. Core fractal and shader engine without full IVJ features, designed for extensibility and community contribution.
Key Features:
- Core NUWE fractal generation algorithms
- GPU acceleration with wgpu
- Modular shader composition system
- Cross-platform compatibility (Linux, Windows, macOS)
- Emotional parameter mapping
- Performance monitoring and optimization
Enhanced Files:
webgpu_engine.rs- Added Newton + Phoenix fractalslib.rs- Enhanced WASM with EEG processing, emotional filters, complexity scoring (217 lines)
Directory: src/polkadot-client
Cross-chain bridge connecting ALL grants, specifically for Neuroemotive AI emotional data and soulbound tokens for creator identity across NEAR, Solana, and Polkadot.
Key Features:
- Soulbound token pallet for non-transferable creator identity
- Creator reputation system with badges
- Cross-chain emotional state proofs with ZK privacy
- Multi-chain session tracking and synchronization
- Emotional state distance calculations
- Bridge between NEAR (NUWE), Solana (AI), and Filecoin
Implemented Files:
soulbound.rs- Soulbound token pallet (201 lines)emotional_bridge.rs- Cross-chain emotional bridge (207 lines)
Directory: src/marketplace and marketplace-frontend
A comprehensive test marketplace that demonstrates all features working together:
- Cross-chain NFT trading
- DAO governance for platform decisions
- Soulbound tokens for creative identity
- Interactive NFT features
- Bridge functionality between chains
- Rust and Cargo
- Node.js and npm
- NEAR CLI
- Solana CLI
- IPFS daemon
# Build all modules
cargo build --release
# Build specific module (example for NEAR WASM)
cd src/near-wasm
./build.sh
# Build marketplace
cd src/marketplace
./build.sh# Run tests for all modules
cargo test
# Run tests for specific module
cd src/near-wasm
cargo testTotal New Code: ~2,900 lines across 11 new files
- ✅ NEAR: Fractal Studio + WGSL Studio (625 lines)
- ✅ Mintbase: NUWE + MODURUST Marketplace (464 lines)
- ✅ Solana: Neuroemotive AI + Stream Diffusion (543 lines)
- ✅ Filecoin: Universal storage for all 3 projects (932 lines)
- ✅ Rust: NUWE Stripped enhancements
- ✅ Polkadot: Soulbound tokens + Emotional bridge (408 lines)
- EEG and BMI sensor data on-chain
- Valence-Arousal-Dominance (VAD) emotional model
- ZK proofs for emotional privacy
- Cross-chain emotional state synchronization
- Non-transferable creator identity
- Reputation scoring across chains
- Achievement and certification badges
- DAO membership tokens
- Dynamic metadata updates based on interactions
- Emotional modulation of visual parameters
- Session replay and keyframe animation
- Performance metrics tracking
- Content-addressed IPFS/Filecoin integration
- Compression algorithms (90% space saving)
- Multi-project metadata schemas
- Size estimation and optimization
- Proposal and voting system
- Quorum-based decision making
- Member reputation weighting
- Platform fee and policy management
┌─────────────────────────────────────────────────────────────┐
│ Test Marketplace │
├─────────────────────────────────────────────────────────────┤
│ DAO Governance │ Cross-Chain Bridge │ Soulbound Tokens │
└─────────────────────────────────────────────────────────────┘
│
┌─────────────────────────────────────────────────────────────┐
│ Multi-Chain Integration │
├─────────────────────────────────────────────────────────────┤
│ NEAR (WASM) │ Solana │ Polkadot │ Filecoin/IPFS │
└─────────────────────────────────────────────────────────────┘
│
┌─────────────────────────────────────────────────────────────┐
│ Core Creative Engine │
├─────────────────────────────────────────────────────────────┤
│ Rust Client (NUWE Engine) │
└─────────────────────────────────────────────────────────────┘
- Browser-native creative tools with WASM performance
- Real-time parameter manipulation
- Live collaboration primitives
- Modular tool architecture
- Emotional state tracking for NFTs
- Real-time emotional data processing
- Affective computing integration
- Emotional metadata persistence
- Multi-chain NFT tokenization
- Cross-chain bridge protocols
- Unified API for multi-chain operations
- Parachain for global scalability
- DAO implementation for platform governance
- Community-driven feature development
- Proposal and voting system
- Reputation-based participation
- Core WASM engine implementation
- NEAR BOS integration
- Basic collaboration contracts
- Marketplace foundation
- Real-time state synchronization
- Multi-user live editing sessions
- Patch ecosystem with version control
- Enhanced marketplace features
- Cross-chain integration
- DAO governance implementation
- Advanced creative features
- Performance optimization
- Enterprise integration
- Global expansion
- Community building
- Long-term sustainability
We welcome contributions from the community! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: https://compiling-org.netlify.app
- GitHub: https://github.com/compiling-org
- Email: kapil.bambardekar@gmail.com, vdmo@gmail.com