Alchemy Production Checklist
Pre-Launch Checklist
API & Infrastructure
Security
Smart Contracts (if applicable)
Performance
Validation Script
// src/prod/readiness.ts
import { Alchemy, Network } from 'alchemy-sdk';
async function checkReadiness(): Promise<void> {
const checks: Array<{ name: string; pass: boolean; detail: string }> = [];
// 1. API connectivity
const alchemy = new Alchemy({ apiKey: process.env.ALCHEMY_API_KEY, network: Network.ETH_MAINNET });
try {
const block = await alchemy.core.getBlockNumber();
checks.push({ name: 'API Connectivity', pass: true, detail: `Block ${block}` });
} catch (err: any) {
checks.push({ name: 'API Connectivity', pass: false, detail: err.message });
}
// 2. Enhanced API
try {
await alchemy.core.getTokenBalances('0x0000000000000000000000000000000000000000');
checks.push({ name: 'Enhanced API', pass: true, detail: 'getTokenBalances works' });
} catch { checks.push({ name: 'Enhanced API', pass: false, detail: 'Enhanced API unavailable' }); }
// 3. NFT API
try {
await alchemy.nft.getContractMetadata('0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D');
checks.push({ name: 'NFT API', pass: true, detail: 'getContractMetadata works' });
} catch { checks.push({ name: 'NFT API', pass: false, detail: 'NFT API unavailable' }); }
// 4. API key not in build output
const fs = await import('fs');
const buildDir = './dist';
if (fs.existsSync(buildDir)) {
const content = fs.readdirSync(buildDir, { recursive: true })
.filter((f: any) => f.toString().endsWith('.js'))
.map((f: any) => fs.readFileSync(`${buildDir}/${f}`, 'utf8'))
.join('');
const apiKeyExposed = content.includes(process.env.ALCHEMY_API_KEY || '');
checks.push({ name: 'API Key Safety', pass: !apiKeyExposed, detail: apiKeyExposed ? 'CRITICAL: API key found in build!' : 'API key not in build' });
}
// Print results
console.log('\n=== Alchemy Production Readiness ===\n');
for (const c of checks) {
console.log(`[${c.pass ? 'PASS' : 'FAIL'}] ${c.name}: ${c.detail}`);
}
const failures = checks.filter(c => !c.pass);
console.log(`\n${failures.length === 0 ? 'READY FOR PRODUCTION' : `${failures.length} BLOCKING ISSUES`}`);
}
checkReadiness().catch(console.error);
Output
- All checklist items validated
- Readiness script with pass/fail reporting
- API key exposure scan in build output
- Multi-network connectivity verified
Resources
Next Steps
For version upgrades, see alchemy-upgrade-migration.
Source: jeremylongshore/claude-code-plugins-plus-skills → plugins/saas-packs/alchemy-pack/skills/alchemy-prod-checklist/SKILL.md
1---2name: alchemy-prod-checklist3description: "'Execute production readiness checklist for Alchemy-powered dApps. Use when deploying Web3 applications, preparing for mainnet launch, or validating blockchain integration before go-live. Trigger: \"alchemy production\", \"alchemy go-live\", \"alchemy mainnet checklist\", \"dApp production readiness\". '"4allowed-tools: "Read, Write, Edit, Bash(curl:*), Grep"5category: productivity-and-workflow6source_repo: jeremylongshore/claude-code-plugins-plus-skills7source_path: "plugins/saas-packs/alchemy-pack/skills/alchemy-prod-checklist/SKILL.md"8source_url: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/HEAD/plugins/saas-packs/alchemy-pack/skills/alchemy-prod-checklist/SKILL.md9metadata:10 source: https://skillmd.com/skills/thedixitjain/alchemy-prod-checklist11---1213# Alchemy Production Checklist1415## Pre-Launch Checklist1617### API & Infrastructure1819- [ ] API key restricted to production domains in Alchemy Dashboard20- [ ] Separate Alchemy apps for dev/staging/prod environments21- [ ] Rate limit headroom verified (< 70% of CU/sec budget)22- [ ] Retry logic with exponential backoff implemented23- [ ] Error monitoring configured (Sentry, Datadog, etc.)24- [ ] Webhook endpoints HTTPS-only with signature verification2526### Security2728- [ ] API key NOT in frontend code — proxied through backend29- [ ] Private keys in secret manager (not env files)30- [ ] All user-supplied addresses validated and checksummed31- [ ] No `console.log` of sensitive data in production builds32- [ ] npm audit clean — no critical vulnerabilities3334### Smart Contracts (if applicable)3536- [ ] Contracts audited by reputable firm37- [ ] Deployed and verified on Etherscan/Polygonscan38- [ ] Admin keys secured in multi-sig wallet39- [ ] Emergency pause function tested4041### Performance4243- [ ] Response caching for frequently-queried data (balances, metadata)44- [ ] Connection pooling for provider instances45- [ ] Batch requests where possible (NFT metadata, balances)46- [ ] WebSocket reconnection logic for real-time subscriptions4748### Validation Script4950```typescript51// src/prod/readiness.ts52import { Alchemy, Network } from 'alchemy-sdk';5354async function checkReadiness(): Promise<void> {55 const checks: Array<{ name: string; pass: boolean; detail: string }> = [];5657 // 1. API connectivity58 const alchemy = new Alchemy({ apiKey: process.env.ALCHEMY_API_KEY, network: Network.ETH_MAINNET });59 try {60 const block = await alchemy.core.getBlockNumber();61 checks.push({ name: 'API Connectivity', pass: true, detail: `Block ${block}` });62 } catch (err: any) {63 checks.push({ name: 'API Connectivity', pass: false, detail: err.message });64 }6566 // 2. Enhanced API67 try {68 await alchemy.core.getTokenBalances('0x0000000000000000000000000000000000000000');69 checks.push({ name: 'Enhanced API', pass: true, detail: 'getTokenBalances works' });70 } catch { checks.push({ name: 'Enhanced API', pass: false, detail: 'Enhanced API unavailable' }); }7172 // 3. NFT API73 try {74 await alchemy.nft.getContractMetadata('0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D');75 checks.push({ name: 'NFT API', pass: true, detail: 'getContractMetadata works' });76 } catch { checks.push({ name: 'NFT API', pass: false, detail: 'NFT API unavailable' }); }7778 // 4. API key not in build output79 const fs = await import('fs');80 const buildDir = './dist';81 if (fs.existsSync(buildDir)) {82 const content = fs.readdirSync(buildDir, { recursive: true })83 .filter((f: any) => f.toString().endsWith('.js'))84 .map((f: any) => fs.readFileSync(`${buildDir}/${f}`, 'utf8'))85 .join('');86 const apiKeyExposed = content.includes(process.env.ALCHEMY_API_KEY || '');87 checks.push({ name: 'API Key Safety', pass: !apiKeyExposed, detail: apiKeyExposed ? 'CRITICAL: API key found in build!' : 'API key not in build' });88 }8990 // Print results91 console.log('\n=== Alchemy Production Readiness ===\n');92 for (const c of checks) {93 console.log(`[${c.pass ? 'PASS' : 'FAIL'}] ${c.name}: ${c.detail}`);94 }95 const failures = checks.filter(c => !c.pass);96 console.log(`\n${failures.length === 0 ? 'READY FOR PRODUCTION' : `${failures.length} BLOCKING ISSUES`}`);97}9899checkReadiness().catch(console.error);100```101102## Output103104- All checklist items validated105- Readiness script with pass/fail reporting106- API key exposure scan in build output107- Multi-network connectivity verified108109## Resources110111- [Alchemy Docs](https://www.alchemy.com/docs)112- [Alchemy Dashboard](https://dashboard.alchemy.com)113114## Next Steps115116For version upgrades, see `alchemy-upgrade-migration`.117118---119120**Source:** [`jeremylongshore/claude-code-plugins-plus-skills`](https://github.com/jeremylongshore/claude-code-plugins-plus-skills) → `plugins/saas-packs/alchemy-pack/skills/alchemy-prod-checklist/SKILL.md`