Skip to content

πŸ’Ž python command line utility for interacting with DPX API πŸ’Ž

License

Notifications You must be signed in to change notification settings

SIR-X/DPXCLI-PY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Ž DPXCLI-PY

python command line utility for interacting with DPX API

✨ Examples

πŸ’  Help

Description: shows the help menu
Usage: dpxcli.py help

$ dpxcli.py help

πŸ’  Balance

Description: retrieves the balance of the wallet
Usage: dpxcli.py balance -w|--wallet <wallet>

$ dpxcli.py balance --wallet ADDRESS

πŸ’  Transfer

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

πŸ’  Transactions

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

πŸ’  Transaction

Description: retrieves information of the given transaction id
Usage: dpxcli.py transaction -i|--id <transactionId>

$ dpxcli.py transaction --id transactionId

πŸ’  Revoke

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

πŸ’  Verify

Description: verifies a wallet credentials
Usage: dpxcli.py verify -w|--wallet <wallet> -s|--secret <secret>

$ dpxcli.py verify --wallet ADDRESS --secret SECRET

⚑ DPX API Documentation

You can read the documentation of the DPX API here.

πŸ’» C DPXCLI

You can see the main project made using C in this repository.

πŸ–ŠοΈ Contribution

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

πŸ“ƒ License

GNU Affero General Public License v3.0 see https://www.gnu.org/licenses/agpl-3.0.en.html

About

πŸ’Ž python command line utility for interacting with DPX API πŸ’Ž

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages