h4sh3d / xmr-btc-atomic-swap Goto Github PK
View Code? Open in Web Editor NEWCross-chain atomic swap protocol between Monero and Bitcoin
License: Creative Commons Attribution 4.0 International
Cross-chain atomic swap protocol between Monero and Bitcoin
License: Creative Commons Attribution 4.0 International
thus making the worst case scenario a redund with fee costs on each chain
"redund" should presumably be "refund".
Great work.
Why is not possible to make one transaction script for three possible withdrawals?
Smth like?
OP_IF
OP_SHA256 <h_a> OP_VERIFY
OP_SHA256 <h_s> OP_VERIFY
<B_a> OP_CHECKSIG
OP_ELSE
<t_0> OP_CHECK
OP_SHA256 <h_b> OP_VERIFY
<B_b> OP_CHECKSIG
OP_ElSE
<t_1> OP_CHECK
<B_a> OP_CHECKSIG
OP_ENDIF
When I raised the question on IRC, I was wondering specifically if folks had more thoughts on the zkp
part of your proposal. The usual bitcoin ZKCP example that gets thrown around is the pay-for-sudoku-solution and that was a nontrivial amount of work. I'm unclear of how much work this particular ZK proof would be. It seems like a fairly mechanical "shape" of proof, but I don't have a good sense for how much data would be involved.
Did you plan to implement it in JavaScript or Go?
https://monero.stackexchange.com/a/895
It seems like a very similar idea, and I'm wondering how it differs. Yours is obviously more detailed but the major steps seem pretty similar.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.