Limitless Labs
Project
Limitless Labs — prediction markets on Base
Senior blockchain engineer
Limitless Labs' prediction-markets platform on Base — shipping across four codebases: the API (NestJS, Fastify, TypeORM, PostgreSQL), smart contracts (Solidity, Hardhat, Foundry, custom FPMM v5/v6, LMSR), indexer (Envio, TypeScript, Slack/Discord bots), and frontend (React, Next.js, Chakra UI, Privy). During Carlo's era the platform priced every market with a Gnosis FixedProductMarketMaker deployed deterministically per question; it has since layered a CTF Exchange CLOB and NegRisk multi-outcome stack on top of the same CTF foundation. Lives at limitless.exchange.
Owned backend architecture and the smart-contract integration layer, collapsed the manually-assembled market-creation flow into a single operator action, and shipped across four services — API, contracts, indexer, and frontend.
- Led backend services in NestJS + Fastify + TypeScript + TypeORM + Prisma on PostgreSQL, with environment-specific configuration across Base Mainnet, Base Sepolia, UAT, and local so the same service could safely target any chain without code changes.
- Migrated the API datastore from MongoDB/Mongoose to PostgreSQL/TypeORM with zero data loss, converting all schemas to entities with proper relationships, composite keys, and a production seeder handling legacy market data transformation.
- Automated end-to-end market creation across frontend → backend → smart contract → Gnosis Safe multisig, collapsing the manually-assembled flow (register condition, deploy FPMM, seed liquidity, route through multisig) into a single operator action behind an internal form, a REST API, and a Gnosis Safe SDK approval link.
- Built custom FPMM contract iterations (v5, v6) extending Gnosis Protocol's Fixed Product Market Maker with modified storage layout and fee logic, plus LMSR market maker integration with WETH9 collateral. Authored mock token infrastructure (MockWETH9, MockCoin, MockDegenERC20) and multi-chain Hardhat deployment scripts across Base, Blast Sepolia, and Sepolia.
- Built the Envio-powered blockchain indexer for FPMM and Conditional Tokens events across Base Mainnet, Base Sepolia, UAT, and local environments. Integrated CoinGecko for dynamic USD price fetching in Slack and Discord trade-alert bots. Resolved non-deterministic indexing, BigInt serialization issues, and implemented smart-account EOA resolution for accurate trade attribution.
- Built the prediction-markets frontend on Chakra UI with Privy wallet authentication, subgraph-driven data fetching across environments (UAT, stable, prod), Farcaster frame integration for market sharing, and a dynamic OG image generator. Led the full UI/UX redesign including dark mode, mobile-responsive trading UI, and real-time portfolio calculations.
- Designed bigint formatting and parsing across the frontend/backend boundary so USDC (6 decimals) and ERC-1155 outcome share balances crossed the API without precision loss.
- Wrote comprehensive test coverage against the Conditional Tokens Framework lifecycle (prepareCondition → splitPosition / mergePositions → reportPayouts → redeemPositions) and the platform's market-maker contracts in Hardhat and Foundry.
Gallery


Coverage & write-ups
- The Ultimate Guide to DeFi Prediction Markets with Limitless on Base
- Limitless Prediction Market Closes $10M Seed Round Ahead of LMTS Token Launch
- Limitless Raise $4m Strategic Funding, Launch Points Ahead of TGE
- How Trading Fees Work on Limitless
- Limitless Exchange Files for CFTC Approval After Record $1.66B Month