BIP idea: Standardised p2sh bitcoin addresses requiring an arbitrary and/or combination of keys [combined summary]



Individual post summaries: Click here to read the original discussion on the bitcoin-dev mailing list

Published on: 2016-11-30T00:00:43+00:00


Summary:

Erland Lewin has proposed a method to create "Boolean addresses" that can be redeemed by a set of keys and multi-signatures combined with logical and/or operations. The aim of this proposal is to standardize these addresses, allowing for interoperability among wallet software. By implementing a consistent way to generate a P2SH script from a given boolean address tree, wallet authors can create, sign, and share signature requests for these addresses.A Boolean address is described as a tree structure, starting at a root node. The nodes within the tree can be an "and" operation, an "or" operation, a public key, a multisig operation n-of-m with a list of public keys, or a CHECKLOCKTIMEVERIFY operation. This proposal provides flexibility for various scenarios. For example, corporations can utilize this proposal to allow signatures by "A or (2 of 4 of B, C, D, E)," enabling spending by either the CEO or board members with their respective keys.Additionally, individuals like Alice can redeem her address in case of key loss or compromise. She can set up her address as "A or (B and 1-of-3 of C, D, E)." This means that if Alice loses her key or if her cloud wallet key is compromised, she can still access her funds using a combination of keys C, D, or E.The implementation of this proposal will establish a well-defined process for generating a P2SH script based on a given boolean address tree. It will also outline how spending transactions are to be signed. Reality Keys, a platform that verifies information against real-world events, recognizes the value of this proposal in addressing pain points and suggests that its adoption by wallet authors would be beneficial. Edmund Edgar, founder of Social Minds Inc (KK), supports the proposal's sensible implementation.In conclusion, Erland Lewin's proposal offers a consistent method for creating Boolean addresses that can be redeemed by a combination of keys and multi-signatures using logical and/or operations. Its implementation will ensure standardized interoperability among wallet software while providing clear guidelines for generating P2SH scripts and signing spending transactions.


Updated on: 2023-08-01T19:15:32.653219+00:00