03:57:03 Just created a new room in case anyone building monero things/wants to build monero things wants to join. Will be non-core dev-focused, newb friendly: #monero-community-dev:monero.social 17:03:45 Reminder: MoneroKon planning meeting today @ 18:00 UTC 17:03:53 https://github.com/monero-project/meta/issues/710 17:04:09 in #monero-events:monero.social 17:59:20 * lockhead[m] uploaded an image: (311KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/jTQKFHqDvqYVgNiPvfKAQyOp/image.png > 17:59:33 cryptogrampy: I don't have twitter so I just wanted to reply here; you can very easily check every 2 seconds, with an initial 10 second delay or something. 18:02:10 lockhead[m]: i'm actually going to make it event based 😎 18:02:19 But how does it catch those events? 18:02:20 it will be very, very fast and performant 18:02:41 Doesn't that eventually boil down to polling anyway or is there something else going on in the background? 18:02:50 monero-javascript has on output received event 18:02:55 s/on/an/ 18:05:04 i'm assuming there is polling happening somewhere. i think what i'll probably do is trigger the app polling on the output received event, so outputReceivedEvent? -> check for valid tx. It's very likely going to be the tx that just happened, so happy path is an almost instant 0conf verification 18:05:37 if it wasn't the correct amount, or if someone had > 0 confirmations specified in their config, it will just check every 10 seconds or something 18:06:43 That sounds good 18:07:01 would be cool to tap into the zmq stuff though 18:07:08 if that's even possible 18:07:20 I'm still jealous (not really) cause I wanted to create something exactly like hotshop but my lack of experience and pure hatred for javascript eventually got me to give up 18:07:50 Oooo hotshop that runs off of LWS backend (future update) 18:07:55 I did create a shellscript that does something similar 18:08:00 Sounds like an idea 18:08:02 lockhead[m]: you're welcome to contribute. it's a pretty small codebase 18:08:12 * lockhead[m] uploaded a video: (2075KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/uVdCoLgYVxXDgLGiJxAMFaFk/moneropayment-2021-06-25_21.17.43.webm > 18:08:28 rpc wallet at the top right, cli wallet at the bottom right, moneropayment.sh on the left 18:08:34 that should not be a link ^ lmao 18:09:11 ofrnxmr[m]: paymentId's do work with LWS. The benefit of hotshop today is you literally need absolutely nothing on the server. There's no server at all outside of public nodes and the static site host 18:10:12 it could also be done much easier with wallet-rpc on the backend 18:10:17 instead of LWS 18:10:24 then you get subaddress support and you don't even need payment id's 18:10:30 cryptogrampy[m]: Yeah, I meant. If I ran lws and a node, instead of using node, hotshop would be a frontend for an lws instance 18:10:30 Or something like that 🙃 18:10:35 and monero-javascript can work with remote wallet-rpc 18:11:04 the monero wallet rpc is technically polling / checking constantly also 18:11:22 so one other thing i considered is you could do a full backend wallet in monero-javascript that only talks to a public node 18:11:28 and it would have a server side rendered wallet 18:11:31 As you said, not sure if even possible but lws uses zmq to constantly scan / wait for tx 18:11:31 @plowsof do you know if lws is polling? 18:11:33 aka POS 18:12:11 > <@ofrnxmr:monero.social> As you said, not sure if even possible but lws uses zmq to constantly scan / wait for tx 18:12:11 > 18:12:11 > @plowsof do you know if lws is polling? 18:12:11 MyMonero polls for transactions 18:12:20 every wallet has to 'check the mempool' constantly xD 18:12:44 i think zmq data is different though 18:13:02 you subscribe to new data 18:13:20 i wrote a little thing for messing with zmq.. will see if i cna pull it up 18:13:49 cryptogrampy[m]: Mymonero polls, but is lws polling? Or being pushed blocks from daemon and scanning each one 18:13:53 lws has a websocket client i wrote 18:14:00 that's how to avoid polling 18:14:06 as for lws polling 18:14:27 * cryptogrampy[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/6ecc58da31337f682ecea6608639325f3f444d1e 18:14:36 * ```typescript... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/ace41dca099f4bb2655465b6fec6ed6d37d573f1) 18:15:40 https://www.getwishlisted.xyz/donate/ is monero wallet rpc + websockets, donate stagenet coins with a comment if you like , <20 seconds it will appear 18:16:18 because of dandelion++ there is a bottle neck on how fast payments can appear (or so ive been told) 18:16:56 plowsof[m]: Using tor + tx-proxy with disable_noise flsg 18:17:14 = skip dandelion 18:17:26 speed hacks 18:17:57 tx-proxy=tor,127.0.0.1:9050,64,disable_noise for example 18:18:58 i wish there was a websocket connection that could make me 20 years younger 18:19:17 'speed hacks enabled yes/no | web compatible yes/no ' 18:20:48 My onion has both enabled :p 18:20:49 #1 18:20:52 is this just okay for read-only? 18:21:37 i removed the governor on my mobility scooter back in the 90's and it was very fast, but i wasn't able to stop very quickly 18:21:54 what's the downside of removing the d++ stuff for getting wallet info 18:22:42 Because it broadcasts over onion-only, "none", or at least, less then dandelion 18:22:57 s/then/than/ 18:23:21 "moneropayment-2021-06-25_21.17.4..." <- holy shit i love this 18:23:31 The script is not very uhhh 18:23:32 robust? 18:23:48 it requires monero-wallet-rpc to be running and it's for a one time payment, after that you have to restart it 18:23:58 Been meaning to put it on github or someshit 18:24:09 i bet someone out there would really like this thing, especially if can really script stuff easily 18:24:23 I made sure it's not bash but posix compliant 18:26:45 you could rewrite in ts/python/rust probably and make something real nice 18:27:05 text ui PoS 18:27:37 ncurses pos 18:27:57 Nah, I purposely chose shellscript for portability and tiny memory footprint 18:28:10 you could also incorporate it with like xmr.sh or the monero-bash script 18:29:47 I could try something like this in C or Go, I don't know much about Rust and Python feels like coding in molasses 18:30:04 i get it 18:30:21 hii 18:30:31 so i researched more, 18:31:44 the law is if you are a legal entity (not a private person), and if you are money emitter, you need kyc of your customers 18:32:02 this does not apply for any private person doing p2p 18:34:22 so you could start a company, which can accept payments and not need kyc (if you sell digital goods) 18:35:16 users then can exchange those digital goods for monero, 18:35:47 and if someone want fiat back from monero (since there is no tainted monero), they can easily go for p2p trade with trusted sellers 18:37:46 or your company can get kyc of some sellers and emit the money to them, who then can act on behalf of the company, and take part in trusted p2p trade network. 19:21:06 cryptogrampy: please, add brazilian real (BRL) in the HotShop. :-D 19:23:28 icarolongo[m]: if it was supported by the Kraken API, i would add it right now: https://api.kraken.com/0/public/Ticker?pair=XMRBRL 19:24:27 kind of surprised it's not supported to be honest 19:27:50 looks like they only support eur/usd for monero. if anyone has a better api for pricing, please feel free to make the suggestion. shouldn't be too hard to swap out 19:27:58 will check coingecko 19:29:27 cryptogrampy[m]: I think they have real and xmr. and its also free 19:31:07 https://api.coingecko.com/api/v3/simple/price?ids=monero&vs_currencies=brl 19:31:13 we have a winner 20:01:12 "cryptogrampy: please, add..." <- okay hit that refresh button and check your settings :) 20:02:49 I'm going to do a little re-write and add all of the CoinGecko fiat pairs for monero in the near future. But BRL is in :) I also made the QR screen search for tx's a bit faster. let me know if you have any performance issues/bugs/feature requests. 20:05:52 cryptogrampy[m]: Thank you 20:14:01 cryptogrampy: what you think about add one option to remove the settings button? It can be useful to daily usage in one store. 20:15:14 yeah this is definitely important. long term, i'd like to have a pin that you set e.g. 3456 and have to type it if you want to access the settings 20:16:41 an easy solution (maybe only slightly easier) in the meantime would be two bookmarks, 1 would be like an admin bookmark and the other would be your public bookmark that would remove the setting button 20:18:10 it's definitely more security theater, but it might keep someone from easily changing your store name to 💩 22:48:05 Ah kiosk mode combined with a settings-less url might be a good simple solution: https://www.how2shout.com/linux/how-to-start-firefox-kiosk-mode-ubuntu-20-04-lts/ 23:08:24 kiosk mode is nice, last time i used that was for a diy home cctv monitor using one of those android sticks. would be perfect for a PoS 23:09:55 Wow hotshop on a (n android) stick. going to be huge (in brasil). 23:16:28 literally anything with a web browser can run hotshop :)