Patent ID: 11888985
Assignee: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Field: Digital communication (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 0:
1. A blockchain system comprising:
a registration terminal, including one or more central processing units of a hardware processor, for registering a smart contract; and
an approval terminal, including one or more central processing units of a hardware processor, for approving the smart contract, wherein
the registration terminal is configured to:
compile a script code of the smart contract into a bytecode;
analyze syntax of the script code to extract application binary interface (ABI) information used to access the bytecode of the smart contract, and
issue a transaction including (i) the bytecode generated by compiling the script code of the smart contract, (ii) the extracted ABI information, and (iii) the script code of the smart contract, and

the approval terminal is configured to:
receive the transaction including (i) the bytecode generated by compiling the script code of the smart contract, (ii) the extracted ABI information, and (iii) the script code of the smart contract;
verify a validity of the extracted ABI information included in the transaction by checking a validity of a correspondence between the bytecode and the ABI information included in the transaction, wherein the checking comprises verifying names and types of variables in the extracted ABI information using the bytecode and the extracted ABI information; and
in response to the validity of the extracted ABI information included in the transaction having been verified, remove the script code of the smart contract from the transaction, and generate a block including the transaction and make the block and the ABI information reflected on a distributed ledger of each terminal in the blockchain system.