Update from SABG

Update screenshot
How we paid the 26th winner

Our last update introduced standings across CS2 arenas. This one adds skin prizes to those standings, reworks the live arena screen, and changes how we pay out when a lot of players make it to the end.

What we shipped

  • Batched arena payouts. On Solana devnet, the program now pays up to 20 winners per transaction. If a payout stops halfway through, it can resume from the last confirmed batch.

  • A new live arena screen. The broadcast sits above two prediction cards: “Now” shows the pick you’re waiting on, and “Next” shows the question you can answer.

  • A tougher Classic. The zone starts a round earlier and keeps moving through the second half. Only pistol rounds score double.

  • Skin prizes on the leaderboard. Competitions can show prizes for the top places. Winners can submit their Steam trade link from the final standings.

Insights

Everyone who makes it to the end of an arena gets a share of the prize pool. Our old payout put every winner’s wallet in one Solana transaction. At about 25 winners, we ran out of room.

Splitting the list solved the size problem. It also raised a question: if a batch goes through but the server goes down before it records the payment, how does it know where to start again?

We sort the wallets before the first payment. The program keeps track of how far it got and the last wallet it processed. Each batch has to pick up from there, so it can’t pay the same wallet twice.

We tried it with 26 winners. We killed the payout worker after the first 20 transfers were final on Solana, but before our database recorded them. When it restarted, it found the original transaction and sent the remaining six. All 26 wallets got paid once.

Give feedback to the team

Your message is private to you and the SABG team.

Create an account to send feedback

After signup, you can write a private message with this update attached.

More from SABG

All project updates