python command line utility for interacting with DPX API
Description: shows the help menu
Usage: dpxcli.py help
$ dpxcli.py help
Description: retrieves the balance of the wallet
Usage: dpxcli.py balance -w|--wallet <wallet>
$ dpxcli.py balance --wallet ADDRESS
Description: transfers specified amount of DPX from departure wallet to destination wallet
Usage: dpxcli.py transfer -a|--amount <amount> -w|--wallet <wallet> -s|--secret <secret> -d|--destination <destination>
$ dpxcli.py transfer --amount 10.5 --wallet ADDRESS --secret SECRET --destination ADDRESS
Description: retrieves transactions in descending order from specified offset (default is 0)
Usage: dpxcli.py transactions (-o|--offset <offset>)? (-w|--wallet <departure>)? (-d|--destination <destination>)?
$ dpxcli.py transactions // show latest 256 transactions
$ dpxcli.py transactions --offset 128 // show from offset 128
$ dpxcli.py transactions --wallet ADDRESS // filter transactions that are from this departure
$ dpxcli.py transactions --destination ADDRESS // filter transactions that are to this destination
$ dpxcli.py transactions -o 64 -w DEPARTURE -d DESTINATION // filter transactions that are from DEPARTURE to DESTINATION and show from offset 64
Description: retrieves information of the given transaction id
Usage: dpxcli.py transaction -i|--id <transactionId>
$ dpxcli.py transaction --id transactionId
Description: revokes the secret of the wallet and returns the new secret
Usage: dpxcli.py revoke -w|--wallet <wallet> -s|--secret <secret>
$ dpxcli.py revoke --wallet ADDRESS --secret SECRET
Description: verifies a wallet credentials
Usage: dpxcli.py verify -w|--wallet <wallet> -s|--secret <secret>
$ dpxcli.py verify --wallet ADDRESS --secret SECRET
You can read the documentation of the DPX API here.
You can see the main project made using C in this repository.
Your contribution to dpxcli development is very welcome!
You may contribute in the following ways:
- Report issues and feedback
- Submit fixes, features via Pull Request
- Write/polish documentation
GNU Affero General Public License v3.0 see https://www.gnu.org/licenses/agpl-3.0.en.html