https://github.com/elek/nftresolve
Simple CLI utility to download metadata of NFT tokens
https://github.com/elek/nftresolve
Last synced: 11 months ago
JSON representation
Simple CLI utility to download metadata of NFT tokens
- Host: GitHub
- URL: https://github.com/elek/nftresolve
- Owner: elek
- License: apache-2.0
- Created: 2021-09-09T06:54:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-09T08:37:20.000Z (over 4 years ago)
- Last Synced: 2025-04-06T04:45:00.221Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 1.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Resolve NFT
Most NFTs are just a link (or some metadata). This simple application calls the smart contract based on the available NFT standards (ERC721/ERC1155) to retrieve the metadata from the URL.
The only thing what you need
* contract id
* id of the NFT token
* (chain rpc endpoint)
Example:
```
nftresolve --chain avax 0xd17189a6a70D33c733d745748d4352bf856C953F 5
nftresolve --chain avax 0xd17189a6a70D33c733d745748d4352bf856C953F 5
URI: https://ipfs.infura.io/ipfs/QmSTJsbqFeqVrfGnNLjuJ5vpxBrUdgBJU2w6ZbTxTgHijr
{
"attributes": [],
"description": "This collection includes water colored map of capitals all around the word. The name of the cities are intentionally missing..."
"image": "https://ipfs.infura.io/ipfs/QmVraHy82d2JVcG6BDN32tzwocZMFKZYA7uyCPY9SGqdTr",
"name": "The ballad of far cities #5"
}
```