Skip to content
Dylan Kentish

WorkHashcrash

A crash game we shipped, then shut down.

Hashcrash is an on-chain crash game with a liquidity side, on Abstract. Francis wrote the contracts and the subgraph. I did everything else, at Built Labs. On-chain logs show a peak pot of about 92 ETH and about 539 ETH of bets across about 149,000 bets. At that peak, the volume covered the cost of running it. Later, attention moved on, the bets fell too low to cover operating costs, and we shut it down.

Interface

The game during a round: the multiplier chart, the bets placed, the chat, and the bet panels. It is the image hashcrash.xyz uses for link previews.

Problem

A crash game moves one step with every block. At each step the multiplier climbs or the round ends, and anyone still in loses their bet. A player has to see that step as it happens and get a cash-out onto the chain before the next one. A wallet pop-up on every bet is too slow for that.

What I did

I built the website, the live game server and the chat, and I ran the game. It started in April 2025 as a submission to the $Grind hackathon, then went live and was updated while it ran. A player connects a wallet, places up to two bets a round, sets the multiplier to cash out at, and watches the round with everyone else. Around the game I built leaderboards, referrals, a page of each player’s history, and the liquidity screen for depositing and withdrawing.

A Built Labs project. Francis wrote the contracts and the subgraph, the index of on-chain events the site reads its history and leaderboards from. I did everything else. We first built software together as apprentices at Renishaw.

Constraints

Everyone has to see the same round at the same step. A bet has to land in the round it was placed for. The pot is the balance sitting in the contract, so the site can show it but never holds it. And a player has to be able to check a finished round without taking the site’s word for it.

Decisions

  • Push the round to every browser from one place, rather than have every player poll the site. A small separate server on Heroku listens for each new block, asks the site for the state of the game at that block, and sends the same message to everyone. That is faster and more efficient. A block that arrives out of order is dropped.
  • Work out each block once. The state of the game at a given block never changes, so the answer is cached for good, and a lock stops two requests computing the same block at the same time.
  • Let a player approve once, then bet without a pop-up. A session key, limited to the game’s own calls and good for one day, signs the bets and the cash-outs. The game called this Turbo Mode. We paid the transaction fees, so a bet cost the player only the bet.
  • Let anyone check a round. The result comes from a salt committed before the round and the hashes of the blocks it ran over. The history panel has a proof for each finished round that a player can verify against the contract.
  • Shut the operation down when bet volume no longer covered the cost of operating it, and leave the site and the contract in place.

Result

The site is still at hashcrash.xyz. The pot peaked at about 92 ETH (91.97 WETH on 2 August 2025), and bets summed to about 539 ETH (538.75 ETH across 149,101 bets), over about 67,000 rounds. The operation was shut down in July 2026. When those logs were read, the contract held about 2.03 WETH. In October 2026 Abstract, the chain it ran on, announced that it is winding down, and the chain is due to stop on 15 December 2026. The on-chain records this page links to will go with it.

Sources

  • Abstract winding down

    Abstract’s own announcement, “Abstract is Winding Down”, posted on 6 October 2026. Press coverage of it gives 15 December 2026 as the day the chain stops.

  • Public site

    On 27 September 2026 the page still loaded and said under maintenance. The operation is shut down.

  • Contract

    HashCrashNative on Abstract mainnet. The peak pot is the contract’s WETH balance, about 91.97 ETH around block 15861750 on 2 August 2025. Bet volume is the sum of BetPlaced amounts, about 538.75 ETH across 149,101 events. Abscan shows about 220,330 transactions, 67,413 rounds started, about 67,399 rounds ended, and 14 rounds refunded. The contract held about 2.03 WETH when those logs were read. The last permanent switch-off was a setActive(false) on 28 July 2026. Round-start liquidity is maximum exposure, about one percent of the pot, not the pot. No dollar figure.

  • Credit

    Francis wrote the contracts and the subgraph. I did everything else, at Built Labs.

  • Hackathon announcement

    BEARISH announced the hackathon on 12 April 2025, with $Grind, for apps and games built on Abstract. It opened on Monday 14 April. Hashcrash started as a submission, and the first commit to the site is from that Monday.

Reflection

I would only open it again if the volume covered the cost of running it.

Technical notes

The site is Next.js on Vercel. The live round comes from a small Node websocket server on Heroku, and the chat runs on a Cloudflare Worker. Players connect with Abstract Global Wallet. Accounts and referral codes are in Postgres. History and leaderboards are read from the subgraph Francis wrote. I did not write the contracts or the subgraph.

Skills

TypeScript, Next.js, Node.js, WebSockets, Cloudflare Workers, Postgres

Related