06:58:42 Hey was the ci build for windows changed recently ? It's erroring out right now 07:18:48 I submitted a PR that I think will fix that error but I don't compile on Windows so maybe someone can double check it works after I run it thru CI (assuming it works) 07:23:56 definitely DWORD there 07:25:31 sech1 thanks for looking at it 07:25:54 Using CI as my windows compiler rn hehe oops 07:47:13 phew it passed, was really hoping patching it wouldn't expose 30 more identical instances of the error 10:44:41 Hello everyone, I'm HMD2V. I'm working on making a bridge from Algorand to Monero, inspired by the talk on BTC<->XMR bridge by h4sh3d, the paper and what the Comit team has done and written. 10:44:41 I'm still quite new to Monero development but I've been playing around with it after work the last couple of weeks. Still I'm wondering if there is anyone here who'd be up for answering some questions of mine? Specifically related to the python-monero wrappers (doing everything in Python is more convenient) and how to do certain things with the wallet cli tool over rpc. 10:44:41 Thanks everyone. 10:45:57 * Hello everyone, I'm HMD2V. I'm working on making a bridge from Algorand to Monero, inspired by the talk on BTC\<->XMR bridge by h4sh3d, the paper and what the Comit team has done and written. 10:45:57 I'm still quite new to Monero development but I've been playing around with it after work the last couple of weeks. Still I'm wondering if there is anyone here who'd be up for answering some questions of mine? Specifically related to the python-monero wrappers (doing everything in Python is more convenient as you can write Algorand smart contracts in Python) and how to do certain things with the wallet cli tool over rpc. 10:45:57 Cheers 10:47:09 if you have specific questions about monero-wallet-rpc, just ask. You use monero-wallet-rpc, not -cli, right? 10:48:37 Indeed. 10:49:02 hmd2v: (fyi this channel is bridged to irc, so avoid making too many edits to your messages, otherwise it creates a lot of noise on the irc side) 10:59:43 > <@hmd2v:matrix.org> Hello everyone, I'm HMD2V. I'm working on making a bridge from Algorand to Monero, inspired by the talk on BTC\<->XMR bridge by h4sh3d, the paper and what the Comit team has done and written.... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/0fa53cb9cd20a811e6548b8f7d66ba41c62a6257) 11:01:31 Basically I want to be able to generate a wallet from keys. In the protocol, Alice and Bob exchange monero keys (public spend, secret and public view) and add the pub spend keys (ed25519 points) together to get a new pub spend key. Bob then seeds the new pub key with his monero, which Alice can gain access to if... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/a1fa3816e6a5db377ec45021c43de6f2cb2c5f4f) 11:02:21 ooo123ooo1234[m]: https://www.youtube.com/watch?v=G-v6hDnzpds 11:02:21 https://github.com/comit-network/xmr-btc-swap 11:02:21 https://www.youtube.com/watch?v=Jj8rd4WOEy0 11:02:21 https://comit.network/blog/2020/10/06/monero-bitcoin/ 11:02:28 FYI, long messages are elided, and replaced by a URL. 11:08:15 hmd2v: bridge != atomic swap 11:08:40 > <@hmd2v:matrix.org> Basically I want to be able to generate a wallet from keys. In the protocol, Alice and Bob exchange monero keys (public spend, secret and public view) and add the pub spend keys (ed25519 points) together to get a new pub spend key. Bob then seeds the new pub key with his monero, which... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/2c1103759e2fd12c98ca22ec4580a81b9f8527d5) 11:09:29 > <@hmd2v:matrix.org> Basically I want to be able to generate a wallet from keys. In the protocol, Alice and Bob exchange monero keys (public spend, secret and public view) and add the pub spend keys (ed25519 points) together to get a new pub spend key. Bob then seeds the new pub key with his monero, which Alice... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/76db666014ecd757b0f2493eca36d2ebaf19ef43) 11:10:17 ooo123ooo1234: fair enough 11:10:42 If you want to try something potentially simpler, and know rust, there's a largely modular proof of concept available (doesn't save to disk and so on, preventing recommendation for real world usage) btw 11:10:58 bridge is just network app that can be written by any one and it implies trust to bridge operator; but atomic swap is complex protocol suitable for p2p since it can be used by untrusted parties 11:11:22 You don't have to do it in entirely from scratch in python just to move past btc bias 11:12:37 Anyways. That should be the rpc route. It should create a new file itself for the name you specify. There should be publicly available address encoders for Python. It's also easy enough to test this with curl :p 11:17:09 Thing is I dont know Rust and, while I am not averse to learning new languages, I really dont think it is needed in this case. The only thing I'm doing is calling on LibSodium bindings to add two private spend keys. 11:17:44 Then it'll be a matter of creating a swap daemon, cli tool, server functionality so it can connect to other swappers. 11:18:37 Finally, the Algorand Virtual Machine is partially built on top of LibSodium. It'll just be a matter of exposing _crypto_scalarmult_ed25519_base as an operation available to smart contracts. 11:28:04 what does it mean to generate a wallet from keys? if it is get the wallet's address then that can be done rather simply following the method outlined in the mastering moneo book. From there you know the address which Bob needs to transfer the monero to 11:28:19 i am a noob so I could be missing something or a lot 11:28:39 *getting the wallet address using the keys 11:31:00 i mean there is no problem spawning the wallet rpc client w/ a fake wallet and then calling the the method is a little bit awkard but hey just wrap it - the only downside i can think of is you introduce reliance on spawning process, filesystem etc.. which could reduce reliability of code 11:31:55 "Thing is I dont know Rust and..." <- I really think you're underestimating this. You also need a DLEq proof 11:32:03 That's not a light piece of cryptography 11:32:45 HenryHollingwort: It's creating a wallet file for the daemon to work with with a specific set of private keys. It's kinda like restoring from a seed, except... Numbers instead of words turned into numbers. 11:33:25 kayabanerve[m]: You also need adaptor signatures hmd2v: 11:34:23 So it's two cryptographic constructions beyond addition, which is trivial, and then as you say, you need the actual service + interface for it 11:35:44 kayabanerve[m]: i meant more what is he then trying to achieve - if it just creating it to compute the address for the transfer you can do it without needing to make a wallet file for the rpc client (ditto for verifying - just need daemon connection and scan the blocks)... though at that stage it way be worth actually creating the wallets and using the rpc lol 11:36:07 Also, if you do refer to the MRL paper for a dleq proof, please note it has an error and needs to be supplemented with a proof of knowledge 11:36:26 Why do you need a DLEq proof? That's to bridge the ed25519 Secp256k1 gap right? 11:36:51 HenryHollingwort: Atomic swaps create a naive 2-2 multisig, so you create a private key and then end up spending from another 11:36:57 hmd2v[m]: ... Is algorand ed25519? 11:37:24 hmd2v[m]: Because you wouldn't if so. You would still need adaptor signatures though those are easier to implement 11:37:46 Yes Algorand is ed25519 11:38:39 Got it. Didn't realize that, sorry. 11:39:15 In that case, it's adaptor signatures and key addition and signatures working as proof of knowledges. 11:39:40 No worries 👍🏾 I also had to confirm t with Noot who is making the eth<->XMR swap because it seemed too easy lol 11:40:19 *A PoK can be constructed by any signature for a public key which signs itself. 11:41:18 And Ed25519 signatures naturally include themselves so technically ed25519.Sign("PoK") would be sufficient, yet it'd probably be good form to include the key again just to be explicit about it and mindful of other schemes which may not 11:41:36 hmd2v[m]: Yeah, we actually had a really interesting discussion about that lol 11:42:10 They didn't have ed25519 available natively but they did replace the DLEq proof with an on chain SC which... 11:42:33 https://github.com/HashMapsData2Value/gjallarbru 11:42:39 Which has the irony of not relying on the XMR atomic swap protocol as we know it and having been possible for years 11:43:05 https://github.com/algorandfoundation/ARCs/issues/92, proposed protocol for atomic swap 11:43:14 for a more focused discussion 11:43:22 s/a// 11:43:41 hmd2v: you would better start from link to your repo, instead of asking how to use monero python lib 11:43:42 hahahaha 11:44:00 ooo123ooo1234[m]: Wow do I not like this 11:44:11 Why would you introduce a new op code? 11:44:38 > cryptography exists 11:44:38 > Is this a reason to hard fork a protocol and bloat a chain with unnecessary data? 11:44:52 kayabanerve[m]: Am i doing bad or good thing with posting that link ? Can't understand you 11:45:07 I don't like what it details 11:45:26 The link itself is helpful, though it did make me wonder how off topic we're getting 11:45:48 hmd2v: if you're proposing a hard fork, when algorand has scs, you're doing it wrong. End of story 11:45:49 kayabanerve[m]: As long as it's related to atomic swap with monero it is not off-topic 11:46:12 Tbf now I'm criticizing an algorand protocol design proposal 11:46:19 If it's already clear why this protocol doesn't work then explain and this discussion can be stopped 11:46:58 > The company Comit took that paper and turned it into an MVP, which is described in this blog post and this video presentation. Joël, aka H4sh3d, also made this presentation. 11:47:05 This isn't even a good explanation of the history :( 11:47:27 ooo123ooo1234[m]: His readme advocates for a hard fork to algorand. I'm commenting that's a horrible decision 11:48:37 Not to mention, you may be able to use ed25519 verify AS x*G == R? 11:48:54 You shouldn't need a hard fork. This op should already exist. They just don't know if 11:49:02 s/if/it/ 11:50:04 hmd2v: Verifying a signature crafted so the public key is X, the R is 0, and the s is the private key (or its negative) will be a sk -> pk verification 11:50:42 All you'd have to do is verify they used a 0 R, or if those are banned, a known R. Can you do a byte comparison of the signature before calling ed25519 verify? 11:51:52 Because if so, not only is this still a bad protocol beyond a proof of concept because you're placing this on chain instead of implementing the cryptographic protocol established, but you should never have proposed a hard fork for this 11:52:37 You even note how n00t moved to the cryptographic solution .-. 11:53:11 It's fine for a proof of concept. The issue is when you make a RFC suggesting a hard fork despite the solutions being in front of you .-. 11:54:08 +1000 for critical thinking 12:04:12 "As long as it's related to..." <- For -Dev? I think it is off topic.. 🙃 12:04:49 kayabanerve: Ah Cunningham's Law - post the wrong solution and get the right answer back 😃 12:04:49 I agree that this is off-topic but I'd love to continue talking to you. 12:06:11 #monero-research-lounge:monero.social is more open 12:11:46 Stagenet forks next 16th, right? 12:12:01 Anyone here aware of any plan or project where one can hedge XMR directly in a DEX way? 12:16:01 It is possible now to do that only with BTC, but I am not comfortable with giving up the XMR for the Voyeur peep show coin, undermining the value of XMR 12:17:06 s/n00t/noot/ 12:20:30 your symbol order is wrong, it should show btc/xmr 12:20:30 1xmr * 0.00649 xmr / btc = 0.00649 btc 12:21:12 on https://unstoppableswap.net/ 12:24:25 "Anyone here aware of any plan or..." <- Wrong channel 12:24:26 Jeez 12:24:53 #monero:monero.social 12:28:27 > Web UI has been disabled 12:28:27 The functionality of this website has been deprecated and will be removed entirely in the future. It will soon be replaced by a desktop app that is currently in active development. The GitHub repository is public, so feel free to inspect the code or provide feedback as development progresses. 12:28:56 which dev though it is good idea to disable web BEFore the desktop app is ready .. 12:29:02 "If it's about monero development..." <- . 13:08:34 "For -Dev? I think it is off..." <- atomic swap -> compatibility with monero -> what can be changed in monero in order to make more compatible ? Is it already compatible ? 13:11:27 "For -Dev? I think it is off..." <- a 13:11:40 #monero-research-lounge:monero.social or 13:11:40 #monero:monero.social 13:11:40 Dev is for hacking on monero.. not for brainstorming algorand 13:14:59 Dont worry we are taking it privately, sorry for cluttering this up. 13:15:15 Happy days, people. 13:33:23 > <@ofrnxmr:monero.social> #monero-research-lounge:monero.social or... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/cc1fd62dceac863edc2c4bd9e66867c72f6f7089) 13:34:45 * it's about atomic swap protocol between monero and something else; the name of something else isn't important here; 13:35:16 Yes it is. Atomic swaps arent monero. They are 3rd party 13:36:32 Imagine the comit team using monero-Dev as their home base for their development chats 🥴 13:37:33 ... I mean, I did say it was getting off topic because it became a rant about another project on my end, so I moved it to their threads and then explained to the developer privately how to properly integrate with monero, which is regardless of what they're integrating with 13:38:03 At this point, the only off topic discussion, besides mine which I ended almost an hour ago, and am sorry for, is this meta discussion on a dead conversation 13:38:57 ofrnxmr[m]: atomic swap is shared part between monero and something else, it can be discussed by both sides; but isolated development of monero will be done here, and comit isolated development will be done somewhere else 13:38:57 I was just typing 13:38:57 "Im not replying on this subject fuether as arguing about it is even more off topic." 13:38:58 clear enough ? 17:01:44 Hey guys, I would like to get your thoughts on this issue here: 17:01:49 https://github.com/monero-project/monero/issues/8351 17:03:59 What do you call stealth addresses ? Output pubkeys ? 17:09:56 Yes 17:32:40 Is this in any way related to the 2017 cryptonote inflation bug? 17:32:41 https://www.getmonero.org/ru/2017/05/17/disclosure-of-a-major-bug-in-cryptonote-based-currencies.html 17:32:56 Will look at it more in depth in a little bit 18:03:51 uh any idea why this suddenly failed (CI issue?)? https://github.com/monero-project/monero/runs/6560013044 18:04:36 My PR here fixes it: 18:04:38 https://github.com/monero-project/monero/pull/8349 18:05:27 Looks like someone updated the compiler for Windows CI build and didn't test it against current codebase (just a guess) 18:07:36 jeffro256[m]: cool thanks 18:23:12 UkoeHB github updates compiler versions all the time 18:28:51 "Is this in any way related to..." <- Could be if I had found a key_image outside the prime group. Which I didnt up to now. The thing is that Monero verifies only key_images. But anyone can modify the last bit of the transaction and relay to the network. The nodes would take the transaction and another point outside the prime group would be in the blockchain. Which lately could be used as a ring member in some 18:28:51 transaction. 18:29:35 By last bit I mean the stealth_address (resp_json["vout"]["target"]["key"]) 18:38:04 on immediate read, "NOTICE THAT I DID NOT FIND ANY KEY_IMAGE POINT THAT IS OUTSIDE THE MONERO PRIME SUBGROUP. WHICH WOULD MEAN THAT SOMEONE COULD HAVE DONE A DOUBLE-SPENDING." this doesn't communicate what i think the rest of the post communicates 18:39:31 or at least it does so but the language requires more logic parsing 18:42:04 I dont know what you think that the post communicates :p 18:42:04 If it is not clear, let me know ;) 18:42:48 The quote above means "the check from vN worked" AFAICT. 18:43:04 (plus the blockchain check up to vN) 18:46:34 it could be read as : "I did not find any key image point that is outside the monero prime subgroup, which means that someone could have done a double spending" .. or "i did not find any key image point that is outside the monero prime subgroup. If i had found that, it would mean ... " 18:47:11 bah nvm. i think i got it. 18:50:40 Oh yeah, sorry my language. I had an implicit statement there. I should have made like: WHICH WOULD MEAN (IF I HAD FOUND) THAT... 18:50:49 yeah, there we go 18:54:28 Oh okay, finally reading this now. There were no key images outside the subgroup, just some points 18:54:41 If nothing else, it would be good to not allow that so the transactions remain uniform 18:58:08 jeffro256[m]: Yeah, thats the point. Play safe in the prime group. 18:58:33 Good find 19:01:19 Since the public keys are outside the correct subgroup, won't the key images also be outside the group and thus not spendable? 19:02:53 jeffro256[m]: No. It is a ring signature. You can have members outside the prime group. 19:03:47 If you are the one trying to spend it then you can only spend the image that is in the prime subgroup 19:04:33 Yeah but if they were to try to actually *spend* from that public key. the Key image is derived by multiplying against the public key so its corresponding key image would land outside the group correct? 19:04:57 > If you are the one trying to spend it then you can only spend the image that is in the prime subgroup 19:04:57 Okay yeah that's what I meant 19:05:31 Yeah, you would have to multiply by 8 at some point 19:07:08 luigi1111: could you please merge 8349 to fix CI? 19:07:12 .merge+ 8349 19:07:12 Added 19:13:08 Sure 19:34:36 .merges 19:34:36 -xmr-pr- 8318 8324 8325 8326 8328 8330 8331 8349 19:53:40 UkoeHB your CI build should work now 19:53:50 thanks luigi1111 ! 20:17:19 *as long you you rebase 20:18:45 force push is usually enough, at least for the CI run on the PR page 20:54:47 moneromooo: could you take a look at https://github.com/monero-project/monero/issues/8347 ? 22:19:32 do you guys know how can I get some XMR on a testnet wallet? 22:43:29 Hi Monero Devs! What are you guys working on? 22:44:34 aog https://community.rino.io/faucet/testnet/ 22:47:58 thank you plowsof[m] 22:49:36 Nicholas Hallahan https://www.monero.observer/monero-dev-activity-report-week-20-2022/ you can follow the dev meetings @ https://github.com/monero-project/meta/issues 23:12:45 Awesome 23:49:18 mine it with your daemon, the hashrate is only 4 KH/s