- Elastos.ELA.Utilities.Java is a tool for generating transaction signature,there are two forms of signature,one is to call the API,the other one is the web request
- start command : java -cp Elastos.ELA.Utilities.Java.jar org.elastos.elaweb.HttpServer
- suggestion:java version "1.8.0_161"
- local IP : http://127.0.0.1:8989/
File -> Project Structure -> Artifacts -> + -> JAR -> From modules with
1、-> Main Class
2、-> extract to the target JAR
3、-> META-INF PATH (C:\DNA\src\ela_tool\src\main\resources)
4、ok -> Include in project build -> Apply ->ok
run : java -cp Elastos.ELA.Utilities.Java.jar org.elastos.elaweb.HttpServer
- Execute the following command in the JAR directory to avoid invalid signature file exception information.
- Execute : zip -d Elastos.ELA.Utilities.Java.jar 'META-INF/*.SF' 'META-INF/*.RSA' 'META-INF/*SF'