With the PWA you probably pasted the nprofile:secret from the install script, which made the keypair generated by the PWA the administrator account such that you can send invite links and access the dashboard...
On the next device, the nprofile is creating a new account as a guest (invite links are just using the nprofile as a connection parameter)
To have the two devices sync'd on the same account, you have to auth into the first one (Uses Nostr to back up the wallet settings and sync via nip07 browser extension or our Sanctum remote signer service). Then log into the next device to pull down the sync'd state from Nostr so that your admin keys are in both places.
#2
Yea that's the same source, its just temporarily showing the relay its connecting over until it resolves the Pub's vanity name (can set this in Dashboard for each app, wallet is just the default app, will have avatar and other stuff soon :tm:)
Oh ok, was not aware of that. So I passed the nprofile initially into the PWA and then deleted it once I downloaded the TestFlight. No wonder the admin dashboard wasn’t working. 😄
Do I need to reinstall Lightning Pub in order to get admin access again since subsequent pastes of the nprofile are guest accounts?
reply
ah no problem, its easy to reset:
on the system you're running pub
cd into the lightning_pub folder
rm admin.npub to reset the administrator credentials
cat .admin_connect to show the newly created admin secret for re-pairing
reply
Thanks. We are so back.
Did you say if the pub’s vanity name can be changed right now or in the soon-to-released Crawl app?
reply
I lied, misremembered and thought we pushed that already
Soon :tm:
Under the manage button in dashboard it's coming
reply
Sounds good.
Some feedback: maybe add a confirmation prompt when editing a source (at least when deleting). I thought I could rename the source here and mistakenly tapped delete.
I ended up in this state.
I cleared out both sources and pasted my nprofile again, but that messed up my admin panel access. So I did the reset steps that you mentioned before, got another nprofile, and pasted that but I still couldn’t access the admin panel.
I wonder if I got into some bad state. Curious to know more about what’s going on underneath.
reply
hmm, not sure what happened that you cant get back to the panel, the sources once deleted should leave it without any state... will have to dig on that one a bit, for your part I think just blow away the wallet storage to reset the whole wallet then add a fresh admin string
That source modal is getting re-drawn today, hasn't changed since the original prototype and is overdue
reply
Yeah I think I’ll try reinstalling the TestFlight because removing all sources and pasting a fresh nprofile didn’t seem to do the trick. Will keep you posted. Looking forward to the update. 🫡
reply
We are so back, again. I’ll try to not make any mistakes this time.
Running v1.0 (40) btw. 😎