Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
nft_wallet_fetcher
Advanced tools
Readme
The NFT Wallet Fetcher is a TypeScript library designed to facilitate the retrieval of NFT wallet information from the blockchain. It leverages the Injective Labs protocols to fetch and process NFT ownership data, making it easier for developers to integrate NFT data into their applications.
Install nft_wallet_fetcher
using npm:
npm install nft_wallet_fetcher
Or using yarn:
yarn add nft_wallet_fetcher
First, import NFTDataProcessor
from nft_wallet_fetcher
:
import { NFTDataProcessor } from 'nft_wallet_fetcher';
Then, initialize it with your contract addresses:
const contractAddresses = [
{ name: "Injective Quants", address: "inj16m9n05n80uylxaafk32qyha38fmwcfpssnpfak" },
// Add more contracts as needed
];
const nftProcessor = new NFTDataProcessor(contractAddresses);
Fetch and process NFT data:
async function fetchNFTData() {
await nftProcessor.findOwnersOfNFTs();
await nftProcessor.convertToCSV();
}
fetchNFTData();
This will fetch the NFT data and generate a CSV file in the specified output directory.
Please refer to the TypeScript interface definitions for detailed API information.
Contributions are always welcome! Please read the contributing guide for ways to contribute, and the process for submitting pull requests to us.
If you encounter any issues or require assistance, please open an issue on our GitHub issues page.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A utility to fetch NFT holder information.
The npm package nft_wallet_fetcher receives a total of 5 weekly downloads. As such, nft_wallet_fetcher popularity was classified as not popular.
We found that nft_wallet_fetcher demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.