Rewarded Puzzle Solutions for Secure Blockchain Randomness

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current blockchain technologies face challenges in securely generating random numbers within blockchain scripts, particularly in smart contracts, which is essential for ensuring the integrity and security of transactions.

Innovation Solution

A computer-implemented method for a node in a blockchain network that involves validating a third transaction with a locking script containing a first and second puzzle. The solutions to these puzzles are used to generate a pseudorandom number, which then determines the transfer of control for a third digital asset.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If random number generation is implemented directly in blockchain scripts, then transaction flexibility and smart contract functionality are improved, but security and integrity are worsened due to potential manipulation

Engineering Contradiction:
Improvesmart contract functionalityVSAvoidtransaction security
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The random number generation process is segmented into multiple independent components: a commitment phase where the generator commits to a random value, and a reveal phase where the actual value is disclosed. This segmentation prevents manipulation by separating the generation process from the verification process, allowing smart contracts to maintain flexibility while ensuring security through the commitment-reveal mechanism.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The commitment to the random value is performed in advance before the actual transaction execution. By requiring the random number generator to publish a commitment (hash of the random value) before the transaction, the system ensures that the generator cannot manipulate the random value after seeing the transaction details, thus maintaining both smart contract functionality and transaction security.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If puzzle solutions are required for random number generation, then security against manipulation is improved, but transaction complexity and validation time are worsened

Engineering Contradiction:
Improverandom number securityVSAvoidtransaction structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

A cryptographic commitment scheme acts as an intermediary between the random number generator and the smart contract. Instead of directly solving complex puzzles, the generator creates a commitment (an intermediary representation) that can be easily verified. The commitment serves as a mediator that proves the random value was determined before the transaction, maintaining security while reducing validation complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces traditional proof-of-work puzzle solving with a cryptographic commitment-based approach. Instead of requiring computationally intensive puzzle solutions, the system uses cryptographic hashes and verification mechanisms that are more efficient. This substitution maintains the security guarantee (random value determined before transaction) while significantly reducing the computational complexity and validation time.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If puzzle solutions are made indeterminable at validation time, then random number security is improved, but transaction processing speed is worsened

Engineering Contradiction:
Improverandomness integrityVSAvoidtransaction validation speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The commitment to the random value is performed in advance and recorded on the blockchain before the transaction validation. This preliminary action allows the validation process to simply check whether the revealed value matches the pre-recorded commitment, rather than performing complex computations during validation. The security is maintained because the commitment proves the value was determined beforehand, while the validation speed is improved because the check is computationally simple.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12346902B2Rewarded puzzle solution
Publication Date: 2025.07.01 NCHAIN LICENSING AG
  • US12346902B2 patent drawing
  • US12346902B2 patent drawing
  • US12346902B2 patent drawing

AI summary

The invention relates to distributed ledge technologies such as consensus-based blockchains. Computer-implemented methods for a secure random number generation within blockchain scripts are described. The invention is implemented using a blockchain network, which may be, for example, a Bitcoin blockchain. A first transaction that includes a puzzle is validated at a node in a blockchain network, with the first transaction being associated with a digital asset, and with a solution to the puzzle being indeterminable at a time of validation of the first transaction. A pseudorandom number, based at least in part on a solution to the puzzle that is included in a second transaction, is generated at least in part by validating the second transaction, the second transaction created to transfer control of the digital asset associated with the first transaction. Control of the digital asset is transferred based at least in part on the pseudorandom number.