CPC G06Q 50/18 (2013.01) [G06F 16/2379 (2019.01); H04L 9/32 (2013.01)] | 18 Claims |
1. A method comprising:
establishing a contract, which comprises generating a set of programmable clauses for the contract by implementing a template model, the template model for each programmable clause of the set of programmable clauses comprising:
a template request defining data necessary to execute the programmable clause; and
a template response defining data output by the programmable clause responsive to the template request;
operating a blockchain network between participants, wherein the blockchain network is configured with an application model that maps to the template model;
updating a contract state of the contract;
recording a first update to the blockchain network according to the application model;
in response to at least one update to the contract state, recording an update to the blockchain network; and
in response to at least one contract-associated update in the blockchain network:
providing, based on the template request of at least one programmable clause, an external input from the blockchain network to the at least one programmable clause of the contract;
initiating execution of the at least one programmable clause of the contract using the external input; and
recording a second update, based on the template response of the at least one programmable clause, to the blockchain network.
|