1.0.8 • Published 1 year ago

nft-verify v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Verify ownership of a specific NFT using Token ID and wallet address.

Usage:

On terminal, do the following:

$ npm install nft-verify

In a JS file:

const {verifyNFT} = require("nft-verify")

/* Edit values respective to your project
const TOKEN_ID = "XXXXX"
const WALLET_ADDRESS = "YYYYY"
const CONTRACT_ADDRESS = "ZZZZZ"

/* Sample Use Case
verifyNFT(TOKEN_ID, WALLET_ADDRESS, CONTRACT_ADDRESS).then((res) => {
    console.log(res);
}).catch((err) => {
    console.log(err);
})