Closed fjun99 closed 2 years ago
This isn't really a good practice indeed. Thanks for addressing this! I'll try to fix this with next release/updates
Updated!
Please the following env variables from now on.
NEXT_PUBLIC_ALCHEMY_API_KEY=''
NEXT_PUBLIC_INFURA_API_KEY=''
NEXT_PUBLIC_ETHERSCAN_API_KEY=''
Not issues, perhaps just two suggestions.
1) web/src/utils/web3.ts
Suggestion:
Change the infura id in this file and let users of this repo use their own.
2) web/src/verifiers/has-nft/index.ts
This file uses alchemy NFT API, and this api needs to be applied manually before an account can use it. Perhaps we can add a note about it to Readme.md
https://eth-mainnet.g.alchemy.com/${process.env.NEXT_PUBLIC_ALCHEMY_API_KEY}/v1/getNFTs/
This is a great framework for on-boarding web3, thank you very much.