superfluid-finance / superfluid-explorer

The new and improved Superfluid Explorer, built with SDK-Core, SDK-Redux & Next.js & MaterialUI
https://explorer.superfluid.finance
MIT License
22 stars 28 forks source link

[SUBS] - Existential NFT compatibility with NFT API #189

Closed tokdaniel closed 1 year ago

tokdaniel commented 1 year ago

The Existential NFT contract needs some changes in order to be able to support an NFT image composed of an user uploaded image, and a generated one through the NFT API.

deploy with the following url=`https://sfnft.superfluid.finance/v1/existential/getmeta?name={productName}&description={productDescription}&chain={chainId}&ipfs={ipfs hash of the user uploaded image}

when calling getTokenURI(): take the url above and concatenate with: {url} ++ &symbol={nftSymbol}&token={superTokenAddress}&sender={sender}&recipient={recipient}&flowrate={flowrate}&clone={enftCloneAddress}