-
Download the file
duniter4j-client-<version>-full-<platform>.zip
from the latest releases page -
Unzip the archive;
-
The open a terminal and execute the script
duniter4j.sh
(orduniter4j.bat
) :
cd duniter4j-client-<version>
./duniter4j.sh --help
To send money to a pubkey, execute this command :
./duniter4j.sh transaction --auth-scrypt --amount 10 --output 2ny7YAdmzReQxAayyJZsyVYwYhVyax2thKcGknmQy5nQ --comment "Thks for Duniter"
./duniter4j.sh --help
Usage: <main class> [options] [command] [command options]
Options:
--config
Fichier de configuration
Default: duniter-client.config
--help
Affichage de l''aide
Default: false
-debug
Activer les logs de débuggage
Default: false
Commands:
transaction Effectuer une transaction
Usage: transaction [options]
Options:
--amount
Amount
--auth-scrypt
Authenticate using Scrypt ?
Default: true
--broadcast
Broadcast document sent to all nodes
Default: false
--comment
TX Comment
--output
Output pubkey
--passwd
Password (to generate the keypair)
-p, --peer
Peer address (use format: 'host:port')
--salt
Salt (to generate the keypair)
--scrypt-params
Scrypt parameters (N,r,p)
--ssl
Using SSL connection to node
Default: false
--timeout
HTTP request timeout, in millisecond
network Afficher les noeuds Duniter
Usage: network [options]
Options:
--continue
Continue scanning? (Will refresh on new peer/block).
Default: false
--output
Output CSV file
-p, --peer
Peer address (use format: 'host:port')
--ssl
Using SSL connection to node
Default: false
--timeout
HTTP request timeout, in millisecond