Abstract: |
A computer-implemented method includes: in response to a first client device invoking a transaction with respect to a target smart contract, obtaining, by a blockchain node device in a blockchain, encrypted contract codes of the target smart contract; transmitting the encrypted contract codes of the target smart contract to a trusted execution environment; in response to determining that the target smart contract is not a managed smart contract, extracting a decryption key stored in the trusted execution environment, in which the decryption key corresponds to the encrypted contract codes of the target smart contract; decrypting the encrypted contract codes of the target smart contract; executing the decrypted contract codes of the target smart contract in the trusted execution environment; encrypting the execution result; and transmitting the encrypted execution result to the distributed ledgers of the blockchain for storage. |
Inventor: |
Wei, Changzheng (Hangzhou, CN); Yan, Ying (Hangzhou, CN) |
Applicant: |
Alibaba Group Holding Limited (George Town, KY) |
Face Assignee: |
Alibaba Group Holding Limited (George Town, KY) |
Filed: |
2020-01-30 |
Issued: |
2020-05-28 |
Claims: |
20 |
|
US20200167503
|
1. A computer-implemented method comprising:
(4)
(9)
|
|
8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
(4)
(9)
|
|
15. A computer-implemented system, comprising:
(4)
(2)
|
|