Developer tools
Developer tools in the Carbium Library: 12 working Solana examples, among them Rent-exempt margin audit and Plaintext account data scanner.
- Rent-exempt margin audit BI0115
Spec and runnable code that reads a list of Solana accounts and shows how far each sits above its rent-exempt minimum and at which rate multiple it falls short.
- Plaintext account data scanner BI0113
Spec and code for a scanner that reads a program's accounts and flags readable text in their data: emails, links and secret-looking strings.
- Confirmation time estimator BI0111
Spec and runnable code that turns slot pace, per-slot minimum fees and blockhash life into a rough wait before you send a large swap.
- Deprecated RPC method audit BI0081
One batch of up to 100 calls shows which old RPC names the endpoint rejects, and a source scan shows where your app sends them, with replacements.
- gRPC gap detection and replay BI0078
Spec and code to rebuild a filtered gRPC stream after a disconnect: find the gap with a slots filter, backfill with getBlock, dedupe by signature.
- memcmp offset finder BI0075
Spec and code that search an account's data for a known value and print the ready memcmp filter, then test the offset on a second account.
- On-chain IDL extractor BI0049
Spec and runnable code that checks up to 100 Solana programs for a published Anchor IDL, then saves each valid one as JSON with a coverage table.
- Blockhash relay for offline signers BI0034
A relay that watches slots over one WebSocket and keeps the newest blockhash and its expiry height in a file for signers that cannot reach the network.
- RPC latency CI gate BI0032
Spec and runnable code for a pipeline step that times Carbium RPC reads, takes the p90 per method and exits non-zero when it passes 400 ms.
- Account storage cost calculator BI0031
Spec and runnable code for a calculator that prices 1 kB, 10 kB and 100 kB of Solana account data from the rent-exempt minimum the RPC reports.
- Program upgrade watcher BI0029
Spec and runnable code that watches a Solana program's upgrade authority and deploy slot, and prints a line with the newest transaction when either changes.
- Transaction explainer BI0003
Spec and runnable code that turns a transaction signature or an address's recent history into plain lines: status, fee, balance changes and instructions.