DGC
Where digital art comes alive
The problem DGC solves
Creators and collectors lack a simple, end-to-end way to generate, mint, and verify digital art provenance. CanvasChain combines generative AI, decentralized storage (IPFS), and on‑chain provenance so creators can mint authentic work with immutably verifiable history, and collectors can confidently verify authenticity and royalties.
Challenges I ran into
IPFS reliability & metadata permanence — implemented a dedicated upload/pinning flow (/api/upload) and gateway URLs; added pinning support to ensure long-term availability.
Gas costs & contract design constraints — optimized contracts (batch ops where appropriate) and used Foundry/Hardhat gas-reporting to iterate on cheaper patterns.
Provenance immutability vs. metadata updates — added cryptographic provenance hashes and a ProvenanceRegistry contract so provenance history is immutable while metadata can be referenced off-chain.
Wallet UX and mint flow — integrated ethers.js (v6) in the frontend, added clear wallet prompts and friendly error handling to reduce user friction.
Cross-stack testing — added unit + integration tests (Foundry/Hardhat for contracts, pytest for backend, vitest for frontend) and CI-friendly scripts.
Tracks Applied (3)
Blockchain
Generative AI
Ethereum Track
ETHIndia
