hackquest logo

Mantle Canvas

A decentralized platform that empowers users to collaboratively create and mint vibrant pixel art on a canvas.

Videos

Description

Mantle-Canvas

Mantle-Canvas is a decentralized platform that empowers users to collaboratively create vibrant pixel art on a canvas. Participants can paint individual pixels or upload entire images, utilizing Paint Tokens—an ERC20-based cryptocurrency—to purchase and set pixel colors. The system leverages smart contracts deployed on the Mantle sepolia testnet to manage token transactions and ensure secure, ownership-based modifications of the canvas. This seamless integration of blockchain technology fosters a community-driven art experience, allowing anyone to contribute to and own a piece of the collective masterpiece.

You can access the Dapp right now at https://mantle-canvas.vercel.app/

Key Features

  • 64x64 Collaborative Canvas: A fixed-size canvas where users can paint pixels individually or apply entire images.
  • Paint Tokens (ERC20): A cryptocurrency used to set pixel colors, ensuring secure and transparent transactions.
  • Smart Contract Integration: Utilizes Solidity contracts deployed on Mantle sepolia.
  • Image Upload Capability: Allows users to upload images, which can be applied to specific areas of the canvas by selecting designated regions.
  • User-Friendly Frontend: An intuitive Next.js interface that facilitates easy interaction with the canvas, token purchases, and image uploads.


Smart Contracts

  • Location: packages/hardhat/contracts/CollaborativeArtCanvas.sol and packages/hardhat/contracts/PaintToken.sol


  • CollaborativeArtCanvas.sol:

Description: Handles the canvas state, pixel color updates, and interactions with Paint Tokens, enabling users to paint and own pixels securely.

Deployment Address: 0xD29e6E81BE21Fd453a0324053C3D5b0cED95958A


  • PaintToken.sol:

Description: Manages the creation, distribution, and burning of Paint Tokens, ensuring a controlled token economy within the platform.

Deployment Address: 0xfBE00f18773B1B2Cd37Bb09DE269C2A1F14868d7

Progress During Hackathon

During the hackathon, I swiftly conceptualized the project, integrating ERC20-based Paint Tokens and deploying smart contracts on the Mantle sepolia testnet. After that I developed a collaborative 64x64 canvas where users can paint pixels or upload images. The user-friendly Next.js interface facilitated seamless interactions with the canvas, token purchases, and image uploads. Rapid iterations and collaborative efforts resulted in a functional, decentralized art platform that empowers users to contribute to and own a piece of the collective masterpiece.

Fundraising Status

I haven't raised any type of funds.

Team LeaderFfan crypto
Sector
DeFiNFTGameFi

Builders Also Viewed