Using the Thirdweb SDK: NFT Gated Website, I created a local cloned project using the following command:
npx thirdweb create --template nft-gated-website
Updated the const/yourDetails.js
and created .env.local
as instructed. Then, I launch the local development server via:
npm run dev
Login is successful via MetaMask with Mumbai Testnet. However, when I try to claim the testing NFT, the following error occurred:
{"code": -32603, "data": {"code": -32000, "message": "transaction underpriced"}}
and the Transaction failed. Sometimes the transaction is successful (after few attempts), one of the transaction records can be viewed here; everything looks fine, but the template script cannot detect that I owned the test NFT.
What could be the reason behind this?