Package: bpl-client
BPL CLIA simple CLI client for the Blockpool BlockchainThis is an easy-to-use Python Command Line Interface (CLI) client for interacting with a Blockpool Blockchain. This client provides the majority of the functionality provided byBPL-desktopFeaturesAccountDelegate registrationTransferring BPLVote for a delegateStatus of accountList of transactions (in chronological order)Create a new address and public key from a BIP39 mnemonicMessageSign a messageVerify a messageNetworkNetwork statusNetwork config newNetwork config useShowing network configShowing network peersCommand EntityConstructorRun methodExceptionsBPLClientNetworkExceptionBPLClientAccountsExceptionInstallationpython-mpipinstallbpl-clientUsageHelpC:\>bpl-cli-help
BPLClient

Usage:bpl-clinetworkconfigsetupbpl-clinetworkconfigshowbpl-clinetworkstatusbpl-cliaccountstatus<address>bpl-cliaccounttransactions<address>bpl-cliaccountsend<amount><recipient>bpl-cliaccountvote<username>bpl-cliaccountdelegate<username>bpl-climessagesign<message>bpl-climessageverify<message><publicKey>

Options:-h--helpShowthisscreen.--versionShowversion.

Help:Forhelpusingthisclient,pleaseseehttps://github.com/DuneRoot/bpl-cliNetwork config newTo create a new custom network config the commandbpl-cli network config newmust be used. It should be noted that if the network config has not been selected usingnetwork config newornetwork config useand a different command is used then aBPLClientNetworkExceptionis raised.C:\>bpl-clinetworkconfignew
Enterconfigidentifier:testnet_01
Enterpeeraddressandport:35.180.64.83:9028
Enterversion:25Enterbeginepoch:2017-03-2113:00:00

NetworkConfig(testnet_01)+--------------+------------------------------------------------------------------+|Name|Value|+--------------+------------------------------------------------------------------+|version|25||peeraddress|35.180.64.83:9028||beginepoch|2017-03-2113:00:00||nethash|f9b98b78d2012ba8fd75538e3569bbc071ce27f0f93414218bc34bc72bdeb3db|+--------------+------------------------------------------------------------------+Network config useTo use or select a default or custom network config the commandbpl-cli network config usemust be used. It should be noted that if an invalid config identifier is inputted then aBPLClientNetworkExceptionis raised.C:\>bpl-clinetworkconfiguse

ConfigIdentifiers+------------+|Configs|+------------+|testnet1||testnet||mainnet||testnet_01|+------------+

Enterconfigidentifier:mainnet

NetworkConfig(mainnet)+--------------+------------------------------------------------------------------+|Name|Value|+--------------+------------------------------------------------------------------+|version|25||peeraddress|13.56.163.57:9030||beginepoch|2017-03-2113:00:00||nethash|7bfb2815effb43592ccdd4fd0f657c082a7b318eed12f6396cc174d8578293c3|+--------------+------------------------------------------------------------------+Transferring BPLTo transfer BPL the commandbpl-cli account send <amount> <address>must be used. A prompt for the secret passphrase is then displayed, which masks the input.C:\>bpl-cliaccountsend0.1BFCKaUEkmG8ULYitaharStcdn7ijuDxxpK
Entersecretpassphrase:
Confirm(y/n):y
Sending0.1BPLtoBFCKaUEkmG8ULYitaharStcdn7ijuDxxpK.
Transactionsentsuccessfullywithid295fb4d1c128f6319a2ebfe688dd762c6d15fc1e40ccde92ca531cce25d4ae74.Listing transactionsTo list the transactions of an address, the commandbpl-cli account transactions <address>must be used.C:\>bpl-cliaccounttransactionsB8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY

Transactions(Address:B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY)+------------------------------------------------------------------+---------------------+------------------------------------+------------------------------------+--------------+------------+---------------+|TransactionID|Timestamp|Sender|Recipient|Amount|Fee|Confirmations|+------------------------------------------------------------------+---------------------+------------------------------------+------------------------------------+--------------+------------+---------------+|295fb4d1c128f6319a2ebfe688dd762c6d15fc1e40ccde92ca531cce25d4ae74|2018-08-0809:08:54|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|BFCKaUEkmG8ULYitaharStcdn7ijuDxxpK|10000000|10000000|30||bfcdc447bacb31cc7b53794bdbafb88d26e0fb03cee1363aba733cd1a2a1b4c7|2018-08-0715:49:22|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|BFCKaUEkmG8ULYitaharStcdn7ijuDxxpK|10000000|10000000|4002||73e6d46a070825bbaeb69a7a522446b5f46f563cc1da0f180dfde8ad17e96d96|2018-08-0715:42:47|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|BFCKaUEkmG8ULYitaharStcdn7ijuDxxpK|1000000|10000000|4023||4942794d20170637c5c9853bce7ce488bfc56bc2697745bb19ccba81ad224e2a|2018-08-0715:39:54|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|1000000|10000000|4038||a52cf29d2d2825ff5a6d7fb6bc4d7d07e0e395908a9d840207d65466b2068d3c|2018-08-0712:46:58|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|N/A|0|1000000000|4695||5530522fc3371f6c3527d138f0eb48a8fe6cf50329440fcfe54991d05e4ebe59|2018-08-0712:21:26|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|0|100000000|4801||4fdea05eb8c17f00e6f1db0b0b0869e1b7ea428a61760c157f789f6e497c8c05|2018-08-0710:05:33|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|BFCKaUEkmG8ULYitaharStcdn7ijuDxxpK|100|10000000|5301||ee3270bacf2ada607915b38154618c78174698afcf02680d5f37734bf18bc9e7|2018-08-0710:04:04|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|BFCKaUEkmG8ULYitaharStcdn7ijuDxxpK|100|10000000|5301||a754cefa329ba2c1966f6346bc69300e7ae55e4c2b8c331765319b19e215e0c2|2018-08-0615:19:36|BFCKaUEkmG8ULYitaharStcdn7ijuDxxpK|B8a5sk4SBzWTxURX3sw5iMy7py26QgA4NY|500000000000|10000000|9641|+------------------------------------------------------------------+---------------------+------------------------------------+------------------------------------+--------------+------------+---------------+Security or ErrorsIf you discover a security vulnerability or error within this package, please emailmeor message me on theBPL discord.CreditsAlistair O'Brien