AIGI-NFT: A blockchain-based framework for AI-generated image trading with simulated BB84 key distribution
Abstract
Abstract In the era of artificial intelligence, the AI-generated image (AIGI) market is an emerging sector that faces significant challenges related to ownership, privacy, and security. These issues, especially prevalent in NFT markets, can be effectively addressed by the integration of advanced technologies such as blockchain, the InterPlanetary File System (IPFS), and Quantum Key Distribution (QKD). This study proposes a comprehensive trading framework that incorporates state-of-the-art methodologies and algorithms to simulate the entire AI image trading process. For image generation, the framework utilises diffusion models (LCM-LoRA + SDXL) and Generative Adversarial Networks (GANs), employing LCM-LoRA and LCMScheduler from Stable Diffusion XL Base 1.0 to accelerate image generation and reduce inference steps. Implementation is carried out using PyTorch and the Diffusers library, running on a CUDA-enabled GPU. The generated images are securely stored in the distributed IPFS storage system, while decentralised trading is facilitated through integration with the Hyperledger MiniFab tool. The framework supports multiple trading mechanisms, including Blind English Sealed-Bid Auctions (BESEA), fixed-price auctions with a first-come, first-served (FCFS) model, Dutch auctions with royalty redistribution, and fractionalized auction trading. To ensure secure communication between buyers and sellers, the BB84 QKD protocol is employed to generate a shared secret key with information-theoretic security. The generated key is processed through key sifting to derive a symmetric key, which is zero-padded to the 256-bit length required by AES-256-CBC. It is then directly used as the encryption key to encrypt AI-generated images and their associated metadata before storage on IPFS. Experimental evaluation across four auction mechanisms and up to 250 NFTs shows the Dutch auction achieving the highest sales volume (up to 211 NFTs sold) and the Fractionalized auction the highest revenue ( 98,270). The IPFS storage maintains sub-0.75-second upload latency with 100% file verification success. Blockchain-layer benchmarking across 100β500 participants records mean chaincode latency ranging from approximately 22 to 53 seconds and throughput of 0.018β0.045 TPS.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.