-
cryptogrampy[m]
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
-
ajs_[m]
Reminder: MoneroKon planning meeting today @ 18:00 UTC
-
ajs_[m]
-
ajs_[m]
in #monero-events:monero.social
-
-
lockhead[m]
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.
-
cryptogrampy[m]
lockhead[m]: i'm actually going to make it event based 😎
-
lockhead[m]
But how does it catch those events?
-
cryptogrampy[m]
it will be very, very fast and performant
-
lockhead[m]
Doesn't that eventually boil down to polling anyway or is there something else going on in the background?
-
cryptogrampy[m]
monero-javascript has on output received event
-
cryptogrampy[m]
s/on/an/
-
cryptogrampy[m]
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
-
cryptogrampy[m]
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
-
lockhead[m]
That sounds good
-
cryptogrampy[m]
would be cool to tap into the zmq stuff though
-
cryptogrampy[m]
if that's even possible
-
lockhead[m]
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
-
ofrnxmr[m]
Oooo hotshop that runs off of LWS backend (future update)
-
lockhead[m]
I did create a shellscript that does something similar
-
ofrnxmr[m]
Sounds like an idea
-
cryptogrampy[m]
lockhead[m]: you're welcome to contribute. it's a pretty small codebase
-
-
lockhead[m]
rpc wallet at the top right, cli wallet at the bottom right, moneropayment.sh on the left
-
lockhead[m]
that should not be a link ^ lmao
-
cryptogrampy[m]
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
-
cryptogrampy[m]
it could also be done much easier with wallet-rpc on the backend
-
cryptogrampy[m]
instead of LWS
-
cryptogrampy[m]
then you get subaddress support and you don't even need payment id's
-
ofrnxmr[m]
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
-
ofrnxmr[m]
Or something like that 🙃
-
cryptogrampy[m]
and monero-javascript can work with remote wallet-rpc
-
plowsof[m]
the monero wallet rpc is technically polling / checking constantly also
-
cryptogrampy[m]
so one other thing i considered is you could do a full backend wallet in monero-javascript that only talks to a public node
-
cryptogrampy[m]
and it would have a server side rendered wallet
-
ofrnxmr[m]
As you said, not sure if even possible but lws uses zmq to constantly scan / wait for tx
-
ofrnxmr[m]
@plowsof do you know if lws is polling?
-
cryptogrampy[m]
aka POS
-
cryptogrampy[m]
> <@ofrnxmr:monero.social> As you said, not sure if even possible but lws uses zmq to constantly scan / wait for tx
-
cryptogrampy[m]
>
-
cryptogrampy[m]
> @plowsof do you know if lws is polling?
-
cryptogrampy[m]
MyMonero polls for transactions
-
plowsof[m]
every wallet has to 'check the mempool' constantly xD
-
cryptogrampy[m]
i think zmq data is different though
-
cryptogrampy[m]
you subscribe to new data
-
cryptogrampy[m]
i wrote a little thing for messing with zmq.. will see if i cna pull it up
-
ofrnxmr[m]
cryptogrampy[m]: Mymonero polls, but is lws polling? Or being pushed blocks from daemon and scanning each one
-
endogenic
lws has a websocket client i wrote
-
endogenic
that's how to avoid polling
-
endogenic
as for lws polling
-
-
cryptogrampy[m]
-
plowsof[m]
getwishlisted.xyz/donate is monero wallet rpc + websockets, donate stagenet coins with a comment if you like , <20 seconds it will appear
-
plowsof[m]
because of dandelion++ there is a bottle neck on how fast payments can appear (or so ive been told)
-
ofrnxmr[m]
plowsof[m]: Using tor + tx-proxy with disable_noise flsg
-
ofrnxmr[m]
= skip dandelion
-
plowsof[m]
speed hacks
-
ofrnxmr[m]
tx-proxy=tor,127.0.0.1:9050,64,disable_noise for example
-
cryptogrampy[m]
i wish there was a websocket connection that could make me 20 years younger
-
plowsof[m]
'speed hacks enabled yes/no | web compatible yes/no '
-
ofrnxmr[m]
My onion has both enabled :p
-
ofrnxmr[m]
#1
-
cryptogrampy[m]
is this just okay for read-only?
-
cryptogrampy[m]
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
-
cryptogrampy[m]
what's the downside of removing the d++ stuff for getting wallet info
-
ofrnxmr[m]
Because it broadcasts over onion-only, "none", or at least, less then dandelion
-
ofrnxmr[m]
s/then/than/
-
cryptogrampy[m]
<lockhead[m]> "moneropayment-2021-06-25_21.17.4..." <- holy shit i love this
-
lockhead[m]
The script is not very uhhh
-
lockhead[m]
robust?
-
lockhead[m]
it requires monero-wallet-rpc to be running and it's for a one time payment, after that you have to restart it
-
lockhead[m]
Been meaning to put it on github or someshit
-
cryptogrampy[m]
i bet someone out there would really like this thing, especially if can really script stuff easily
-
lockhead[m]
I made sure it's not bash but posix compliant
-
cryptogrampy[m]
you could rewrite in ts/python/rust probably and make something real nice
-
cryptogrampy[m]
text ui PoS
-
cryptogrampy[m]
ncurses pos
-
lockhead[m]
Nah, I purposely chose shellscript for portability and tiny memory footprint
-
cryptogrampy[m]
you could also incorporate it with like xmr.sh or the monero-bash script
-
lockhead[m]
I could try something like this in C or Go, I don't know much about Rust and Python feels like coding in molasses
-
cryptogrampy[m]
i get it
-
inlight
hii
-
inlight
so i researched more,
-
inlight
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
-
inlight
this does not apply for any private person doing p2p
-
inlight
so you could start a company, which can accept payments and not need kyc (if you sell digital goods)
-
inlight
users then can exchange those digital goods for monero,
-
inlight
and if someone want fiat back from monero (since there is no tainted monero), they can easily go for p2p trade with trusted sellers
-
inlight
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.
-
icarolongo[m]
cryptogrampy: please, add brazilian real (BRL) in the HotShop. :-D
-
cryptogrampy[m]
icarolongo[m]: if it was supported by the Kraken API, i would add it right now:
api.kraken.com/0/public/Ticker?pair=XMRBRL
-
cryptogrampy[m]
kind of surprised it's not supported to be honest
-
cryptogrampy[m]
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
-
cryptogrampy[m]
will check coingecko
-
spirobel[m]
cryptogrampy[m]: I think they have real and xmr. and its also free
-
cryptogrampy[m]
-
cryptogrampy[m]
we have a winner
-
cryptogrampy[m]
<icarolongo[m]> "cryptogrampy: please, add..." <- okay hit that refresh button and check your settings :)
-
cryptogrampy[m]
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.
-
icarolongo[m]
cryptogrampy[m]: Thank you
-
icarolongo[m]
cryptogrampy: what you think about add one option to remove the settings button? It can be useful to daily usage in one store.
-
cryptogrampy[m]
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
-
cryptogrampy[m]
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
-
cryptogrampy[m]
it's definitely more security theater, but it might keep someone from easily changing your store name to 💩
-
cryptogrampy[m]
Ah kiosk mode combined with a settings-less url might be a good simple solution:
how2shout.com/linux/how-to-start-firefox-kiosk-mode-ubuntu-20-04-lts
-
plowsof[m]
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
-
cryptogrampy[m]
Wow hotshop on a (n android) stick. going to be huge (in brasil).
-
plowsof[m]
literally anything with a web browser can run hotshop :)