Home > @infiniteobjects/token-gated-product
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.
Class | Description |
---|---|
TokenGatedProductSaleRepository | Token Gated Product Sale Repository |
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 |
Variable | Description |
---|---|
TokenGatedProductSale | TokenGatedProductSale is a drop in replacement for TokenGatedProductSale in the models package |