-
Guest_84
i'm new to monero, just wondering if monero support virtual machine like EVM in ethereum, if not, does this possible later, thanks a lot!
-
Guest_84
hello?
-
Guest_84
anybody here:)
-
xmrmatterbridge
<learninandlurkin> This is probably the wrong channel for that question, this is for Monero research. Try #monero
-
xmrmatterbridge
<learninandlurkin> I know nothing about EVM so I can't help you with your question sorry
-
moneromooo
It does not.
-
needmonero90
Yeah but can you imagine how hard we would pump if the MRL pretended like we were going to for a couple weeks
-
» needmonero90 dreams
-
hyc
Hey guys, I think I've come up with a scheme to implement ETH smart contracts on XMR blockchain!
-
hyc
/s emphasis on "scheme"
-
moneromooo
Tomorrow's headline: "Monero planning to embed a Scheme interpreter"
-
hyc
:D
-
Guest_84
Ok, so there is nothing related to smart contract on the monero chain, right? I thought it would be great if we have a chain with privacy preserved smart contract functionalities.
-
moneromooo
Right.
-
sarang
Hello all
-
sarang
Working on more Triptych preprint stuff today
-
sarang
Lost some work due to a laptop malfunction, so I'm redoing it :(
-
Isthmus
@Guest_84 although smart contract functionality is outside the scope of Monero's primary goals, it is definitely possible.
-
Isthmus
Origo and Starling have zero-knowledge execution, Loki (built on Monero) is more focused on the application layer. Oasis Labs is effectively a trusted execution environment.
-
Isthmus
Not relevant to -lab, but I'm happy to chat in PM, or I think this would be a fine topic for #monero-research-lounge
-
mikerah[m]
I had been looking into this for a while.
-
mikerah[m]
You can also take advantage of the tx_info field to store simple contracts as well
-
Isthmus
(to clarify, I mean privacy preserving smart contracts are possible technologically, not that we'll possibly implement them on Monero)
-
Isthmus
Using tx_extra memo field for extra functionality like this makes the metadata really noisy, not recommended due to privacy issues.
-
mikerah[m]
Right, it's called tx_extra. As long as the resulting contract looks uniform (which is hard to do in practice), then it can work.
-
sarang
A good topic for this channel IMO
-
Isthmus
👍
-
Isthmus
Hmm, even if statistically uniform output, also have to think about insidious information leaks from things like string length
-
Isthmus
But if all the smart contracts output to the same space, then they'll look uniform among each other
-
Isthmus
But not uniform with transfer-of-value-only transactions.
-
Isthmus
But if we added dummy smart contract output to all TOVO transactions too... :thinking:
-
dEBRUYNE
Couldn't that be mitigated by adding random data for these transactions
-
dEBRUYNE
Oh you just had a similar thought :-P
-
Isthmus
:- )
-
Isthmus
Hmm, what are all the things that we could put in tx_extra... PIDs, smart contract outputs, keys, etc. Let L be the length of the longest one
-
Isthmus
If a transaction has a tx_extra longer than L, it's rejected for being something unusual
-
Isthmus
If something is being used with length less than L, it needs to be padded so that the encrypted output is length L
-
Isthmus
(and anything less than length L would be rejected at the protocol level due to information leak. Padding must be mandatory)
-
Isthmus
Uhm, when I say "tx_extra longer than L", I mean "something to put in tx_extra that is longer than L"
-
Isthmus
Sorry, I'm on the bus in San Francisco and it's really hard to focus
-
Isthmus
btw, if we can figure out a way to do smart contracts on Monero that *rigorously* do not leak information about the activity, I'm totally game :- P
-
sarang
BTW suraeNoether recommends waiting until next Monday for a research meeting (not related to this discussion)
-
sarang
suraeNoether: nearly finished with the Triptych preprint draft
-
sarang
I have only to include some additional details on selecting Pedersen masks
-
sarang
It's down to 15 pages, but that's without writing out all the definitions relating to sigma protocols
-
sarang
(not sure if that's worth including in detail since they're well known)