alchemy-core-workflow-a

Featured

Build a complete wallet portfolio tracker using Alchemy Enhanced APIs. Use when implementing token balance dashboards, NFT galleries, transaction history views, or wallet analytics applications. Trigger: "alchemy wallet tracker", "alchemy portfolio", "alchemy token dashboard", "alchemy transaction history", "build dApp with alchemy".

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 A — Wallet Portfolio Tracker ## Overview Primary workflow: build a wallet portfolio tracker using Alchemy's Enhanced APIs. Combines `getTokenBalances`, `getNftsForOwner`, `getAssetTransfers`, and token metadata to create a complete wallet view across ERC-20, ERC-721, and ERC-1155 assets. ## Prerequisites - Completed `alchemy-install-auth` setup - `alchemy-sdk` installed - Understanding of Ethereum address format and token standards ## Instructions ### Step 1: Portfolio Data Fetcher ```typescript // src/portfolio/fetcher.ts import { Alchemy, Network, AssetTransfersCategory } from 'alchemy-sdk'; const alchemy = new Alchemy({ apiKey: process.env.ALCHEMY_API_KEY, network: Network.ETH_MAINNET, }); interface TokenHolding { contractAddress: string; symbol: string; name: string; balance: number; decimals: number; } interface NftHolding { contractAddress: string; collectionName: string; tokenId: string; name: string; imageUrl: string | null; } interface WalletPortfolio { address: string; ethBalance: string; tokens: TokenHolding[]; nfts: NftHolding[]; recentTransactions: any[]; fetchedAt: string; } async function fetchPortfolio(address: string): Promise<WalletPortfolio> { // Parallel fetch all portfolio data const [ethBalance, tokenBalances, nftResponse, transfers] = await Promise.all([ alchemy.core.getBalance(address), alchemy.core.getTokenBalances(address), alchemy.nft.getNftsForOwner(address, { p...

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