Skip to content

petegordon/terra-nft-scrape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFTerra Scrape

image

Scrape [TERRA_WALLET_ADDRESS] transactions to find NFTs. Can be downloaded and saved locally, or displayed through a local web server and browser interface.

> npm install

Web Server and Browser Interface

You can run a local web server (with WebSockets).

node server.mjs

Then go to localhost:8000. Enter your [TERRA_WALLET_ADDRESS] and click NFTerra Wallet and watch the NFTs showing up. Assuming they are hosted on IPFS and they are PNG images, and there are no bugs. :)

Command-line Interface

You can also run the project on the command line.

> node main [TERRA_WALLET_ADDRESS]

Output directory and files

Downloads and saves images into nft_images_[TERRA_WALLET_ADDRESS] directory, if save_files option is set to true. Produces a nft_log_[DATETIME].log file and nft_data_[TERRA_WALLET_ADDRESS].json file that contains an array of JSON objects each of which represents an NFT found with the IPFS_URL property used to either download the image or to reference the image in the index.html.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors