services
Get a key

library / Blockchain ideas

Payment tools

Payment tools in the Carbium Library: 4 working Solana examples, among them Safe-retry payment check, Solana Pay link inspector and Max sendable SOL calculator.

  • Safe-retry payment check BI0097

    Spec and runnable code that tells a payments backend whether a payment with an expired blockhash landed, is still live, or is safe to re-sign.

  • Solana Pay link inspector BI0095

    Give it a solana: link and learn whether it is a transfer or a transaction request, then check a transfer's recipient, mint, amount and reference on chain.

  • Max sendable SOL calculator BI0042

    Read-only calculator for the most SOL a wallet can send without the insufficient funds for rent error, with a check for new recipient addresses.

  • Multi-address deposit monitor BI0006

    Spec and runnable code that watches many deposit addresses for incoming SOL and token transfers over one WebSocket and records each credit once in SQLite.