stack

Home > @infiniteobjects/token-gated-product

token-gated-product package

The @infiniteobjects/token-claim-manager package provides the command-line tool io-token-claim-manager. It also exposes a developer API that you can use to manage token-gated product sales.

Classes

Class Description
TokenGatedProductSaleRepository Token Gated Product Sale Repository

Functions

Function Description
getNetworkScanUrl(blockchain, blockchainNetwork, contractAddress, tokenId) Return the URL to the network scan for the contract and token IDs
getOpenSeaUrl(blockchain, blockchainNetwork, contractAddress, tokenId) Return the URL of the token on OpenSea
lineItemToSaleProps(lineItem) Convert a Shopify line item to a partial TokenGatedProductSale
replaceTokensInUrl(url, contractAddress, tokenId) Replace the contract and token IDs in a URL

Variables

Variable Description
TokenGatedProductSale TokenGatedProductSale is a drop in replacement for TokenGatedProductSale in the models package