services
Get a key

library / Integrations

Document and key-value stores

Document and key-value stores in the Carbium Library: 11 working Solana examples, among them Firestore wallet collection holdings.

  • Firestore wallet collection holdings I0170

    Read a wallet's verified collection holdings through Carbium, then write them as one Firestore document per wallet and collection.

  • DynamoDB signature status table I0169

    Why getSignatureStatuses returns null, and a signature-keyed status table that stores only the answers it gets.

  • Valkey latest blockhash cache I0167

    Keep the latest blockhash in a Valkey key with its last valid block height, and check expiry against the current block height before you sign.

  • Firebase Realtime TPS feed I0086

    Publish current Solana TPS to one Firebase Realtime Database path from recent performance samples, so web clients update live without calling RPC.

  • MongoDB Long and Decimal128 amounts I0085

    Read a u64 token supply from account bytes as a BigInt and store it in MongoDB as a Long or Decimal128 with every digit kept.

  • Memcached RPC response cache I0079

    Answer repeat Solana RPC reads from Memcached with a key per method and params, a TTL matched to how quickly each answer ages, and calls that skip the cache.

  • Firestore slot-ordered account writes I0049

    Guard Firestore account writes by slot, then a local sequence, and measure repeated and backward slots on accountSubscribe with a short script.

  • DynamoDB filtered account index I0048

    Keep a standing answer to one filtered account query in DynamoDB: the filter as partition key, the pubkey as sort key, and a slot-guarded conditional write.

  • Redis live balance cache I0027

    Keep SOL wallet balances current in Redis: follow each wallet's logs on the Carbium WebSocket, re-read getBalance on a hit, and store lamports and slot.

  • MongoDB v0 transaction documents I0026

    Fetch v0 transactions from Carbium RPC and save each with its full account key list, lookup table keys included, as a document MongoDB can index.

  • Wallet watch list at scale I0011

    A SQLite watch list of wallets read in batches with getMultipleAccounts, where idle wallets back off so calls go to the ones that move.