Roan Merens
All writing

Onsight: prediction markets made social

The full stack of a prediction-markets trading suite: a Telegram bot that trades Polymarket gaslessly, Discord monitors, and a heavy emphasis on securing user funds.

tradingweb3security

Onsight is a suite of tools for prediction-market traders. The core product is a Telegram bot that trades Polymarket directly, alongside a web platform at onsight.trade and Discord monitors for real-time wallet and trade alerts.

I built the stack: the Next.js frontend, the Node.js backend, the React Native app, and the Telegram bot itself.

The interesting problems

  • Speed. The bot ingests order-book data 3 to 5 seconds before on-chain confirmation, faster than competing bots. In markets that move on news, those seconds are the product
  • Gasless UX. Every user gets an automatically created Gnosis Safe on Polygon, and both trading and withdrawals are fully gasless, with no MATIC required. Deposits arrive from 13 chains in more than 50 currencies and are automatically swapped to USDC.e
  • Order types. Market and limit orders, stop-loss and take-profit, and copy trading that automatically follows wallets you trust
  • Security. This is custody-adjacent software handling other people's money from a chat app. Encryption of sensitive user and transaction data was a first-class requirement, not an afterthought

Infrastructure

Docker on AWS, which I ran end to end. Onboarding was tuned until a new user could go from /start to a first trade in under a minute.