alchemy-local-dev-loop

Featured

Set up local Web3 development workflow with Alchemy, Hardhat, and testnets. Use when configuring local blockchain dev, testing with Sepolia faucets, or setting up hot-reload for smart contract development. Trigger: "alchemy local dev", "alchemy hardhat", "alchemy testnet setup".

AI & Automation 2,944 stars 440 forks Updated today 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 Local Dev Loop ## Overview Local Web3 development workflow using Alchemy as the RPC provider with Hardhat for local testing, Sepolia testnet for staging, and hot-reload for rapid iteration. ## Prerequisites - Completed `alchemy-install-auth` setup - Node.js 18+ - Alchemy API key with Sepolia testnet app ## Instructions ### Step 1: Initialize Hardhat Project with Alchemy ```bash mkdir web3-project && cd web3-project npm init -y npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox npm install alchemy-sdk dotenv npx hardhat init # Select TypeScript project ``` ### Step 2: Configure Hardhat with Alchemy RPC ```typescript // hardhat.config.ts import { HardhatUserConfig } from 'hardhat/config'; import '@nomicfoundation/hardhat-toolbox'; import 'dotenv/config'; const config: HardhatUserConfig = { solidity: '0.8.24', networks: { hardhat: { forking: { url: `https://eth-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`, blockNumber: 19000000, // Pin block for reproducible tests }, }, sepolia: { url: `https://eth-sepolia.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`, accounts: process.env.DEPLOYER_PRIVATE_KEY ? [process.env.DEPLOYER_PRIVATE_KEY] : [], }, }, }; export default config; ``` ### Step 3: Alchemy-Powered Test Helper ```typescript // test/helpers/alchemy-helper.ts import { Alchemy, Network } from 'alchemy-sdk'; const alchemy = new Alchemy({ apiKey: process.env.ALCHEMY_...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category