# US 11,120,437 B2 · Registry and automated management method for blockchain-enforced smart contracts

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

- Number: US 11,120,437 B2
- Document ID: US11120437B2
- Status: Granted
- Kind: B2
- Application number: 16/078,605
- Filed: 2017-02-16
- Published: 2019-02-21
- Granted: 2021-09-14
- Earliest claimed: 2016-02-23
- Assignees: nChain Holdings Limited
- Applicants: nChain Holdings Limited
- Inventors: Craig Steven Wright; Stephane Savanah
- Web page: https://patentgrep.com/patent/US11120437B2

## CPC

- G06Q 20/3829: {involving key management}
- G06Q 20/02: involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06Q 20/3678: {e-cash details, e.g. blinded, divisible or detecting double spending}
- G06Q 20/3827: {Use of message hashing}
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0836: {using tree structure or hierarchical structure}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- 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/3236: {using cryptographic hash functions}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 9/3247: {involving digital signatures}
- G06Q 2220/00: Business processing using cryptography
- G06Q 2220/12: Usage or charge determination
- 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The invention relates to the fields of tokenisation, blockchain and smart contract technologies. It provides a technical arrangement which simplifies the automated management of contracts. The invention comprises a method and system which use a computer-based repository for storage of the contract. The contract is then represented by a transaction on the blockchain. Metadata within the transaction's script includes a hash of the contract and a means of identifying its location within the repository. The transaction also includes an unspent output (UTXO) which indicates its status as an open (ie not terminated) contract. The contract is terminated by spending the output at a later point in time, for example, using n Lock Time+Check Lock Time Verify (CLTV). By combining this concept with other techniques and computing components, the invention can provide a powerful mechanism for implementing various tasks such as renewing or rolling over the contract, or dividing it into sub-contracts or conditions. Furthermore, as the status and existence of the contract is evidence via the blockchain, this provides a permanent, publicly visible and non-alterable record of the contract.

## Claims

### Claim 1

A computer-implemented method of controlling the visibility and/or performance of a contract, the method comprising:
(a) storing a contract on or in a computer-based repository;
(b) broadcasting a transaction to a blockchain, the transaction comprising:
i) at least one unspent output (UTXO); and
ii) metadata comprising an identifier indicative of a location where the contract is stored;
(c) interpreting the contract as open or valid until the unspent output (UTXO) is spent on the blockchain; and
(d) renewing or rolling the contract on by:
generating a new key using data relating to a previous key associated with the contract;
generating a script comprising the new key, the location of the contract and a hash of the contract; and
paying an amount of currency to a transaction comprising the script.

### Claim 2 (depends on 1)

A method according to claim 1 wherein the transaction further comprises a deterministic redeem script address, wherein the redeem script address is a pay-to-script-hash (P2SH) address.

### Claim 3 (depends on 2)

A method according to claim 2 and further comprising the step of terminating the contract by broadcasting a further transaction to the blockchain to spend the output (UTXO).

### Claim 4 (depends on 3)

A method according to claim 3 wherein the further transaction comprises:
an input which is the output (UTXO); and
an unlocking script comprising a signature; the metadata; and a public key.

### Claim 5 (depends on 1)

A method according to claim 1 wherein the contract defines:
i) at least one condition; and
ii) at least one action whose performance is dependent upon the evaluation of the condition; and/or
wherein the metadata comprises:
i) an address or representation of an address of where the contract is stored in the computer-based repository; and/or
ii) a hash of the contract.

### Claim 6 (depends on 1)

A method according to claim 1 and comprising:
checking whether the contract has been terminated by determining whether the UTXO is in a list of unspent transaction outputs for the blockchain.

### Claim 7 (depends on 1)

A method according to claim 1, wherein:
i) the contract is stored in a Distributed Hash Table (DHT); and/or
ii) the method comprises:
broadcasting a transaction to the blockchain comprising an instruction to spend the output at a specified date and/or time, wherein the instruction is a ChecklockTimeVerify instruction.

### Claim 8 (depends on 1)

A method according to claim 1 wherein:
i) access to some or all of the contents of the contract is restricted to at least one designated authorised party; and/or
ii) the contract comprises a Deterministic Finite Automaton (DFA) to implement the contract;
wherein the Deterministic Finite Automaton is defined using a codification scheme.

### Claim 9 (depends on 8)

A method according to claim 8 wherein the Deterministic Finite Automaton is implemented using:
i) at least one blockchain transaction, using a scripting language;
ii) a computing agent arranged to monitor the state of the blockchain; and/or
iii) a set of instructions for a digital wallet.

### Claim 10

A system, comprising:
one or more processors; and
memory storing instructions that, as a result of execution by the one or more processors, cause the system to:
(a) store a contract on or in a computer-based repository;
(b) broadcast a transaction to a blockchain, the transaction comprising:
i) at least one unspent output (UTXO); and
ii) metadata comprising an identifier indicative of a location where the contract is stored;
(c) interpret the contract as open or valid until the unspent output (UTXO) is spent on the blockchain; and
(d) renew or rolling the contract on by:
generating a new key using data relating to a previous key associated with the contract;
generating a script comprising the new key, the location of the contract and a hash of the contract; and
paying an amount of currency to a transaction comprising the script.
