services
Get a key

library / Use cases

Stablecoin treasury and B2B settlement

Stablecoin treasury and B2B settlement in the Carbium Library: 8 working Solana examples, among them Duplicate payment detector and Unapplied cash queue.

  • Duplicate payment detector UC0152

    Check the newest transfers on a mint and flag slots where two different signatures repeat the same amount, source and destination.

  • Unapplied cash queue UC0149

    Read the memo on each incoming Solana payment and queue the ones with no invoice reference for manual application.

  • Confidential transfer mint check UC0147

    Check whether a Solana mint can take confidential transfers before you plan one, with a single read-only account call.

  • Stablecoin exposure by issuer UC0146

    Read each stablecoin mint's supply and mint authority in one call, then group the list by issuer for a treasury exposure view.

  • Escrow release monitor UC0056

    Read an escrow vault's token balance and its outflows, and tell whether funds were released to the seller, refunded to the buyer or are still held.

  • Intraday stablecoin position feed UC0027

    A read-only Node feed that snapshots stablecoin token accounts at one slot per tick, keeps each tick in SQLite and prints the change per mint.

  • Counterparty USDC ledger UC0026

    Track every USDC transfer from one Solana wallet to another by reading token balance changes into a local SQLite ledger with a read-only Node script.

  • Stablecoin settlement checks UC0003

    How reliable the preBalance and postBalance diff is for a stablecoin settlement, where it misleads, and a read-only Node check on finalized token balances.