Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

solana-nft-tool

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solana-nft-tool

NFT Tool add on for Solana

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

NFT-fetch add-on for Solana

This is a Node express server that queries a Solana wallet address for NFTs and returns a summary of the NFTs tokens found, along with additional information.

See also https://github.com/quiknode-labs/nft_lookup, which is the equivalent for Ethereum.

Dependencies

  • Node 16
  • Yarn

Setting up

  • Install dependencies: yarn install

Run

yarn run dev

This starts the server and watches files for changes. Changes are auto-reloaded when saved, you don't need to restart the server. 😀

Testing

  • Running unit tests: yarn test

Sample API request with cURL:

curl --location --request POST 'http://localhost:4000' \
 --header 'Content-Type: application/json' \
 --data-raw '{ "method": "qn_fetchNFTs", "id": 12, "params": ["WALLET_ADDRESS"] }' | jq

FAQs

Package last updated on 22 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts