Skip to content

elastos/Elastos.ELA.Utilities.Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastos.ELA.Utilities.Java

  • 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

Interface documentation

JAR package

  • 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/

generate jar package

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

notice

 - 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'