Comments (4)
Of what's listed above, all but the integration into SendKeysMessage
has already been completed during our hackathon in #4 - it's even serialized efficiently (64898 bytes), and also already includes the proof of knowledge mentioned by @kayabaNerve here: #60 (only improvement I can see so far would be stripping the ECDSA sig, which will save you 64 bytes + serialization overhead, if any).
Right now, the DLEQ proof is shared via a local file (dleq_proof.dat
), which must of course be replaced, and the proof verification is handled via an external binary, which is not ideal. But if you integrate the serialized proof payload into the SendKeysMessage
(which will then already work), I will make time to switch from the external binary to using FFI bindings for the DLEQ proof generation & verification. I believe what @alxs did here #27 will reduce effort too.
from atomic-swap.
another argument for going Rust FFI: @kayabaNerve's dleq lib has had a lot of thought put into abstracting different curves - I haven't properly reviewed it yet, but once I'm no longer swamped with other work, I'll integrate it into Farcaster too & adjust the FFI bindings here as well.
from atomic-swap.
Lack of peer review is why it's still branched, at which point I'll publish it as a proper crate. If you write a new one in Go (briefly mentioned), I'd be happy to write tests running the two proofs against each other so we can define another implementation of a consistent protocol.
from atomic-swap.
@Lederstrumpf okay awesome, I can pick up on that work integrating it into the Go side. I'll also look into the FFI/CGO route and see what it'll entail exactly. I'll message you once the Go integration is done, then we can work on that. if that doesn't go well I'll probably try to port @kayabaNerve 's implementation to Go, briefly looking at the library, it seems it should be doable without too much pain.
from atomic-swap.
Related Issues (20)
- swapcli commands to manually claim/refund based on offer ID
- swapcli wrong ongoing status after restart
- write newSwap TX ID to database as soon as TX is sent to mempool
- ongoing swaps should remove respective offer on restart
- swapcli command to subcribe to ongoing swap HOT 2
- bootnode fails when you query its version
- Question: stagenet environment? HOT 4
- Questions: Relayer HOT 2
- TestXMRTakerCancelOrRefundAfterKeyExchange flaky HOT 1
- Add transfer-token subcommand to swapcli
- Follow XDG Base Directory Specification
- Warning if swapcli and swapd are on different versions
- approved tokens list HOT 3
- Chainlink XMR price feed is gone
- Should the UI be an Electron app? HOT 6
- Dynamic Rates HOT 2
- Chaining Offers HOT 1
- Trick for Swaps with XMR as Takers HOT 1
- prettier solidity formatting broken HOT 1
- Web UI compatible with PiNodeXMR [possible bounty] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atomic-swap.