Current location - Quotes Website - Signature design - How to call eth's smart contract with java
How to call eth's smart contract with java
Generally speaking, the steps of deploying smart contracts are:

Start an Ethernet node (such as geth or testrpc).

Compile smart contract with solc. => get binary code.

Deploy the compiled contract to the network. (This step will consume etheric currency, and you need to use the default address of your own node or specify the address to sign the contract. ) => Get the blockchain address and ABI (JSON representation of contract interface, including variables, events and methods that can be called) of the contract. (Note: The author confuses ABI and contract interface here. ABI is the binary representation of the contract interface. )

Call the contract with JavaScript API provided by web3.js (depending on the call type, it may consume Ethernet currency. )