This project is a blockchain-based AI Model Marketplace where users can buy and sell AI models using an ERC-20 token. It integrates functionalities developed in previous assignments, including an ERC-20 smart contract and an AI model marketplace, into a single product. Now, users are provided with possibility of purchasing AI models and even listing their own on our platform using our very own token - EATKN.
- Implemented wallet connection using Metamask or similar tools.
- Users can connect their wallets to interact with the marketplace.
- Displays the user's ERC-20 token balance on the marketplace interface.
- Provides functionality to refresh the token balance.
- Shows a list of AI models available for purchase with details such as:
- Model name
- Description
- Price in ERC-20 tokens
- Seller details (wallet address)
- Allows sellers to create new listings by providing:
- Model details
- Price in ERC-20 tokens
- Upload model file or access link (secure storage implemented)
- Buyers can view AI model details.
- Purchase process includes:
- Transferring the required amount of ERC-20 tokens to the seller.
- Updating the marketplace UI to reflect the sale (e.g., marking models as sold or adjusting inventory).
- Blockchain: Ethereum
- Smart Contracts: Solidity (ERC-20 Token + AIModelMarketplace contract)
- Wallet Integration: Metamask
- Frontend: html, css, js
- Backend: Node.js, Web3js
- Deployment: thirdweb.com
- Node.js and npm installed
- Metamask extension added to the browser
- EATKN tokens on your Metamask wallet balance are required for functions to work properly
- Clone the Repository:
git clone https://github.com/Timirlon/ai-model-marketplace
- Install Dependencies:
npm install
- Launch server locally:
npx http-server -p 3000
- Interact with the Marketplace:
- Connect Metamask wallet.
- View AI models.
- Purchase models using ERC-20 tokens.
- List new models for sale.
- Thirdweb deployment - thirdweb.com
- Temirlan Turgimbayev
- Amirkhan Turgimbayev
This project is designed for academic purposes only and is not intended for commercial use. Licensed under MIT License.