stampchain-io / BTCStampsExplorer

Bitcoin Stamps API / Explorer
https://bitcoinstamps.xyz
GNU Affero General Public License v3.0
0 stars 2 forks source link

minting page exposing the quicknode api endpoint and key #31

Closed reinamora137 closed 2 months ago

reinamora137 commented 3 months ago

telegram-cloud-photo-size-4-5931517808108224489-x

dev4pear commented 3 months ago

image This is the result that I got from whitelisted IP address(you added me 172.86.121.199)

image This is the result that I got from blacklisted IP address(random address, not added to Quicknode)

Both images are coming from mint page in my local development(localhost:8000)

reinamora137 commented 3 months ago

Perhaps this call can be put on the backend like we did with getStampBalance.ts and then pass the env vars to that. Then the call from the mint page won't expose the vars.