mimblewimble / mwixnet

Implementation of the Mimblewimble CoinSwap proposal.
Apache License 2.0
8 stars 18 forks source link

Multi-server support & Generate ephemeral pubkeys randomly for each server #20

Closed scilio closed 10 months ago

scilio commented 1 year ago

Fixes https://github.com/mimblewimble/mwixnet/issues/9 Fixes https://github.com/mimblewimble/mwixnet/issues/10 Fixes https://github.com/mimblewimble/mwixnet/issues/19

phyro commented 11 months ago

I think we should expose relevant things like crypto, onions, API structs and possibly more as a lib to make it possible for other software (wallet?) to easily use the onion and other functionality.

phyro commented 10 months ago

@scilio given our limited capabilities to review, I think a good next step would be to make it possible to test this on a testnet. As said before, this would require us to have the ability to use the code to generate hops, onions, comsig on grin-wallet. It's also a good way to test if mixnodes creating their fee outputs works.

scilio commented 10 months ago

@scilio given our limited capabilities to review, I think a good next step would be to make it possible to test this on a testnet. As said before, this would require us to have the ability to use the code to generate hops, onions, comsig on grin-wallet. It's also a good way to test if mixnodes creating their fee outputs works.

Integration with grin-wallet is potentially a non-trivial task. I should be able to refactor the onion generation code into its own library now, but I haven't fully wrapped my head around the grin-wallet design enough yet to know how complicated integration would be. I was hoping to explore that idea more and possibly submit a funding request for a milestone 4 to do that integration.

yeastplume commented 10 months ago

I'm merging this now to make the code easier to work with for a basic wallet integration. PR is still available for review.