Serverless and edge
Serverless and edge in the Carbium Library: 6 working Solana examples, among them Supabase Edge transaction check and Step Functions confirmation wait.
- Supabase Edge transaction check I0135
Verify a client's Solana signature on your server with one Carbium read, refusing failed, stale or unsigned transactions.
- Step Functions confirmation wait I0134
Poll one Solana signature from an AWS Step Functions state and route on confirmed, failed, pending or expired, using Carbium RPC and a block-height cutoff.
- Cloudflare R2 NFT image cache I0059
Read each NFT's URI and isMutable flag through Carbium and print an R2 object key, Cache-Control value and keep, fetch or recheck action per mint.
- Vercel OG wallet image I0033
Render a Solana wallet's balance, token account count and last activity as an OG image from a Vercel Edge route, reading through Carbium.
- AWS Lambda getBalance fix I0032
Find why getBalance fails with fetch failed on AWS Lambda and read a SOL balance through Carbium with a handler that names the cause of each failure.
- Edge worker RPC reads I0007
Read Solana accounts through Carbium from a Cloudflare Worker with @solana/kit, which moves bytes as Uint8Array, so no Buffer polyfill is needed.