SAM BILLINGHAMLOFOTEN, NORWAY
T03

Traits + On-Chain Renderer

CONTRACT

SOLIDITY · TYPESCRIPT · HARDHAT · WAGMI

Overview

Two connected 2022 prototypes explored swappable visual identities: an ERC-1155 trait inventory and a renderer that stores a 32×32, four-colour image in eight uint256 values.

Field notes

  • Each image became two 1,024-bit planes, decoded with bitmasks. SVG assembly batched pixels into rows and blocks after recursive string concatenation proved too expensive.
  • TraitsNFT compared signed off-chain updates, direct contract callbacks, and non-escrow staking that locked transfers while a trait was in use.
  • The builder separated artist-assigned Intrinsic Value from randomized rarity, recolouring one base design across five rarity levels.
  • Transferring a selected trait reset the dependent Blerg artwork; unstaking an active trait returned tokenURI to a blank composition.
  • Supabase-backed metadata and SVG endpoints completed the prototype. Hardhat tests and gas estimates covered blank, composed, transferred, staked, and unstaked states.
Original NFTraits builder showing a Crown drawn on the grid with rarity colour, intrinsic value, and packed layer data
TRAITS/01 · CROWN + PACKED LAYER DATA

System captures

Original Goerli NFTraits interface offering a free trait-pack mint to an eligible Blerg holder
TRAITS/02 · BLERG HOLDER MINT
Original pixel-art cards for the Golden Cube, Toupee, Third Eye, and Blerg output with rarity colour overlays
TRAITS/03 · ITEM CARDS + BLERG OUTPUT

Projects

  • Lofoten Fieldworks

    A browser journey and trail companion for the Lofoten crossing, built on shared terrain data.

    TYPESCRIPT · THREE.JS · REACT NATIVE · KARTVERKET
  • Hexapod.industries

    A 12-week alternate reality game told through fictional websites, terminal puzzles, a phone challenge, and Ethereum collectibles.

    NEXT · R3F · SOLIDITY · TWILIO
  • Traits + On-Chain Renderer

    Two Blergs DAO prototypes: a reusable trait inventory and a compact pixel-art renderer for Ethereum.

    SOLIDITY · TYPESCRIPT · HARDHAT · WAGMI
  • Good Monkeyz

    A sold-out 2,000-piece Ethereum collection, from mint and reveal to a token-gated merch store and physical fulfilment.

    NUXT · ETHERS · WALLETCONNECT · SUPABASE
  • Bldg Blox Inc

    Founding engineer for a neighbourhood platform connecting residents, institutions, and local projects, with exploratory contribution-based governance.

    NUXT · FIREBASE · CLOUD FUNCTIONS · EOS
  • Steem Product Ecosystem

    A year of open-source Steem tools: embedded comments, themed websites, community apps, and developer tutorials across 31 repositories.

    NODE · EXPRESS · STEEM.JS · STEEMCONNECT
  • Command Control

    A three-player spacecraft game with handmade switches and dials, live phone displays, and increasingly frantic shouted instructions.

    NODE · ARDUINO · MQTT