Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

totalSupply is 0 on site until wallet connect #54

Open
johnniemoondogs opened this issue Jan 27, 2022 · 4 comments
Open

totalSupply is 0 on site until wallet connect #54

johnniemoondogs opened this issue Jan 27, 2022 · 4 comments

Comments

@johnniemoondogs
Copy link

johnniemoondogs commented Jan 27, 2022

In MS Edge, the DAPP site shows 0/xxxxx minted until the user connects Metamask - then it updates to true value - any way to fix this?

This is using Polygon network with Edge and Metamask. Possibly affects others browsers too.

@clipartinc
Copy link

clipartinc commented Jan 28, 2022

This is the correct behavior. It can't know how many mints are left until you connect your wallet.

Although there must be a way. I have seen other sites show the number available before connecting the wallet.

@johnniemoondogs
Copy link
Author

Thanks for response. Polygonscan shows TotalSupply of tokens without a wallet connection, couldn't the DAPP pull that figure? The DAPP currently shows 0/1000 when it could pull a totalsupply and show e.g. 15/1000 so you can see how many have been minted without a wallet connection. The 1000 is obviously hardcoded in to the app when you set it up which is fine.

@filipe-te
Copy link

Hey, i am looking for a solution to display to mint amount before connecting a wallet. Did you solve this issue?

@luncht3am
Copy link

Any luck on resolving this? Looking for the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants