21 sats \ 20 replies \ @justin_shocknet 15 Sep \ parent \ on: LightningPub / Shockwallet video demo setup đ„ bitcoin_beginners
They're not locked atomically but yes its similar in that its a hosted balance, what you're seeing there though in the screenshot is just the fee reserve for routing out payments... For example if you had a balance of 1000 sats it would still only hold 100 sats, if you had 20k sats it'd hold ~1%, 100 sats or 1% whichever is bigger.
Ah that makes sense. I usually test with small amounts. Turns out this was right at the threshold. đ
So a couple more questions:
-
Those 100 sats were received via the PWA. I decided to give the TestFlight a try so I downloaded that and added the nprofile. Was expecting to see the same 100 sats but didnât. Am I missing something?
-
Also, when I initially add my nprofile, itâs labeled as ârelay.lightning.pubâ
But when I come back later, it just says âwalletâ.
Is this a bug or is it the same source? I was expecting to be able to verify by clicking on the edit icon and seeing the nprofile but it comes up blank.
reply
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:)
reply
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
folderrm admin.npub
to reset the administrator credentialscat .admin_connect
to show the newly created admin secret for re-pairingreply
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