Java access to Ethereum
Blockchain projects require high efficiency, so most of the core source code development is using C / C + +. However, if you are doing a blockchain project, unless you need to make a lot of adjustments to the source code, you may not choose to use Java. For general DAPP applications, java development should also be a good choice. For example, in the case of Ethereum blockchain, there is a web3j class library for Java, which is very convenient; Bitcoin has bitcoin J class library, which is also easy to use. It still depends on the level of application, what to do, and the situation of the team
share two Java blockchain tutorials:
-
java bitcoin details
-
java Ethereum development
< / OL >
java_ The home value is: the directory where JDK is installed, and mine is C: 92; Program Files\ Java\ jdk1.6.0_ 34
the classpath value is:;% JAVA_ HOME%\ lib\ tools.jar;% JAVA_ HOME%\ lib\ dt.jar;% JAVA_ HOME%\ bin;( Pay attention to the & quot& quot; To add)
Path: append at the beginning.;% JAVA_ HOME%\ bin;% JAVA_ HOME%\ jre\ bin;( Pay attention to the & quot& quot; To add)
after the installation, you can check whether the JDK is installed successfully. Open the CMD window and enter Java – version to view the version information of JDK.
Ruitai coin has not been launched on the third-party platform, but it is rumored that it will also be launched on the third-party platform.
Generally speaking, the steps of deploying smart contract are as follows:
-
start an Ethereum node (such as geth or testrpc)
-
use Solc to compile smart contracts=& gt; Get the binary code
-
deploy the compiled contract to the network This step will consume Ethernet currency, and you need to use the default address or specified address of your node to sign the contract.)=& gt; Get the blockchain address and ABI of the contract (JSON representation of the contract interface, including variables, events and callable methods) The author confused ABI with contract interface here. ABI is the binary representation of the contract interface.)
-
use the JavaScript API provided by web3.js to call the contract Depending on the type of call, it may consume Ethernet currency.)
click I to insert status
Add
IPADDR = CCC. CCC. VVV. BBB
Press ESC
Enter: WQ carriage return end (colon also needs to be entered)
need to restart the service to set the IP
command to
service network restart
that I also do java
I get there Now I haven't heard that Java can change IP.
I've only heard of detecting IP to get IP.. These
as for modifying IP, I've never heard of them.
you've seen. Net modify its own IP
I haven't seen it either
