HashLips / hashlips_nft_minting_dapp

HashLips minting dapp is a quick and easy way to connect your smart contract and start minting NFTs.
MIT License
1.02k stars 984 forks source link

Looking for a way to display totalSupply from the contract before connecting wallet #137

Open luncht3am opened 2 years ago

luncht3am commented 2 years ago

How would one go about loading the totalsupply before on page load instead of when the user connects their wallet?

waleed677 commented 2 years ago

Well you can use alchemyapi for this. It will read total supply from contract and display on your website without connecting the wallet. For more info you can check my github repo to see the code