alchemy-core-workflow-b

Featured

Build NFT collection explorer and smart contract interaction with Alchemy. Use when fetching NFT metadata, building galleries, reading contract state, or implementing NFT marketplace features. Trigger: "alchemy NFT", "alchemy smart contract", "alchemy collection", "alchemy NFT metadata", "alchemy contract read".

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 Core Workflow B — NFT & Smart Contract Interaction ## Overview Build NFT collection explorers and smart contract read operations using Alchemy's NFT API and core JSON-RPC methods. ## Prerequisites - Completed `alchemy-install-auth` setup - Familiarity with `alchemy-core-workflow-a` - Understanding of ERC-721 and ERC-1155 standards ## Instructions ### Step 1: NFT Collection Explorer ```typescript // src/nft/collection-explorer.ts import { Alchemy, Network } from 'alchemy-sdk'; const alchemy = new Alchemy({ apiKey: process.env.ALCHEMY_API_KEY, network: Network.ETH_MAINNET, }); async function exploreCollection(contractAddress: string) { const metadata = await alchemy.nft.getContractMetadata(contractAddress); return { address: contractAddress, name: metadata.name || 'Unknown', symbol: metadata.symbol || '', totalSupply: metadata.totalSupply || '0', tokenType: metadata.tokenType, floorPrice: metadata.openSeaMetadata?.floorPrice || null, description: metadata.openSeaMetadata?.description || '', imageUrl: metadata.openSeaMetadata?.imageUrl || null, }; } async function getCollectionNfts(contractAddress: string, limit: number = 20) { const response = await alchemy.nft.getNftsForContract(contractAddress, { limit }); return response.nfts.map(nft => ({ tokenId: nft.tokenId, name: nft.name || `#${nft.tokenId}`, description: nft.description, image: nft.image?.cachedUrl || nft.image?.originalUrl, attribut...

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