Model Hub is a decentralized platform designed to make machine learning models more accessible, secure, and fairly monetized.
It allows creators to upload encrypted models, and users can discover, rent, and use them through a transparent and trust-driven system powered by blockchain and decentralized storage.
-
Decentralized Model Marketplace
Creators can upload ML models and earn credits for each prediction request. -
AES-Encrypted Model Uploads
All models are encrypted before storage to ensure privacy and prevent misuse. -
IPFS Storage (Pinata Integration)
Encrypted models are stored on IPFS for decentralized, tamper-proof availability. -
Smart Contracts on Arbitrum Stylus (Sepolia)
Rust-based smart contracts manage payments, credits, and access control. -
Secure API Access with HMAC Authentication
Users receive API keys that verify each prediction request. -
Mini Zero-Knowledge Verifiable Proofs
Predictions can be verified without revealing sensitive data or the model itself. -
Python Inference Microservice
Handles secure model loading, prediction, and temporary decryption.
Below is the architecture diagram:
- React.js
- Tailwind CSS
- MetaMask / Web3 wallet integration
- Node.js
- Express.js
- MongoDB (stores encrypted keys, user metadata)
- Rust-based smart contracts
- Arbitrum Stylus (Sepolia Testnet)
- Python
- Secure inference microservice
- IPFS (Pinata)
- AES Encryption
- HMAC-SHA256 API Authentication
- Zero-Knowledge Proofs for prediction verification
- Creator uploads an ML model through the frontend.
- Model is AES-encrypted and stored on IPFS.
- Smart contract registers the model with pricing and ownership.
- User purchases credits via MetaMask (on Stylus).
- User makes a prediction request using their HMAC API key.
- Backend fetches the encrypted model, decrypts temporarily, and runs Python inference.
- A zero-knowledge proof is generated to validate prediction authenticity.
- User receives the prediction result.
- Cross-chain support for more networks
- Homomorphic encryption & zkML for privacy-preserving inference
- Community governance and reward mechanisms
- Decentralized compute layer for large model execution
This project is licensed under the MIT License.
For queries or collaboration, feel free to reach out.
