-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate transaction proof verification for Monero #86
Comments
Question : do we know actually which ratio of XMR trades end up in a dispute ? |
Just jumping in to specify that xmrchain.net is open source: https://github.com/moneroexamples/onion-monero-blockchain-explorer and it does support Tor connections. I'm posting this issue to the monero devs channel, so if somebody is interested or have suggestions can comment here. |
ping @moneroexamples |
@Gingeropolous The explorer has api for proving and search for your outputs: https://github.com/moneroexamples/onion-monero-blockchain-explorer#apioutputsblocks So maybe this could be of use? |
@moneroexamples I try to get the onion-monero-blockchain-explorer project running but get compiler issues.
Is there a binary available as well? |
@moneroexamples Do you know a service running it which has enabled the API? |
Draft is implemented but missing the service response processing. |
Cool project. It probably makes sense for Bisq ops team to run our own federation of XMR nodes and offer this API service. If you verify against all nodes and they agree, then you can release the funds automatically. |
@wiz Yes to have multiple nodes and they all need to match we gain a good level of security. Additionally one could build a watch dog service which periodically checks if the nodes are honest by testing it with data and the verify itself. |
If anyone tries to complile the service, use clang as it seems it doen not work otherwise... |
I consider this as an approved idea, but superseeded by a most precise proposal in #239 |
@moneroexamples We use that code for conversion (author: @jmacxx )
So the expected value from our address conversion has 8 bytes at the end more than the address in the json. Is it related to the address format change? This tx was nearly 1 year old. Any idea whats the reason for the problem and how to fix it? Sorry I am not much familiar with internals of Monero. |
@moneroexamples We found the issue. This was a integrated address with payment ID. Fixed with bisq-network/bisq@8682127 |
The Monero seller need to be able to provide a transaction proof (tx key) in case of a dispute as the XMR transfer cannot be verified on the blockexplorer like with other altcoins. There are at least 2 online services available to verify the tx key [1], [2].
We could integrate that the XMR seller need to provide the tx key in the trade process (after sending XMR) so that the buyer receives the tx key and can make an API call to one of those services (or better both).
It can be assumed that those services will not support Tor connections so we will need a relay solution similar to our price and fee estimation nodes. Those relay nodes provide a hidden service to the Bisq nodes and do the request to the http service in clearnet.
As soon the XMR buyer's Bisq app can verify the tx the trade can be completed. This would speed up the trade process and only requires that the buyer's app is online but not the manual interaction.
Alternatively a monerod integration with RPC could be used. Then the tx proof is not required as the buyer's wallet will know anyway once the tx arrived. Though that require that the buyer runs a monerod while having Bisq open, which might be a more narrow requirement as the above solution with using an API. Also integrating monerod will add new security risks.
To avoid risks with those services we could also provide our own service for providing the tx proof. Multiple services should be used and only if all match the result is considered trustworhty.
[1]
[2]
The text was updated successfully, but these errors were encountered: