8000 GitHub - ongrid/NFTools: Tools for extracting data from ERC-721 NFT contracts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ongrid/NFTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT tools

Extracts and outputs ERC-721 fields (both custom and well-known) from the given NFT contract

Install dependencies

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Run NFT tokens discovery tool

  • Export the URI of web3 node to your environment. The simplest way is to register on infura.io and use the personal https: or wss: endpoint.
export WEB3_URL=https://mainnet.infura.io/v3/<YOUR_INFURA_ID>
python nftdiscover.py <start block> <end block>

Run NFT checker tool

  • Export your ETHERSCAN API key (it's used to retrieve token ABI if the contract is verified)

Run the script using NFT contract address. It accepts both checksumed (EIP-55 mixed case) and plain (lowercase) hex addresses.

export WEB3_URL=https://mainnet.infura.io/v3/<YOUR_INFURA_ID>
export ETHERSCAN_KEY=<YOUR_ETHERSCAN_KEY>
python nftshow.py 0x60f80121c31a0d46b5279700f9df786054aa5ee5

About

Tools for extracting data from ERC-721 NFT contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0