IP Library Granted Patent US 11,042,400
Granted Patent B1
US 11,042,400 · App. 17/177,110 · Granted Jun 22, 2021

Language agnostic smart contract execution on a blockchain

Inventor: Ian Holsman (Minneapolis, MN)
Assignee: block.one
G06F9/45558G06F8/33G06F21/53H04L9/0643G06F2009/45562G06F2009/45587G06F2221/2141G06F2221/2149H04L2209/38
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,042,400
App. No.
17/177,110
Granted
Jun 22, 2021
Kind
B1
Abstract

A method for providing a language agnostic contract execution on a blockchain is provided. The method includes providing a menu comprising multiple execution environments, and selecting, from a suite of virtual machine containers, a virtual machine container that runs an execution environment selected by the developer of the blockchain application. The method also includes enabling one or more functions in the virtual machine container to access a dedicated memory or a state variable in the block producer to run an action in the virtual machine container, the action provided by a server running the blockchain application, providing the action to the blockchain application in the virtual machine container, and writing an output from the action of the blockchain application to a secure ledger in a blockchain. A system and a non-transitory, computer-readable medium storing instructions to perform the above method are also provided.

Claims (39)

1. A computer-implemented method for smart contract execution on a blockchain, comprising:

providing, to a developer of a blockchain application accessed by a block producer, a menu comprising a list of multiple execution environments that includes at least different versions of a same execution environment, wherein the blockchain application is hosted by a server as an immutable register or a smart contract in a suite of virtual machine containers in the execution environments within the block producer in the server;

selecting, from the suite of virtual machine containers, a virtual machine container that runs an execution environment selected by the developer of the blockchain application from the menu;

enabling one or more functions in the virtual machine container to access a dedicated memory or a state variable in the block producer to run an action in the virtual machine container, the action provided by the server running the blockchain application for allowing the server to access the dedicated memory or the state variable from the one or more functions of the blockchain application executable in the virtual machine container provided by the server;

providing the action to the blockchain application in the virtual machine container;

preventing access to the blockchain application with a security feature in an associated virtual machine container; and

writing an output from the action of the blockchain application to a secure ledger in a blockchain, wherein providing the menu comprising the list of multiple execution environments comprises providing the menu including at least one of Javascript Virtual Machine, native, and C++ execution environments.

2. The computer-implemented method of claim 1 , wherein enabling one or more functions to access a dedicated memory space comprises executing a software development kit to access the state variable and a library accessible to the developer of the blockchain application.

3. The computer-implemented method of claim 1 , further comprising preventing access to the blockchain application by a third party with a security feature in the virtual machine container.

4. The computer-implemented method of claim 1 , wherein selecting a virtual machine that runs an execution environment selected by the developer comprises detecting the execution environment from a format of a header in a code script provided by the developer.

5. The computer-implemented method of claim 1 , wherein selecting a virtual machine container that runs an execution environment selected by the developer of the blockchain application comprises selecting the virtual machine container that runs an updated version of the execution environment selected by the developer.

6. The computer-implemented method of claim 1 , further comprising searching for a virtual machine container that runs an execution environment requested by the developer.

7. The computer-implemented method of claim 1 , further comprising configuring a virtual machine container to run an execution environment requested by the developer.

8. The computer-implemented method of claim 1 , further comprising allowing the server to access an updated value of the state variable from the blockchain application.

9. A system for smart contract execution on a blockchain, comprising:

a memory configured to store instructions; and

one or more hardware processors configured to execute the instructions to cause the system to:

provide, to a developer of a blockchain application accessed by a block producer, a menu comprising a list of multiple execution environments that includes at least different versions of a same execution environment, wherein the blockchain application is hosted by a server as an immutable register or a smart contract in a suite of virtual machine containers in the execution environments within the block producer in the server;

select, from the suite of virtual machine containers, a virtual machine container that runs an execution environment selected by the developer of the blockchain application from the menu;

enable one or more functions in the virtual machine container to access a dedicated memory or a state variable in the block producer to run an action in the virtual machine container, the action provided by the server running the blockchain application to allow the server to access the dedicated memory or the state variable from the one or more functions of the blockchain application executable in the virtual machine container provided by the server;

provide the action to the blockchain application in the virtual machine container;

prevent access to the blockchain application with a security feature in an associated virtual machine container; and

write an output from the action of the blockchain application to a secure ledger in a blockchain, wherein providing the menu comprising the list of multiple execution environments comprises providing the menu including at least one of Javascript Virtual Machine, native, and C++ execution environments.

10. The system of claim 9 , wherein enabling one or more functions to access a dedicated memory space comprises executing a software development kit to access the state variable and a library accessible to the developer of the blockchain application.

11. The system of claim 9 , further comprising preventing access to the blockchain application by a third party with a security feature in the virtual machine container.

12. The system of claim 9 , wherein selecting a virtual machine that runs an execution environment selected by the developer comprises detecting the execution environment from a format of a header in a code script provided by the developer.

13. A non-transitory, computer-readable storage medium storing instructions which, when executed by a hardware processor, cause a computer to perform a method for smart contract execution on a blockchain, the method comprising:

providing, to a developer of a blockchain application accessed by a block producer, a menu comprising a list of multiple execution environments that includes at least different versions of a same execution environment, wherein the blockchain application is hosted by a server as an immutable register or a smart contract in a suite of virtual machine containers in the execution environments within the block producer in the server;

selecting, from the suite of virtual machine containers, a virtual machine container that runs an execution environment selected by the developer of the blockchain application from the menu;

enabling one or more functions in the virtual machine container to access a dedicated memory or a state variable in the block producer to run an action in the virtual machine container, the action provided by the server running the blockchain application for allowing the server to access the dedicated memory or the state variable from the one or more functions of the blockchain application executable in the virtual machine container provided by the server;

providing the action to the blockchain application in the virtual machine container;

preventing access to the blockchain application with a security feature in an associated virtual machine container; and

writing an output from the action of the blockchain application to a secure ledger in a blockchain, wherein:

providing the menu comprising a list of the execution environments comprises providing the menu including at least one of a javascript virtual machine, native, and C++ execution environments, and

providing the menu comprising a list of the execution environments comprises providing the menu including one or more versions of the same execution environment.

14. The non-transitory, computer-readable storage medium of claim 13 wherein, in the method, enabling one or more functions to access a dedicated memory space comprises executing a software development kit to access the state variable and a library accessible to the developer of the blockchain application.

15. The non-transitory, computer-readable storage medium of claim 13 , wherein the method further comprises preventing access to the blockchain application by a third party with a security feature in the virtual machine container.

16. The non-transitory, computer-readable storage medium of claim 13 wherein, in the method, selecting a virtual machine that runs an execution environment selected by the developer comprises detecting the execution environment from a format of a header in a code script provided by the developer.

17. The non-transitory, computer-readable storage medium of claim 13 , wherein the method further comprises at least one of searching for a virtual machine container that runs an execution environment requested by the developer of the blockchain application, or configuring a virtual machine container to run an execution environment requested by the developer of the blockchain application.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 22, 2022
From: BLOCK.ONE
To: BULLISH GLOBAL
Reel/Frame 059068/0568 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 17, 2021
From: BLOCK.ONE LLC
To: BLOCK.ONE
Reel/Frame 058144/0296 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2021
From: HOLSMAN, IAN
To: BLOCK.ONE LLC
Reel/Frame 055378/0026 →
Cited By (1)
US 12,204,670