# Opyn

Canonical: https://gaboesquivel.com/project/opyn

Opyn Markets perpetuals on Arbitrum with a Next.js trading interface and indexed onchain data.

**Role:** Software Engineer
**Employment:** Oct 2024 – Feb 2025 (Software Engineer, Opyn)
**Types:** web3, contract, featured, frontend, backend
**Technologies:** TypeScript, Next.js, React, Foundry, Solidity, Viem, Wagmi, Ponder, PostgreSQL, Supabase, shadcn/ui, Tailwind, TanStack Query, Zod, nuqs, Ethereum, Alchemy
**Link:** https://opyn.co

## Story

Opyn was shipping Opyn Markets, a perpetuals protocol on Arbitrum, and the trading UI needed indexed protocol state instead of reconstructing positions from raw RPC reads.
I set up the Next.js 14 app structure and the data-fetching path the interface sits on, with Ponder over PostgreSQL and Supabase, viem and wagmi on Arbitrum testnet, and a prototype LLM assistant for onboarding.

## Achievements

- Built the Next.js 14 trading interface with React Server Components.
- Integrated the protocol and Arbitrum testnet with viem and wagmi.
- Indexed onchain data with Ponder, PostgreSQL, and Supabase.
- Prototyped an LLM assistant for onboarding and support.

## Related writing

- [Tokenization](https://gaboesquivel.com/blog/2026-01-tokenization) (2026-01-01)
- [Bullish 2026](https://gaboesquivel.com/blog/2025-11-bullish-2026) (2025-11-01)