services
Get a key

library / Use cases

Exchanges, custodians and on-ramps

Exchanges, custodians and on-ramps in the Carbium Library: 15 working Solana examples, among them Support desk deposit lookup and Wallet ownership deposit test.

  • Support desk deposit lookup UC0111

    Read a customer's Solana transaction hash, report whether it landed and succeeded, and show what it paid to their deposit address in SOL and tokens.

  • Wallet ownership deposit test UC0110

    Confirm a customer controls a self-custody wallet: find the small transfer they sent from it to your address and check source, amount and time.

  • Quoted vs delivered amount audit UC0109

    Compare a swap's quoted output with the amount that landed, from pre and post token balances, and tell slippage from fees and wrong accounts.

  • Fake token deposit filter UC0108

    Credit a deposit only when its mint is the real USDC: a read-only Node check that sorts token deposits by mint address on finalized reads.

  • Deposit sender attribution UC0107

    Find who sent tokens to a Solana deposit: read the transfer instructions and token balances, and get the source wallet, signer and mint for each credit.

  • Deposit address alias map UC0106

    List every token account one wallet key controls, label the associated address for each mint, and map deposit addresses back to their owner.

  • Exchange reserve tracker UC0105

    Total the SOL and one token across your reserve wallets on Solana, record each snapshot in SQLite and print the change since the last one.

  • Missing-memo deposit queue UC0104

    Sort deposits to a shared Solana address into credited, missing-memo and unknown-memo, and keep the last two in a SQLite queue for review.

  • Withdrawal fee cost model UC0102

    Price one Solana withdrawal in lamports from live priority fees and the rent minimum, for a SOL transfer, a token transfer and a first-time recipient.

  • Deposit ATA coverage check UC0064

    Derive each deposit wallet's USDC and USDT token addresses, check which accounts exist in one batched read, and price the missing ones.

  • Withdrawal confirmation tracker UC0063

    Track each exchange withdrawal from sent to finalized in one batched status call, and rebuild only after its blockhash expires by block height.

  • On-ramp fulfilment tracker UC0035

    Check that an on-ramp payout landed on Solana: its status, finalization, and the amount the customer's wallet received, read from the transaction.

  • Custody vault monitor, vendor-neutral UC0034

    Check custody vault addresses against the chain: SOL and token balance changes, outflow alerts and new signatures, whichever custodian signs for the vault.

  • Deposit sweep queue UC0033

    Queue Solana deposit addresses for sweeping: read balances 100 at a time, rank what is worth moving, and keep every signing key out of the process.

  • Exchange deposit alerts UC0006

    Get an alert when a Solana address receives SOL or a token: a logs feed, a polling sweep, finalized crediting and the call cost per address.