Inspiration

We were inspired by the intersection of creativity and blockchain, combined with the desire to offer a platform that promotes freedom of expression. TronPixels allows users to express themselves through pixel art without fear of censorship, ensuring that every creation is immutable, transparent, and securely stored on the blockchain. We wanted to build a space where creativity knows no limits and speech is truly free, all within a decentralized ecosystem.

What it does

TronPixels provides a platform where users can create, share, and upvote pixel art directly on the blockchain. Each artwork is composed on a 25x25 grid (with future support for 100x100) and saved immutably on the BitTorrent Chain. The platform also promotes community engagement through upvotes, allowing users to interact with and support their favorite pixel art creations. By storing data such as colors, structures, titles, descriptions, and wallet addresses on-chain, TronPixels ensures transparency, and creative freedom for every user.

How we built it

TronPixels is built using HTML, CSS, and JavaScript for the frontend, allowing users to design pixel art on a 25x25 grid. We deployed smart contracts on the BTTC mainnet to store pixel data (colors, structures) and metadata (titles, descriptions, timestamps). The upvote smart contract handles voting functionality. Web3.js connects the frontend to the blockchain, enabling users to submit and retrieve pixel art using MetaMask.

Challenges we ran into

We faced challenges in optimizing the interaction between the canvas and blockchain, ensuring smooth submissions without delays. Implementing efficient storage for pixel data on-chain was complex, especially managing gas costs for storing the 25x25 grid. Additionally, handling the real-time interaction between the user interface and smart contracts, while ensuring upvotes and retrieval, required fine-tuning.

Accomplishments that we're proud of

We successfully deployed smart contracts on BTTC mainnet, enabling users to store and upvote pixel art directly on the blockchain. The project achieved integration of blockchain interactions with the creative process.

What we learned

We gained deeper insights into optimizing blockchain-based data storage, specifically for visual data like pixel grids. We also enhanced our understanding of user interaction with decentralized applications and smart contracts on BTTC.

What's next for TronPixels

Our next step is to scale the platform to support larger grids like 100x100, introduce additional colors and structures, and explore integrating more interactive features to foster community engagement. Moreover, we plan to launch more customization options and expand the TronPixels community globally.

Built With

Share this project:

Updates