Forum Academy Marketplace Showcase Pricing Features

Trying to build a crypto app that connects to a wallet and checks NFT using moralis


I’m trying to build an app that connects to a person’s metamask crypto wallet and allow entry to a page if the wallet has NFT’s with a certain token ID. I’m trying to do this with and failing right now. Can someone point me in the right direction on how to achieve this?


The HTML code (copied from Build a Simple dApp in 3 Minutes - Setup (Part 1) - Moralis) for doing this is working when I use it on but when I try it on Bubble’s HTML element I keep getting these 2 errors on the console:

  1. Moralis is not defined
  2. Identifier ‘serverUrl’ has already been declared

So, nothing happens when I click the login button

1 Like