| name | alchemy-deploy-integration |
| description | Deploy Alchemy-powered Web3 applications to Vercel, Cloud Run, and AWS.
Use when deploying dApps with server-side Alchemy SDK access,
configuring API key secrets, or setting up RPC proxy endpoints.
Trigger: "deploy alchemy", "alchemy Vercel", "alchemy Cloud Run",
"alchemy production deploy", "dApp deploy".
|
| allowed-tools | Read, Write, Edit, Bash(vercel:*), Bash(gcloud:*), Bash(docker:*) |
| version | 1.5.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","blockchain","web3","alchemy","deployment"] |
| compatibility | Designed for Claude Code |
Alchemy Deploy Integration
Overview
Deploy Alchemy-powered dApps with proper API key security. The API key must stay server-side — never ship it to the browser.
Instructions
Step 1: Vercel Deployment
vercel secrets add alchemy_api_key "your-api-key"
vercel link
vercel --prod
{
"env": { "ALCHEMY_API_KEY": "@alchemy_api_key" },
"functions": { "api/**/*.ts": { "maxDuration": 30 } }
}
import { Alchemy, Network } from 'alchemy-sdk';
const alchemy = new Alchemy({
apiKey: process.env.ALCHEMY_API_KEY,
network: Network.ETH_MAINNET,
});
export default async function handler(: , : ) {
{ address } = req.;
(!.(address)) {
res.().({ : });
}
balance = alchemy..(address);
res.({ : balance.() });
}