← Back to home

Web3 Images

A simple API to populate NFT and eth address profile pictures.

Screenshots

Web3 Images screenshot 1
Web3 Images screenshot 2

Problem Statement

Our solution consists of 3 main parts:We already have metadata for all NFTs and their transfers stored from when we built https://nft.tokenhunt.io (also open sourced).An API with the following endpoints: /accounts/<account_id>/image - Retrieve image (or blockie if unset) for an eth address /collections/<registry_address>/tokens/<token_id>/image - Retrieve image for an NFTAn example application to demonstrate how to use web3images

Solution

We use ENS for resolution. We use python + ether libs for getting nft data. We use react for frontend and ipfs for hosting files. It's all up and running at web3-images.kibalabs.com and the code is up at https://github.com/kibalabs/web3-images. The apis are web3-images-api.kibalabs.com/v1/accounts/<account_id>/image and web3-images-api.kibalabs.com/v1/collections/<registry_address>/tokens/<token_id>/image

Hackathon

Web3Jam

2024

Contributors