# US 2022/0284420 A1 · Smart contract executed within a blockchain

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

- Number: US 2022/0284420 A1
- Document ID: US20220284420A1
- Status: Published application
- Kind: A1
- Application number: 17/824,908
- Filed: 2022-05-26
- Published: 2022-09-08
- Earliest claimed: 2018-04-17
- Assignees: Lendoit Technologies Israel Ltd.
- Applicants: Lendoit Technologies Israel Ltd.
- Inventors: Avi BEN-DAVID; Vladislav AMIROV; Ori EREZ; Yoav PINKAS
- Web page: https://patentgrep.com/patent/US20220284420A1

## CPC

- G06Q 20/3678: {e-cash details, e.g. blinded, divisible or detecting double spending}
- G06Q 20/0658: {e-cash managed locally}
- G06Q 20/3674: {involving authentication}
- G06Q 20/3829: {involving key management}
- G06Q 40/03: Credit; Loans; Processing thereof
- G06Q 40/04: Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
- H04L 9/006: {involving public key infrastructure [PKI] trust models (network architecture or network communication protocol for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- 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/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 63/126: {the source of the received data}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06Q 2220/00: Business processing using cryptography
- 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

There is provided a method and system for selection of response message(s), comprising: receiving from an initiator client terminal a function message including an unencrypted target value and a public key, receiving respective response messages to the function message from responding client terminals, each respective response comprising an unencrypted partial value of the target value and a parameter encrypted with the pubic key, receiving, from the initiator client terminal, a selection of response message(s) according to a ranking of the encrypted parameters, wherein a sum of the unencrypted partial values of the selected response message(s) is according to a requirement of the target value, and receiving a validation for the selected response message(s) from corresponding responding client terminals, wherein each of the corresponding responding client terminals is provided with all partial values and all unencrypted parameters associated with all of the selected response message(s).

## Claims

### Claim 1

A system for decentralized blockchain based selection of at least one response message, comprising:
a processor of a server executing a code of a smart contract of a blockchain, for:
receiving from an initiator client terminal, a total amount of a functional message;
receiving from a plurality of responding client terminals, a plurality of response messages each comprising a partial amount for the functional message;
locking the partial amounts;
receiving from the initiator client terminal, at least one selected response message selected from the plurality of response messages;
receiving from a subset of the plurality of responding client terminals, an indication of an independently performed validation of the at least one selected response message;
evaluating a consensus according to the validations;
in response to the consensus meeting a requirement, unlocking the partial amounts for access by the initiator client terminal; and
creating a new block for the blockchain documenting the consensus.

### Claim 2 (depends on 1)

The system of claim 1, wherein the decentralized blockchain based selection is for resolution of a tender, wherein the functional message indicates the tender, wherein the partial amounts that are locked and unlocked comprise funds for the tender.

### Claim 3 (depends on 1)

The system of claim 1, wherein the total amount received from the initial client terminal is an unencrypted target value.

### Claim 4 (depends on 2)

The system of claim 2, wherein the functional message defines a loan, wherein the decentralized blockchain based selection is for management of a loan, and further comprising receiving in association with the total amount of the loan, a public key associated with a corresponding private key stored by the initiator client terminal, wherein an interest rate for the partial amount of funds received in a response message is encrypted by a responding client terminal using the public key.

### Claim 5 (depends on 2)

The system of claim 2, further comprising storing an unencrypted indication of the partial amount of funds of each response message and the associated encrypted interest rate, and providing the initiator client terminal with access to the stored unencrypted indication and encrypted interest rate.

### Claim 6 (depends on 4)

The system of claim 4, further comprising providing client code for execution by a processor of the initial client terminal for performing computations off the blockchain, for: decrypting the interest rate of each response message with the private key, analyzing the response messages according to a ranking of the decrypted interest rates, and selecting the at least one response message according to the ranking of the decrypted interest rates.

### Claim 7 (depends on 4)

The system of claim 4, further comprising providing at least one of the following to the plurality of client terminals for performing the validation: (i) the at least one selected response message, (ii) all decrypted interest rates, and (iii) all unencrypted indications of partial amounts of funds.

### Claim 8 (depends on 4)

The system of claim 4, wherein the new block new block stores, for each of the selected at least one response messages from corresponding responding client terminals providing the indication of validation, the address of the respective responding client terminal, the partial amount of the loan, and the unencrypted interest rate.

### Claim 9 (depends on 2)

The system of claim 2, wherein the funds are locked until at least one of: the tender is announced, and the tender times out without winners.

### Claim 10 (depends on 1)

The system of claim 1, wherein the consensus is evaluated according to a majority vote computed as a number of indications of received validations relative to a total number of responding client terminals that were provided the at least selected response message for validation.

### Claim 11 (depends on 10)

The system of claim 10, wherein in response to the consensus meeting a requirement comprises in response to the majority vote percentage being above a majority vote threshold.

### Claim 12 (depends on 1)

The system of claim 1, wherein the indication of the independently performed validation of the at least one selected response message is from the subset of the plurality of responding client including selected responding client terminals that provided the selected at least one response message and non-selected responding client terminals that provided non-selected response messages.

### Claim 13 (depends on 2)

The system of claim 2, wherein unlocking comprises unlocking locked funds provided for the tender for access by non-selected responding client terminals for return of non-selected tenders.

### Claim 14 (depends on 13)

The system of claim 13, further comprising unlocking partial funds for access by each selected responding client terminals, wherein the partial funds denote a portion of the funds not included as the tender for the initiator client terminal.

### Claim 15 (depends on 1)

The system of claim 1, further comprising: computing a hash value based on an indication of each of the at least one selected response message, wherein the hash value is provided to the plurality of client terminals for local computation of the hash value for matching to the provided hash value for validation of the at least one selected response message.

### Claim 16 (depends on 1)

The system of claim 1, wherein the partial amounts comprises funds, wherein the funds are provided to the smart contract by each of the responding client terminals that execute a transmit function of an application programming interface (API) that accesses a respective digital wallet of the plurality of responding client terminals and transmits the funds to the smart contract function code, and the unlocked funds are accessed by the initiator client terminal executing a get function of the API for obtaining the funds from the smart contract function code into a digital wallet of the initiator client terminal.

### Claim 17 (depends on 1)

The system of claim 1, further comprising unlocking the partial amounts for retrieval by the plurality of responding client terminals when a set-of-rules is met, wherein the set-of-rules include at least one of: no selection is made, an amount of received indication of validation is below a threshold provided by the initiator client terminal, and partial amounts are not claimed by the initiator client terminal within a defined time interval.

### Claim 18 (depends on 1)

The system of claim 1, wherein the response messages received from the plurality of responding client terminals are accessible to the initiator client terminal when a timeout duration provided has expired.

### Claim 19

A method for decentralized blockchain based selection of at least one response message, comprising:
using a processor of a server executing a code of a smart contract of a blockchain, for:
receiving from an initiator client terminal, a total amount of a functional message;
receiving from a plurality of responding client terminals, a plurality of response messages each comprising a partial amount for the functional message;
locking the partial amounts;
receiving from the initiator client terminal, at least one selected response message selected from the plurality of response messages;
receiving from a subset of the plurality of responding client terminals, an indication of an independently performed validation of the at least one selected response message;
evaluating a consensus according to the validations;
in response to the consensus meeting a requirement, unlocking the partial amounts for access by the initiator client terminal; and
creating a new block for the blockchain documenting the consensus.

### Claim 20

A non-transitory medium storing program instructions for arrangement of a loan, which, when executed by at least one processor of a server executing a code of a smart contract of a blockchain, cause the at least one processor to:
receive from an initiator client terminal, a total amount of a functional message;
receive from a plurality of responding client terminals, a plurality of response messages each comprising a partial amount for the functional message;
lock the partial amounts;
receive from the initiator client terminal, at least one selected response message selected from the plurality of response messages;
receive from a subset of the plurality of responding client terminals, an indication of an independently performed validation of the at least one selected response message;
evaluate a consensus according to the validations;
in response to the consensus meeting a requirement, unlock the partial amounts for access by the initiator client terminal; and
create a new block for the blockchain documenting the consensus.
