Step 3 – Add an Off-Chain Identity Layer (Magmar Auth)
Magmar Smart Accounts are wallet-agnostic, so we need a conventional method to map a real-world user to an on-chain account before we can mint NFTs on their behalf.
For this tutorial we’ll use Userbase, a quick, server-less identity service to keep things simple. Remember: this is fine for demos, not for production.
3.1 Install and Configure Userbase
Install the SDK
npmiuserbase-js
Create a Userbase project
Visit https://userbase.com and sign up
After login, you’ll see a default Starter App → copy its App ID