Hi modnarwolf,
Yes this can be done with Moralis!
- Login with wallet
- Moralis syncs user transactions in the background
- Query the Moralis database for the specific NFT in
EthNFTokenOwners
. Subscribe to the query to get real-time notifications of changes.
- Conditionally display and only allow access to features if the user owns that NFT
Web3 Authentication is covered here as part of the Getting Started (also here). See Queries and Live Queries to get real-time notifications when the user purchases or sells the NFT.
There are links to helpful tutorial videos in the docs. They can also all be found on the Moralis Youtube channel.
If you plan to use React for the front end there is also a react-moralis
npm package that is very handy with custom Moralis hooks.