services
Get a key

library / Integrations

Mobile and desktop

Mobile and desktop in the Carbium Library: 10 working Solana examples, among them React Native WebSocket resume and React Native Kit RPC client.

  • React Native WebSocket resume I0144

    Hold each Carbium WebSocket subscription until the socket opens and resend it after a reconnect, so programSubscribe stops throwing readyState 0.

  • React Native Kit RPC client I0143

    Build a Carbium RPC client with @solana/kit 8.6.0 that reads node health, the slot and a balance, with the key sent in a header.

  • Chrome extension balance badge I0142

    Show a wallet's SOL balance in a Chrome extension toolbar badge, read through Carbium's getBalance every 30 seconds, with the formatter in one module.

  • Tauri tray balance monitor I0141

    Poll one wallet's SOL balance through Carbium and write it to a JSON file a Tauri tray app reads on its own timer.

  • Jetpack Compose token balances I0140

    Read one owner's SPL and Token-2022 balances through Carbium RPC into a JSON file that a Jetpack Compose wallet list can draw.

  • Expo Anchor account decoding I0066

    Decode an Anchor account in Expo with Uint8Array and DataView, no Buffer polyfill, shown on one live Orca Whirlpool pool read over Carbium RPC.

  • Android NFT metadata endpoint I0040

    Read an NFT's name, symbol and uri through Carbium with one endpoint, so the Android app parses JSON and never hits a BufferUnderflowException.

  • Android network status widget I0039

    A Node service reads slot, health and throughput from Carbium RPC and serves cached JSON to an Android widget, with no key on the phone.

  • React Native getBalance fix I0010

    Read a SOL balance for a React Native app through a relay on Carbium, and tell a TypeError in the app from a failing RPC call.

  • Flutter account reads I0004

    A small Node service reads Solana accounts through Carbium with the key kept on the server, and a Flutter app fetches them over HTTP.