alchemy-install-auth

Featured

Install the Alchemy SDK and configure API key authentication for Web3 development. Use when setting up blockchain API access, creating an Alchemy app, or configuring multi-chain RPC endpoints. Trigger: "install alchemy", "setup alchemy", "alchemy auth", "alchemy API key".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Alchemy Install & Auth ## Overview Install the `alchemy-sdk` npm package and configure API authentication. Alchemy provides blockchain infrastructure (RPC nodes, Enhanced APIs, NFT APIs, webhooks) across Ethereum, Polygon, Arbitrum, Optimism, Base, and Solana. ## Prerequisites - Node.js 18+ (or Python 3.10+ for alchemy-sdk Python) - Free Alchemy account at [alchemy.com](https://www.alchemy.com) - API key from Alchemy Dashboard ## Instructions ### Step 1: Install the Alchemy SDK ```bash # JavaScript/TypeScript (official SDK) npm install alchemy-sdk # Python (community SDK) pip install alchemy-sdk ``` ### Step 2: Create an Alchemy App 1. Go to [dashboard.alchemy.com](https://dashboard.alchemy.com) 2. Click "Create new app" 3. Select chain: Ethereum, Polygon, Arbitrum, Optimism, Base, or Solana 4. Select network: Mainnet, Sepolia (testnet), or Mumbai 5. Copy the API key ### Step 3: Configure Environment ```bash # Set environment variable export ALCHEMY_API_KEY="your-api-key-here" # Or create .env file cat > .env << 'EOF' ALCHEMY_API_KEY=your-api-key-here ALCHEMY_NETWORK=ETH_MAINNET EOF echo ".env" >> .gitignore ``` ### Step 4: Initialize and Verify ```typescript // src/alchemy-client.ts import { Alchemy, Network } from 'alchemy-sdk'; const alchemy = new Alchemy({ apiKey: process.env.ALCHEMY_API_KEY, network: Network.ETH_MAINNET, }); // Verify connection async function verifyConnection() { const blockNumber = await alchemy.core.getBlockNumber(); consol...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category