~/work/pixel-devs.developerdao.comOpen-source contributor

Pixel Devs

23 / 27

Project · 23 / 27

Pixel Devs — Developer DAO derivative NFT on Polygon

Open-source contributor

Developer DAO's community-built derivative NFT collection — a pixel-art rendering of the original Devs for Revolution genesis NFT, mintable on Polygon by genesis holders. 8,000-supply, 1:1 with the genesis collection, launched 22 February 2022 from an open-source monorepo at pixel-devs.developerdao.com.

Impact

Open-source contributor on Developer DAO's Pixel Devs / derivatives project across late 2021 and early 2022 — the lead-up to the Polygon mainnet mint and the post-launch UkraineDAO charity-mint plan. Credited in the upstream README under the all-contributors specification.

Outcomes

  • Migrated the Hardhat contract toolchain to TypeScript with TypeChain-generated PixelAvatars bindings so deploy scripts, tests, and the rest of the project consume one source of truth at compile time.
  • Refactored the legacy ~1,800-line contract into a focused PixelAvatars.sol implementation behind the OpenZeppelin upgradeable proxy, and authored the first end-to-end TypeScript test spec exercising the mint signature verification path.
  • Modernised the Solidity toolchain — bumped to ^0.8.9, integrated solhint + prettier with prettier-plugin-solidity, and applied a repo-wide style pass that turned lint into a CI gate.
  • Reordered the PixelAvatars contract to match the official Solidity style guide's order-of-functions so the mint surface reads in the order auditors and new contributors expect.
  • Brought Vue Router into the trait previewer with a useRouteParameterSync composable so a holder can drop a deep link to their pixel avatar into Discord and have the recipient land on the same preview.
  • Prototyped EIP-2981 secondary-market royalties on the upgradeable contract via a new @eip2981 contract namespace, scoped against the Developer DAO for Ukraine charity-mint plan that routed proceeds to UkraineDAO.

Gallery

Hero image from the Developer DAO blog post launching Pixel Devs NFT on Polygon
Pixel Devs launch on Polygon. via Developer DAO Blog
Architecture flow diagram of the cross-chain authorization-server mint approach
The cross-chain authorization-server mint flow. via Developer DAO Blog
Hero image from the Developer DAO for Ukraine charity-mint blog post
The UkraineDAO charity-mint derivative. via Developer DAO Blog

Stack

  • Solidity ^0.8.9
  • Hardhat
  • OpenZeppelin Upgrades
  • TypeChain
  • TypeScript
  • Vue 3
  • Vite
  • Vue Router
  • Node.js
  • Polygon
  • EIP-2981
  • solhint
  • prettier
  • ISC license

Coverage & write-ups