SparkNFT / SparkLink

The SparkNFT fontend repository.
3 stars 7 forks source link

The spark page needs to display everything when the user is not connected to the wallet, and prompt the user to connect the wallet when the user clicks the mint button. #187

Closed Erreth-Akbe closed 2 years ago

Erreth-Akbe commented 2 years ago

Summary

The spark page needs to display everything when the user is not connected to the wallet, and prompt the user to connect the wallet when the user clicks the mint button.

Expected Behaviour

The spark page should display collection name, image and other information when the users opened the page without connected with their wallet.

Solution

There are two types of functions when calling contract functions on Ethereum. One type of function is the function of view or pure. This function does not modify the information on the chain, but only reads some information on the chain at most. For example tokenURI(NFTID).

Alternative

Do not have.

Additional context

Null.

Roadmap

Refactor branch.

SantanaSP commented 2 years ago

Do not abuse task list please. In my opinion normal paragraphs are more suitable for the "solution" section.

SantanaSP commented 2 years ago

This issue will finally be traced in #188. The issue will be closed but any discussion related to this issue is still welcomed.