Commit d3fe0dd Clemens Brunner
committed
1 parent a8ed60f commit d3fe0dd Copy full SHA for d3fe0dd
File tree 2 files changed +10
-3
lines changed
src/at/entrust/resselchain/main
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Command to create a new asset
2
+ # java -jar UtilityTxSender.jar -sxml SendingNode ReceivingNode NameOfAsset MaxAmount Node InitialAmount [Node InitialAmount]
3
+ java -jar UtilityTxSender.jar -sxml node1.xml node1.xml myNewAssetName 1000 node1.xml 5000 node2.xml 2500 node3.xml 2500
4
+
5
+ # Command to send a transaction
6
+ # java -jar TxSender.jar -sxml SendingNode ReceivingNode NameOfAsset Value
7
+ java -jar TxSender.jar -sxml node1.xml node2.xml myNewAssetName 100
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ public class UtilityTxSender {
36
36
37
37
private static void showUsage () {
38
38
System .out .println ("Ressel Chain Utility Transaction Sender (UtilityTxSender)" );
39
- System .out .println ("Creates a new asset plant and defines initial shares for participants." );
40
- System .out .println ("Usage: UtilityTxSender -h | -t | (-sraw <Node Address> <Node Port> <Sender Name> <Sender Private Key>) | (-sxml <Sender Node XML Config> <Receiver Node XML Config>) <asset Name> <kW Peak> {<Participant XML Config> <Participant Share>}" );
39
+ System .out .println ("Creates a new asset and defines initial shares for participants." );
40
+ System .out .println ("Usage: UtilityTxSender -h | -t | (-sraw <Node Address> <Node Port> <Sender Name> <Sender Private Key>) | (-sxml <Sender Node XML Config> <Receiver Node XML Config>) <asset Name> <Asset Peak> {<Participant XML Config> <Participant Share>}" );
41
41
System .out .println ("-h : display help" );
42
42
System .out .println ("-t : print current timestamp" );
43
43
System .out .println ("-sraw : send raw transaction, all following arguments are mandatory" );
@@ -122,7 +122,7 @@ else if (args.length >= 7 && args[0].equals("-sraw")) {
122
122
123
123
124
124
String assetName = args [3 ];
125
- double kWPeak = Double .valueOf (args [4 ]);
125
+ double assetMax = Double .valueOf (args [4 ]);
126
126
127
127
ArrayList <Participant > participants = new ArrayList <>();
128
128
HashMap <Participant , Integer > participantAmounts = new HashMap <>();
You can’t perform that action at this time.
0 commit comments