π© First Stacker News CTF - NWC Debug Edition πͺ²
When we released NWC support on Tuesday, some people reported that their wallet indicator was stuck on red, like here, here and here.
We believe it's related to our new Content Security Policy (CSP)1 which makes SN a lot more secure; especially against cross-site scripting attacks (XSS)2. A CSP basically tells the browser which fonts, images, assets etc. but most importantly which scripts it is allowed to load. We tightened browser security so much that even image uploads were broken for a short period after the release (was an easy fix).
Since I wasn't able to reproduce the bug with NWC, I present you four sites with which you can test NWC if you want to earn some sats:
All four sites have a different CSP. Hopefully, at least in one of them NWC will work for you. If all four work, that's even better! Then I think you have no problems with NWC on SN. The most interesting reports will be the ones where some sites work and others don't. These are the data points we are looking for.
This is called a CTF (Capture The Flag) since you should see a flag at the end when you followed all steps as mentioned on each site. Post the flag here so I can zap you 1k sats for a flag from each site. This means you can earn 4k sats in total if you test all four sites!
A report could look like this:
sn1.ekzyis |<insert flag here>
| works sn2.ekzyis |<insert flag here>
| does not work sn3.ekzyis |<insert flag here>
| does not work sn4.ekzyis |<insert flag here>
| works
If you don't mind sharing, please include which browser (and possibly version) and OS you are running.
For login with lightning, an LNbits instance is provided at https://lnbits.ekzyis.com/.
We recommend that you use the test version of Mutiny Wallet to test NWC. If you bring your own NWC wallet, we recommend that you delete the connection in your wallet afterwards.
If you want to post something on a site for some reason (all sites share the same database) and thus need some toy sats, drop an invoice in the comments and I will pay it from my local signet node.
I try to keep these sites up for the whole weekend so everyone has a chance to test them out but I am not sure how easy that will be. They are all running on the same machine. So first come, first serve!
Footnotes
1,000 sats paid 8 times
w45_tH15_Y0vR_f1r57_c7F_b69d7117
w45_tH15_Y0vR_f1r57_c7F_c645fec4
w45_tH15_Y0vR_f1r57_c7F_4a6c3ac2
w45_tH15_Y0vR_f1r57_c7F_13b4d53c
wasm-unsafe-eval
. Thanks! Fixed.