Client-Side-Validation

The concept of client-side-validation, introduced by Peter Todd in 2016, revolves around the principle that in a distributed system, validating a state doesn't require the involvement of all participants in a decentralized protocol. Rather, only the parties directly involved in a particular state transition are required to perform this validation.In this method, instead of broadcasting the state transition across a global network, it is condensed into a short cryptographic commitment, such as through the use of cryptographic hash functions. This commitment must then be integrated into a specific "proof-of-publication" medium that embodies three primary characteristics:

  • Proof of Receipt: The capacity to demonstrate that every member of a particular audience has received a message, such as a commitment.

  • Proof of Non-Publication: The ability to verify that some specific message has not been published.

  • Proof of Membership: The capability to confirm that some specific member is indeed part of some certain audience.

RGB protocol adopts the client-side validation model. This involves maintaining all transaction-specific data off the blockchain, allowing only the transaction's sender and receiver to exchange this data. The Bitcoin blockchain is utilized solely for commitment purposes. This method enhances scalability, privacy, and extensibility compared to other protocols that operate with all their logic on-chain.

Last updated