Home/Single-Use Seal

Single-Use Seal

Understanding the cryptographic mechanism that ensures single-use properties in RGB++ Protocol through Bitcoin UTXOs.

What is a Single-Use Seal?

Single-use seals are a cryptographic mechanism that locks a seal on a message, ensuring that the message can only be read or used once. The RGB++ protocol leverages Bitcoin UTXOs' inherent single-use property to implement this sealing mechanism.

How RGB++ Implements Single-Use Seals

Through the use of single-use seals, the RGB++ protocol creates assets that are cryptographically bound to specific Bitcoin UTXOs. The ownership of these corresponding UTXOs directly establishes ownership of the RGB++ issued assets.

To transfer a RGB++ asset, the holder must spend their corresponding UTXO, which effectively consumes the single-use seal and ensures the asset can only be transferred once.

Key Properties

Cryptographic Binding

Assets are cryptographically bound to specific Bitcoin UTXOs, creating an unbreakable link between Bitcoin's security model and RGB++ asset ownership.

Direct Ownership

UTXO ownership directly establishes RGB++ asset ownership, eliminating the need for complex ownership verification mechanisms.

Single-Use Guarantee

Assets can only be transferred once per UTXO consumption, preventing double-spending and ensuring transaction finality.

Bitcoin Security

Inherits Bitcoin's consensus security model, providing the highest level of security available in the cryptocurrency ecosystem.

How Single-Use Seals Work in RGB++
1

Asset Creation

An RGB++ asset is cryptographically bound to a specific Bitcoin UTXO during the creation process. This UTXO serves as the single-use seal for the asset.

2

Ownership Establishment

The owner of the Bitcoin UTXO automatically becomes the owner of the corresponding RGB++ asset. No additional verification or registration is required.

3

Transfer Process

To transfer the RGB++ asset, the current owner must spend the corresponding Bitcoin UTXO. This action consumes the single-use seal and triggers the asset transfer.

4

Security Guarantee

Bitcoin's consensus mechanism ensures that the UTXO can only be spent once, providing cryptographic guarantee that the asset transfer is final and cannot be reversed.

Technical Foundation

Bitcoin UTXO Properties

Inherent Characteristics
  • Atomic Spending: UTXOs can only be spent entirely, never partially
  • Single Use: Once spent, a UTXO cannot be used again
  • Cryptographic Security: Protected by Bitcoin's proof-of-work consensus
RGB++ Utilization
  • Asset Binding: RGB++ assets are bound to specific UTXOs
  • Ownership Model: UTXO ownership equals asset ownership
  • Transfer Mechanism: Asset transfers require UTXO spending

Further Reading

For a comprehensive explanation of single-use seals and their theoretical foundation, please refer to Peter Todd's seminal technical article.

Continue Learning

Now that you understand single-use seals, explore how RGB++ enhances state validation compared to the original RGB protocol.