# US 2021/0342329 A1 · System or method to run distributed validation of workflows across a network in a shared distributed ledger in multi-tenant cloud environment

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

- Number: US 2021/0342329 A1
- Document ID: US20210342329A1
- Status: Published application
- Kind: A1
- Application number: 16/866,486
- Filed: 2020-05-04
- Published: 2021-11-04
- Earliest claimed: 2020-05-04
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Prithvi Krishnan Padmanabhan
- Web page: https://patentgrep.com/patent/US20210342329A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06F 16/28: Databases characterised by their database models, e.g. relational or object models
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- 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

A method of distributed smart contract deployment in a multi-tenant environment implemented by a computing device. The method including receiving a smart contract source, converting the smart contract source to a smart contract code for a tenant of the multi-tenant environment, the smart contract code to manage blockchain data transaction validation, and installing the smart contract code at the tenant to enforce logic of the smart contract source at the tenant in the multi-tenant environment.

## Claims

### Claim 1

A method of distributed smart contract deployment in a multi-tenant environment implemented by a computing device, the method comprising:
receiving a smart contract source;
converting the smart contract source to a smart contract code for a tenant of the multi-tenant environment, the smart contract code to manage blockchain data transaction validation; and
installing the smart contract code at the tenant to enforce logic of the smart contract source at the tenant in the multi-tenant environment.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
converting the smart contract source to a smart contract code for non-tenants of the multi-tenant environment; and
sending the smart contract code to the non-tenants to install.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining members of a blockchain to receive the smart contract code.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
converting a smart contract source to a smart contract package including metadata and virtual objects to implement the smart contract in the multi-tenant environment.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
adding the smart contract to the blockchain in parallel to the installing the smart contract code at the tenant.

### Claim 6

A method of distributed smart contract enforcement in a multi-tenant environment implemented by a computing device, the method comprising:
initiate execution of a smart contract code at a tenant of the multi-tenant environment to evaluate a transaction;
determining whether conditions of a smart contract associated with the smart contract code are met; and
rejecting the transaction by the smart contract code in response to the conditions not being met.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
sending the transaction to be processed by a blockchain in response to the conditions being met.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
receiving an indication of approval or rejection of the transaction from the blockchain.

### Claim 9 (depends on 6)

The method of claim 6, wherein the smart contract code is part of a smart contract package with metadata and virtual objects to implement the smart contract code.

### Claim 10 (depends on 6)

The method of claim 6, wherein the smart contract code includes logic to implement the associated smart contract at the tenant.

### Claim 11

A computing device configured to execute a smart contract deployment service in a multi-tenant environment, the computing device comprising:
a non-transitory computer readable medium having stored therein the smart contract deployment service; and
a processor coupled to the non-transitory computer readable medium, the processor configured to execute the smart contract deployment service, the smart contract deployment service to receive a smart contract source, convert the smart contract source to a smart contract code for a tenant of the multi-tenant environment, the smart contract code to manage blockchain data transaction validation, and to install the smart contract code at the tenant to enforce logic of the smart contract source at the tenant in the multi-tenant environment.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein in the smart contract deployment service to convert the smart contract source to a smart contract code for non-tenants of the multi-tenant environment, and to send the smart contract code to the non-tenants to install.

### Claim 13 (depends on 11)

The computing device of claim 11, wherein in the smart contract deployment service to determine members of a blockchain to receive the smart contract code.

### Claim 14 (depends on 11)

The computing device of claim 11, wherein in the smart contract deployment service to convert a smart contract source to a smart contract package including metadata and virtual objects to implement the smart contract in the multi-tenant environment.

### Claim 15 (depends on 11)

The computing device of claim 11, wherein in the smart contract deployment service to add the smart contract to the blockchain in parallel to the installing the smart contract code at the tenant.

### Claim 16

A computing device configured to execute a smart contract enforcement process, the computing device comprising:
a non-transitory computer readable medium having stored therein a smart contract enforcement service; and
a processor coupled to the non-transitory computer readable medium, the processor configured to execute the smart contract enforcement service, the smart contract enforcement service to initiate execution of a smart contract code at a tenant of the multi-tenant environment to evaluate a transaction, to determine whether conditions of a smart contract associated with the smart contract code are met, and reject the transaction by the smart contract code in response to the conditions not being met.

### Claim 17 (depends on 16)

The computing device of claim 16, wherein the smart contract enforcement service to send the transaction to be processed by a blockchain in response to the conditions being met.

### Claim 18 (depends on 17)

The computing device of claim 17, wherein the smart contract enforcement service to receive an indication of approval or rejection of the transaction from the blockchain.

### Claim 19 (depends on 16)

The computing device of claim 16, wherein the smart contract code is part of a smart contract package with metadata and virtual objects to implement the smart contract code.

### Claim 20 (depends on 16)

The computing device of claim 16, wherein the smart contract code includes logic to implement the associated smart contract at the tenant.
