Carbium — Solana DeFi Infrastructure by @ukkometa
Build on Solana with Carbium infrastructure — bare-metal RPC, Standard WebSocket pubsub, gRPC Full Block streaming (~22ms), DEX aggregation via CQ1 engine (s...
⚡ When to Use
Trigger Action - Embedded wallet experiences with low-friction onboarding - Swap-first UX where gas funding hurts conversion ### Integration Add `gasless=true` to a v1 swap request: ```typescript const res = await fetch( "https://api.carbium.io/api/v1/swap" + "?owner=WALLET&fromMint=USDC_MINT&toMint=SOL_MINT" + "&amount=1000000&slippage=100&provider=raydium&gasless=true", { headers: { "X-API-KEY": process.env.CARBIUM_API_KEY! } } ); ``` ---
💡 Examples
1. Get API Keys | Product | Signup | Notes |
|---|---|---|
| RPC + gRPC + WebSocket | rpc.carbium.io/signup | One key covers RPC, WebSocket, and gRPC |
| Swap API | api.carbium.io/login | Separate key, free account, instant |
Programmatic key provisioning is not yet available. Keys must be created via the dashboards.
2. Set Environment Variables
export CARBIUM_RPC_KEY="your-rpc-key"
export CARBIUM_API_KEY="your-swap-api-key"
3. Security Rules (Non-Negotiable)
Never embed keys in frontend/client-side code
Never commit keys to version control
Use environment variables: CARBIUM_RPC_KEY, CARBIUM_API_KEY
Rotate immediately if exposed
Keep keys server-side only
📋 Tips & Best Practices
Security
Keep API keys server-side only — never in frontend bundles or mobile clients
Use environment variables (CARBIUM_RPC_KEY, CARBIUM_API_KEY)
Rotate keys immediately if exposed
Restrict endpoints by domain/IP in the RPC dashboard where practical
Rate Limiting
HTTP 429 is an architecture signal, not just a retry cue
Separate dev/staging/prod keys
Isolate retry paths from decision logic
Do NOT retry sendTransaction before checking getSignatureStatus
Transaction Submission
Use skipPreflight: true only after validating the quote — saves ~200ms
Use VersionedTransaction (V0) for Address Lookup Table (ALT) support
Prefer HTTP polling for confirmations over WebSocket (more reliable)
Keep blockhashes fresh — they expire after ~60 seconds
Commitment Levels
Default to confirmed for most operations
Use processed only for price feeds or low-stakes reads
Use finalized for irreversible confirmations and high-value operations
▸ Show full description clawhub install carbiumCopy
🧪 Use this skill with your agent Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.
🔍 Can't find the right skill?
Search 60,000+ AI agent skills — free, no login needed.
Search Skills →