A parser and visualizer for NFT metadata by ERC-721 contract address.
- Fetches
tokenURI
from any ERC-721 contract - Supports HTTP and IPFS metadata
- Displays name, description, image, and raw JSON
- TypeScript
- Next.js (App Router)
- ethers.js
- axios
npx create-next-app@latest . --typescript --eslint
npm install ethers axios
- Node.js v20+
- Windows OS
- Git
- Infura account (Ethereum mainnet endpoint)
npm install
Create .env.local:
NEXT_PUBLIC_INFURA_URL=https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID
npm run dev
Visit: http://localhost:3000
- Enter contract address (e.g., CryptoPunks, BoredApes)
- Enter token ID (e.g., 1)
- Click Fetch Metadata
for example: Contract Address - 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d; token ID - 1