Patent ID: 11509482

Abstract:
The invention relates to distributed ledger technologies such as consensus-based blockchains. Computer-implemented methods for parameterized smart contracts are described. The invention is implemented using a blockchain network, which may be, for example, a Bitcoin blockchain. A first transaction is received at a node in a blockchain network to validate, with the first transaction including a first script that, as a result of being executed, causes the node to at least obtain data and a first set of field values of the first transaction. A second transaction is obtained, with the second transaction including a second script that, as a result of being executed, causes the node to at least determine, based at least in part on the data supplied as a result of execution of the first script, a set of constraints, and verify, based at least in part on the first set of field values, that the set of constraints are applicable to the first transaction. The first transaction is validated according to the set of constraints as a result of execution of the first script and the second script.