Software Engineer, Trading Platform

PriorMarket

San Francisco (CA)

On-site

USD 150,000 - 210,000

Full time

7 hours ago
Be an early applicant

A complete application in a minute

Tailored resume and cover letter, ready to send.

Get past ATS filters

Job summary

Priormarket is hiring a backend engineer to own the off-chain platform around its escrow contracts on Base. The work centers on the contract lifecycle, event synchronization, the keeper, balances and fees, with correctness under retries, crashes, timeouts, concurrency and growing volume.

You will harden the TypeScript and Postgres systems, reconcile balances against the chain, improve automated settlement and refunds, and help build Priormarket-seeded contracts with exposure limits.

Qualifications

  • 4+ years building backend systems where correctness mattered, such as payments, ledgers, trading, or billing.
  • Deep knowledge of relational databases, including transactions, isolation levels, locks, constraints, and idempotency keys.
  • Experience with concurrent and distributed systems and their failure modes.
  • A record of leading a large critical-system project from design through rollout.
  • Strong TypeScript skills, or another typed language and interest in learning TypeScript.
  • Sound judgment about priorities and the cost of bugs.

Responsibilities

  • Own the contract lifecycle end to end, ensuring every state change is idempotent and tested.
  • Harden synchronization of escrow and USDC events into Postgres, including retries, reorg safety, and recovery after RPC outages.
  • Maintain accurate balances and fees, and reconcile them daily against the chain with alerts for discrepancies.
  • Handle concurrency and failure cases such as competing takers, timeouts, interrupted keeper runs, and failed USDC payouts.
  • Improve the keeper that cancels expired offers, finalizes contracts, refunds unresolved contracts, and claims payouts.
  • Build platform support for Priormarket-seeded contracts, including exposure limits and an off switch.
  • Stress test the platform with load tests, fault injection, and scalable database access patterns.
  • Investigate users' money-related questions and implement fixes that prevent recurrence.

Skills

Backend systems
Relational databases
Distributed systems
Project leadership
Prioritization
On-chain indexing
Double-entry ledgers
Market making
Pricing
Treasury systems

Tools

TypeScript
Postgres
viem
ethers
EIP-712
USDC

Job description

About The Role

Every Priormarket contract moves money at each step. The creator signs a stake, our relayer submits it, and the USDC locks in escrow on Base. A taker signs the other side. The resolver proposes an outcome, a 48-hour dispute window runs, and a keeper finalizes it, pays the winner into their wallet, or refunds both sides when nobody could resolve it. Postgres mirrors all of it from on-chain events every minute, so the app can show balances, statuses and history instantly.

You'll own that platform: the lifecycle, the event sync, the keeper, and balances and fees. It has to stay correct through retries, crashes, timeouts and two people taking the same open seat in the same second, and it has to stay correct as volume grows. If the database ever disagrees with the chain, you should be the first to know, and why.

The role sits next to our smart contract work but isn't Solidity-first. It's the off-chain system around the escrow, in TypeScript and Postgres.

What you'll do
  • Own the contract lifecycle end to end: create, take, cancel, propose, dispute, override, settle, refund and claim, with every state change idempotent and tested.
  • Run and harden the sync that mirrors escrow and USDC events into Postgres: cursors, retries, reorg safety, and catching up after an RPC outage without counting anything twice.
  • Keep balances exactly right: stakes, the 3% fees on deposits and on winnings, payouts and refunds, with a daily reconciliation against the chain that alerts someone when it doesn't balance.
  • Make concurrency boring: two takers racing for one seat, a receipt that times out, a keeper run that dies halfway, a payout to an address that can't receive USDC.
  • Improve the keeper that moves money without anyone clicking: cancelling expired offers, finalizing after the dispute window, refunding unresolved contracts, claiming payouts into wallets.
  • Build the platform side of a plan we're working on: Priormarket-seeded contracts, where Priormarket takes a side with real money so there's always someone to trade with, with exposure limits and an off switch.
  • Stress test before volume does: load tests, fault injection, and database access patterns that hold up as contracts pile up.
  • Take the hardest money questions from users and support, and turn each one into a fix that stops it happening again.
What you'll bring
  • 4+ years building backend systems where correctness mattered: payments, ledgers, trading, billing or similar.
  • Deep relational database knowledge: transactions, isolation levels, locks, constraints and idempotency keys.
  • Experience with concurrent and distributed systems, and how they fail.
  • A record of leading a large project on a critical system from design through rollout.
  • Strong TypeScript, or another typed language and the interest to make TypeScript yours.
  • Judgment about priorities: you know which bug costs money today and which can wait.
Bonus points
  • On-chain experience: indexing events, handling reorgs, viem or ethers, EIP-712 and signed USDC transfers.
  • A double-entry ledger or reconciliation system you built.
  • Market making, pricing or treasury systems, useful for Priormarket-seeded contracts.
Your first 90 days
  • 1A reconciliation check that proves every day that Postgres and the escrow agree, with an alert when they don't.
  • 2The lifecycle's failure modes written down, each with a test that reproduces it.
  • 3One meaningful reliability improvement to the sync or the keeper, shipped and measured.
  • 4A design for the systems behind Priormarket-seeded contracts.
About Priormarket

Priormarket turns any disagreement into a contract. Someone writes a yes-or-no question in plain words ("Will Bitcoin trade above $150,000 by March 31?", "Will IShowSpeed's stream go past 24 hours?"), puts money on their side, and one other person takes the other side. Both stakes are locked in a USDC escrow contract on Base until the outcome is known, and the winner takes the pool.

The hard part of a prediction market is settling it fairly. Ours is settled by an AI resolver that reads official records, credible reporting, price feeds, and even livestreams, quotes its evidence word for word, and checks itself in code. Either side can dispute an outcome for 48 hours, and human moderators decide what the AI can't. Deposits work with crypto from most chains, with cards and Apple Pay, and from exchanges.

We're early, and the people who join now decide what Priormarket becomes. We care most about two things: reaching the people who already argue about outcomes every day (crypto traders, sports fans, stream chats, group chats), and knowing each world well enough to write contracts that are worth taking.

Get your free, confidential resume review.

or drag and drop your file here.

Michael Carter
Michael Carter
I was stuck sending out resumes with no response until I used JobLeads. They made my resume impossible for recruiters to ignore.
Sophie Reynolds
Sophie Reynolds
JobLeads' resume review helped me fix critical mistakes, and I started getting interviews almost immediately!
Daniel Fischer
Daniel Fischer
With JobLeads' resume review, my resume went from overlooked to interview-ready in no time!
Similar jobs

Similar jobs worth comparing

Staff Protocol Engineer, Smart Contracts
Staff Protocol Engineer, Smart Contracts

PriorMarket • New York (NY)

On-site
USD 180,000 - 260,000
Staff Distributed Systems Engineer
Staff Distributed Systems Engineer

PriorMarket • San Francisco (CA)

On-site
USD 180,000 - 240,000
Trading Systems Engineer, Liquidity
Trading Systems Engineer, Liquidity

PriorMarket • New York (NY)

On-site
USD 150,000 - 210,000
Staff Backend Engineer
Staff Backend Engineer

PriorMarket • San Francisco (CA)

On-site
USD 180,000 - 260,000
Product Manager, Core Product
Product Manager, Core Product

PriorMarket • San Francisco (CA)

On-site
USD 120,000 - 170,000
Director of Engineering, Payments, Escrow & Risk
Director of Engineering, Payments, Escrow & Risk

PriorMarket • San Francisco (CA)

On-site
USD 220,000 - 330,000
Software Engineer, Frontend
Software Engineer, Frontend

PriorMarket • San Francisco (CA)

On-site
USD 150,000 - 210,000
Head of Markets
Head of Markets

PriorMarket • San Francisco (CA)

On-site
USD 180,000 - 250,000
Technical Product Manager, CX Tooling
Technical Product Manager, CX Tooling

PriorMarket • New York (NY)

On-site
USD 115,000 - 165,000
Staff Software Engineer, Mission Control
Staff Software Engineer, Mission Control

PriorMarket • San Francisco (CA)

On-site
USD 180,000 - 240,000