Beginning Ethereum Smart Contracts Programming by Wei-Meng Lee

Beginning Ethereum Smart Contracts Programming by Wei-Meng Lee

Author:Wei-Meng Lee
Language: eng
Format: epub
ISBN: 9781484250860
Publisher: Apress


Getting the ABI and Bytecode of the Contract

Now that the contract has been tested to work correctly, it is time to test it on a real blockchain. But before you do it, there is something else you need to understand. When a contract is compiled, there are two items of interest:ABI (application binary interface) – The ABI is a JSON string that describes the makeup of the contract – the functions as well as the parameter types of each function.

Bytecode – When a contract is compiled, it is compiled into opcodes (think of opcode as the assembly language for your computer). Each opcode has its hexadecimal counterparts. The bytecode is basically a collection of each opcode’s hexadecimal representation.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.