patolabs
WorkJournalUsesBeta
WorkJournalUsesBeta

Journal

Notes on craft.

Short essays on building native apps, working with Swift, and exploring the open web.

RSS
Allanvilapp-storeapplebasebreathingdeverc721foundryindieiosmonte-carlonftpatolabsperformancepersonalprivacysimulationsoliditysouffleswiftswiftdataviemweb3
  • Jun 30, 2026·8 min read

    Replaying the chain locally: the fork that made my bot's simulations affordable

    A bot that picks fights by simulating the game's battle engine needs hundreds of thousands of on-chain reads. The free RPC tier can't keep up, and I refused to pay for it. The fix: fork the chain onto my own machine — and the memory bug that taught me elegant isn't the same as correct.

    web3basefoundryanvilperformanceviemdev
  • May 3, 2026·7 min read

    Anatomy of the PatolabsOG contract

    229 lines of Solidity, an ERC-721 with on-chain SVG art, a 1-per-tier invariant enforced on transfers, and a few design decisions worth explaining.

    soliditynfterc721baseweb3foundrydev

© 2026 patolabs. Crafted with care.

Privacy PolicyTerms of ServiceContact & Support