stakwork / sphinx-rs

Rust crates for Sphinx Chat
0 stars 0 forks source link

Proxy identities #38

Closed Evanfeenstra closed 3 weeks ago

Evanfeenstra commented 10 months ago

New proxy submodule for logic to create and manage virtual identities. You can have multiple virtual ids on a single hardware

Evanfeenstra commented 10 months ago

R+D question... should this inherit the policy + velocity settings from VLS?

Evanfeenstra commented 10 months ago

I think this RPC is what we can use to avoid revealing the contents of the TLV to the server https://docs.corelightning.org/reference/lightning-sendonionmessage

we need to use LDK to create the onion fully on the client side

Evanfeenstra commented 10 months ago

Receiving:

Sending:

Apps will need to totally refactor: no connection to relay for "lite" users. Instead cross-compiled rust lib to construct onions from route + sphinx TLV fields

irriden commented 10 months ago

A couple of relevant links, from a convo with Ken:

https://github.com/lightningd/plugins/tree/master/noise

https://github.com/ElementsProject/lightning/issues/6578