Discussion: Bring your own signing algorithm via XRPL Programmability? #286
Replies: 3 comments 5 replies
-
Should we really be allowing/encouraging people to "roll their own crypto"? |
Beta Was this translation helpful? Give feedback.
-
No.
Maybe yes, especially for the sake of innovation. That idea overall is the beauty of "Smart Features" -- you don't have to use them, but if you want to, you have freedom to choose what you do. (I also expect that if this particular proposal were to ever become reality on Mainnet, there would be a few well-audited, well-supported algo implementations that aren't just "roll your own crypto") |
Beta Was this translation helpful? Give feedback.
-
My idea I voiced on the space, was allowing a different algorithm used by another network to be used. Giving address parity of two accounts, this concept already exists between XRPL and Xahau due to them using the same algorithm. *extra possibly going off the rails Any how nice to see I'm not the only crazy one thinking around this. Thanks for the thread @sappenin |
Beta Was this translation helpful? Give feedback.
-
This discussion point echos some ideas I've been thinking about relating to signature algorithms supported by the ledger. Currently, XRPL supports Ed25519 and Secp256k1-based digital signature algorithms (here's an interesting blog post relating to the introduction long ago of Ed25519 into the XPRL).
One way to think of the purpose of digital signatures (or, more concretely, signed transactions) in the XRPL is to view this as an end-user's primary mechanism to tell the ledger (and the world) that they "approve a transaction." For example, by signing a an XRP payment transaction with one's private key, that person is telling the world, "I approve of paying some XRP from my account." From this lense, it's interesting to imagine other ways for for XRPL users to signal this kind of transaction approval.
For example, what if someone wanted to create an XRPL account that uses a different DSA? I also find it interesting to imagine what other possibilities emerge with this kind of capability.
In any event, the idea here would be something like a
Smart Signatures
whereby any account can be configured with a WASM program that conforms to a simple ABI indicating whether a particular transaction is validly signed. There are of course many tradeoffs with this idea. I'll list some, but am also curious to hear what anyone else thinks about this.Pros
Cons
Beta Was this translation helpful? Give feedback.
All reactions