# US 2024/0005310 A1 · Implementing logic gate functionality using a blockchain

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0005310 A1
- Document ID: US20240005310A1
- Status: Published application
- Kind: A1
- Application number: 18/205,991
- Filed: 2023-06-05
- Published: 2024-01-04
- Earliest claimed: 2016-04-29
- Assignees: nChain Licensing AG
- Applicants: nChain Licensing AG
- Inventors: Craig Steven WRIGHT; Stephane SAVANAH
- Web page: https://patentgrep.com/patent/US20240005310A1

## CPC

- G06Q 20/3678: {e-cash details, e.g. blinded, divisible or detecting double spending}
- G06F 9/22: Microcontrol or microprogram arrangements
- G06F 9/30021: {Compare instructions, e.g. Greater-Than, Equal-To, MINMAX}
- G06F 9/30029: {Logical and Boolean instructions, e.g. XOR, NOT}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06Q 20/065: {using e-cash}
- G06Q 20/3827: {Use of message hashing}
- G06Q 20/3829: {involving key management}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3066: {involving algebraic varieties, e.g. elliptic or hyper-elliptic curves}
- H04L 9/321: {involving a third party or a trusted authority}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 9/3252: {using DSA or related signature schemes, e.g. elliptic based signatures, ElGamal or Schnorr schemes}
- G06F 21/6236: {between heterogeneous systems}
- G06Q 2220/00: Business processing using cryptography
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 2209/56: Financial cryptography, e.g. electronic payment or e-cash
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The invention presents a solution in which blockchain transactions are created to implement the functionality of a logic gate. The invention may be implemented on the Bitcoin platform or an alternative blockchain platform. The transaction includes a locking script which comprises instructions to process Boolean inputs and implement the functionality of a logic gate, such as the XOR gate. When the script is executed, the inputs will be evaluated, using computing agents, to provide an output of TRUE or FALSE, and the output will be subsequently provided to an unlocking script associated with a second transaction attempting to spend the output associated with the locking script. The second transaction is transmitted to the blockchain network for validation and, if determined to be valid (evaluated to a TRUE output), it will be written to the blockchain. Thus, the locking script of the first transaction provides the functionality.

## Claims

### Claim 1

A computer-implemented control method comprising the steps of:
providing a locking script in a first blockchain transaction, the locking script comprising at least one instruction arranged to:
process a plurality of Boolean inputs; and
implement functionality of a logic gate;
wherein the plurality of Boolean inputs is provided as a result of using at least one computing resource or agent to process at least one input signal, providing a further blockchain transaction having an unlocking script;
using the plurality of Boolean inputs to execute the locking and unlocking scripts of the first and further blockchain transactions transmitting the further blockchain transaction and/or the first blockchain transaction to a blockchain network for validation; and
providing a computing resource arranged to influence a behavior of an off-block process based upon:
detection of the further blockchain transaction within a blockchain or blockchain network; and/or
the validity of the further blockchain transaction.

### Claim 2 (depends on 1)

A method according to claim 1 wherein the logic gate is one or more of an OR gate, XOR gate, NAND gate, NOR gate, a NOT gate, an XNOR gate, an IMPLY gate, and a Converse implication gate.

### Claim 3

(canceled)

### Claim 4 (depends on 1)

A method according to claim 1, wherein the step of processing the at least one input signal to provide the plurality of Boolean inputs is performed by at least one computing resource or agent prior to providing them to the locking script.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

A method according to claim 1 and comprising the step of:
monitoring or searching the blockchain or blockchain network to determine a presence or absence of the further blockchain transaction.

### Claim 7

(canceled)

### Claim 8 (depends on 1)

A method according to claim 1 and comprising the steps of:
interpreting the detecting of the further blockchain transaction within the blockchain or blockchain network as a TRUE output of a logic gate.

### Claim 9 (depends on 1)

A method according to claim 1 wherein validation of the further blockchain transaction within a blockchain network is dependent upon the execution of the unlocking script.

### Claim 10 (depends on 1)

A method according to claim 1 and comprising the step of:
controlling a device or process based upon the validity of the further blockchain transaction, wherein the validity is determined or established by a computer-based control agent, or by monitoring the blockchain network to determine if it has been validated by a network node, and/or by monitoring a state of the blockchain to determine whether the further transaction has been written to the blockchain.

### Claim 11 (depends on 1)

A method according to claim 1 wherein the at least one input signal comprises a numeric value, a constant value, a result of a hash function, a cryptographic key, a blockchain puzzle, and/or a Bitcoin other blockchain-related address.

### Claim 12 (depends on 1)

A method according to claim 1 wherein the first and/or further blockchain transaction is generated and/or transmitted to a blockchain network by an automated process executing on a computing-based resource.

### Claim 13 (depends on 1)

A method according to claim 1 wherein the at least one instruction:
comprises a Boolean condition or operator; and/or
is written and/or executed using a stack-based programming language.

### Claim 14 (depends on 1)

A computer implemented system arranged to implement a method of claim 1.

### Claim 15

(canceled)

### Claim 16

(canceled)
