Closed scilio closed 10 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.
@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 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.
I'm merging this now to make the code easier to work with for a basic wallet integration. PR is still available for review.
Fixes https://github.com/mimblewimble/mwixnet/issues/9 Fixes https://github.com/mimblewimble/mwixnet/issues/10 Fixes https://github.com/mimblewimble/mwixnet/issues/19