Canvas Labs
Book a free 30-min call
Case studies
Verified engagement·Blockchain & Web3 Engineering

Live PnL Tracking for Sui Token Traders

Blockchain / Trading Platforms

Turning raw Sui on-chain events into live per-wallet profit and loss, with the admin tools to moderate a fast-moving token launch platform at scale.

On-Chain Indexer & Real-Time PnL Engine

Overview

A Sui blockchain-based token launch and trading platform needed live profit-and-loss computation for every trader, plus the operational tools to moderate a fast-moving platform of user-launched tokens, and raw on-chain events were not a usable data model for either. Canvas Labs Partners built a custom indexer, a live PnL engine, and a full moderation console on top of it.

Live PnL for every wallet

computed from indexed on-chain trade history

Full moderation console

banning, streams, tokens and threaded conversations at scale

Near-real-time indexing

raw on-chain events synced to a relational database

Challenge

Raw on-chain events are not a usable data model. The platform needed live profit-and-loss computation for every trader, which meant turning a stream of blockchain events into per-wallet numbers in near-real time, plus the operational tools to moderate a fast-moving platform where tokens, live streams and conversations were all being created by users at scale.

Solution

Canvas Labs Partners built a custom indexer that syncs on-chain events from the Sui blockchain to a relational PostgreSQL database in near-real time, turning raw blockchain activity into a queryable data model the rest of the platform could build on. On top of that indexed history, a live PnL engine computes and tracks profit and loss per wallet, derived directly from each wallet's own indexed trade history.

A full admin console gives the operations team control over a platform where anyone can launch a token. It handles monitoring, banning, and managing streams, tokens and threaded conversations at scale, covering every part of the platform moderators need to act on from one place.

The platform also carries live video. HLS video streaming integration delivers scalable, low-latency live content alongside the trading surface, so a token's community can watch a stream and trade the same token in the same place, with the indexer and PnL engine keeping the numbers current underneath it.

Results & benefits

The platform now computes live profit and loss for every wallet, derived straight from indexed on-chain trade history rather than raw blockchain events nobody could read directly. The custom indexer keeps that history synced from the Sui blockchain in near-real time, so the PnL numbers traders see reflect what is actually happening on-chain as it happens. The operations team runs the platform through one full console that handles monitoring, banning, and managing streams, tokens and threaded conversations at scale, with HLS video streaming running alongside the trading surface rather than as a separate product.

Customer

Sui blockchain trading platform

Services

  • Blockchain indexing & data engineering
  • Real-time financial computation
  • Platform moderation tooling

Tech stack

Sui BlockchainCustom IndexerPostgreSQLVideoSDK / HLS

About us

Canvas Labs Partners is a software consulting team that designs and ships production agentic AI systems: multi-agent pipelines, tool-calling architectures, and human-governed automation, together with the trading infrastructure, blockchain, mobile, and product engineering those agents plug into. We publish our work as a case ledger rather than a portfolio, so every claim on this site links to the engagement behind it. Engagements follow the same four-step discipline, Map, Bound, Instrument and Govern, whatever the stack, and every entry in the ledger carries a result we are willing to be measured against.

Delivered individually, in a prior role, by one of Canvas Labs Partners’ founding team members. Not by the firm itself.

Have a system like this one?

We built this one end to end. If you are facing something similar in blockchain, book a free discovery call and we will tell you what it would take.

More in Blockchain & Web3 Engineering