Blockchain Redeem Script Locking for Rule-Based Asset Transfers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain technologies lack the ability to enforce or control subsequent transfers between participants, limiting the versatility of asset management and transaction rules.
Innovation Solution
Implementing a cryptographically enforced mechanism using redeem scripts and hash-based locking, allowing parties to embed rules into initial transactions that ensure compliance with predefined conditions in subsequent transactions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If traditional blockchain transaction validation is used, then transaction speed and simplicity are improved, but the ability to enforce control rules on subsequent transfers is lost
Solution Approach 1:
The patent applies preliminary action by embedding control rules (redeem scripts) into the initial transaction output before the transfer occurs. The locking script in the first transaction contains a hash of the redeem script, which must be presented in subsequent transactions to unlock the funds. This预先 action ensures that control rules are established beforehand, enabling enforcement of transfer conditions without slowing down the validation process.
2Adaptability or versatility
If binding constraints are placed on future transactions, then control and enforcement capability is improved, but transaction complexity increases
Solution Approach 1:
The patent applies the taking out principle by extracting the control rules from the main transaction flow and placing them in a separate redeem script that is referenced via hash in the locking script. This separation allows the control logic to be independent and reusable, reducing the complexity burden on each individual transaction while maintaining strong enforcement capabilities.
Solution Approach 2:
The patent applies nesting by embedding the redeem script hash within the locking script of the initial transaction. The redeem script itself can contain nested conditions and requirements for subsequent transactions. This layered structure enables complex control rules to be enforced while keeping the surface-level transaction structure relatively simple.
3Reliability
If hash-based locking mechanisms are implemented, then security and immutability are improved, but verification difficulty increases
Solution Approach 1:
The patent applies copying by using cryptographic hash functions to create a compact representation (hash) of the redeem script. Instead of requiring nodes to store and verify the entire redeem script, they only need to verify that the provided script's hash matches the locked hash. This copying approach maintains security and immutability while significantly reducing verification complexity.
Data Source
AI summary
The invention provides methods and systems by which an agreed set of conditions governing transfers on a blockchain (e.g. the Bitcoin blockchain) can be generated and enforced. Advantageously, the conditions can be used to specify and influence the behaviour of another party who will be receiving the asset, by enforcing their fulfilment of an agreed set of rules. In one embodiment, a computer-implemented method comprises the step of providing, to a recipient, a representation of at least one rule (r) relating to a transfer to be conducted over a blockchain network. It also comprises the step of receiving, from a sender: a redeem script (R) which comprises the representation (r); and a script address comprising a hash (HR) of the redeem script (R). It also comprises the step of generating a hash (H) of the redeem script (R) and comparing it with the script address. If the hash (H) matches the script address, the sender can use the script address in a locking script associated with an output of a blockchain transaction (TX0) safe in the knowledge that the rules (r) will be enforced in order to unlock the asset.


