@@ -11,19 +11,13 @@ https://github.com/SimplyUb/MultiChainJavaAPI
1111
1212### System requirements
1313
14- These compilation instructions have been tested on Ubuntu 12.4 x64 only with Java 1.7.0_80
14+ These compilation instructions have been tested on Windows 7.0 and Ubuntu 12.4 x64 only with Java 1.7.0_80
1515
1616
17- ## Linux Build Notes (on Ubuntu 12.4 x64 only with Java 1.7.0_80)
18-
19- ### ClassPath dependencies
17+ ## Dependecies
2018
2119 * Java 1.7.0 is needed, upper version should be compatible
22- * Project uses [Gson API](https://github.com/google/gson)
23-
24- ### Notes
25-
26- * The classpath file is called "project.classpath" and has to ne rename in ".classpath" for compilation.
20+ * All other depencies are managed by Maven.
2721
2822## Architecture
2923
@@ -39,20 +33,24 @@ Next versions will decide to integrate (or not) theses commands.
3933
4034### Project Architecture
4135
42- #### multichain.command
43- The package ` multichain.command ` is the essential of the project.
44- The package contains Java commands to call.
36+ #### multichain.command and MultiChainCommand
37+ The package multichain.command and the Class ` MultiChainCommand ` are the essential of the project.
38+ They contain Java commands to call.
4539
4640Examples of command calls can be found in ` multichain.test.command ` .
4741
4842A simple example to get addresses :
4943```
50- //BlockChain TestCommand has to be created and started before
51- ChainCommand.initializeChain("TestCommand");
44+ //BlockChain has to be created and started before
45+ multiChainCommand = new MultiChainCommand("localhost", "6824", "multichainrpc","73oYQWzx45hossFPPWUgicpLvHhsD8PempYxnSF6bnY9");
46+
47+ // localhost is the IP used by Multichain
48+ // 6824 is, here, the port used by the BlockChain, corresponding of the value of default-rpc-port in the file params.dat
49+ // multichainrpc and 73oYQWzx45h... are login and password to access to RPC commands, values can be found in the file multichain.conf
5250
5351List<String> result = null;
5452try {
55- result = AddressCommand .getAddresses();
53+ result = multiChainCommand.getAddressCommand() .getAddresses();
5654} catch (MultichainException e) {
5755 // TODO Auto-generated catch block
5856 e.printStackTrace();
@@ -77,6 +75,19 @@ The package `object.formatters` is helpful to test the good work of Formatters J
7775
7876## Versions
7977
78+ Todo :
79+ * integrate new functions
80+
81+ ### 3.0
82+ * Direct RPC Server calls
83+ * Dependencies under Maven
84+
85+ ### 2.0
86+ Based on functions contained in MultiChain 1.0 Beta 1
87+
88+ Integrated functions about :
89+ * Streams
90+
8091### 1.0
8192Based on functions contained in MultiChain Alpha 24
8293
@@ -90,10 +101,6 @@ Integrated functions about :
90101* Transaction
91102* Transaction RAW
92103
93- Todo :
94- * integrate new functions (actually MultiChain Alpha 28)
95- * integrate Stream functions
96-
97104
98105## License
99106
0 commit comments