bhivepy CLI¶
bhivepy is a convenient CLI utility that enables you to manage your wallet, transfer funds, check balances and more.
Using the Wallet¶
bhivepy lets you leverage your BIP38 encrypted wallet to perform various actions on your accounts.
The first time you use bhivepy, you will be prompted to enter a password. This password will be used to encrypt the bhivepy wallet, which contains your private keys.
You can change the password via changewalletpassphrase command.
bhivepy changewalletpassphrase
From this point on, every time an action requires your private keys, you will be prompted ot enter this password (from CLI as well as while using hive library).
To bypass password entry, you can set an environment variable UNLOCK
.
UNLOCK=mysecretpassword bhivepy transfer <recipient_name> 100 HIVE
Common Commands¶
First, you may like to import your Hive account:
bhivepy importaccount
You can also import individual private keys:
bhivepy addkey <private_key>
Listing accounts:
bhivepy listaccounts
Show balances:
bhivepy balance account_name1 account_name2
Sending funds:
bhivepy transfer --account <account_name> <recipient_name> 100 HIVE memo
Upvoting a post:
bhivepy upvote --account <account_name> https://hive.blog/funny/@mynameisbrian/the-content-stand-a-comic
Setting Defaults¶
For a more convenient use of bhivepy
as well as the bhive
library, you can set some defaults.
This is especially useful if you have a single Hive account.
bhivepy set default_account test
bhivepy set default_vote_weight 100
bhivepy config
+---------------------+--------+
| Key | Value |
+---------------------+--------+
| default_account | test |
| default_vote_weight | 100 |
+---------------------+--------+
If you’ve set up your default_account, you can now send funds by omitting this field:
bhivepy transfer <recipient_name> 100 HIVE memo
Commands¶
bhivepy¶
bhivepy [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Options
-
-n
,
--node
<node>
¶ URL for public Hive API (e.g. https://api.hive.blog)
-
-o
,
--offline
¶
Prevent connecting to network
-
-d
,
--no-broadcast
¶
Do not broadcast
-
-p
,
--no-wallet
¶
Do not load the wallet
-
-x
,
--unsigned
¶
Nothing will be signed
-
-l
,
--create-link
¶
Creates hiveconnect links from all broadcast operations
-
-s
,
--hiveconnect
¶
Uses a hiveconnect token to broadcast (only broadcast operation with posting permission)
-
-e
,
--expires
<expires>
¶ Delay in seconds until transactions are supposed to expire(defaults to 60)
-
-v
,
--verbose
<verbose>
¶ Verbosity
-
--version
¶
Show the version and exit.
addkey¶
Add key to wallet
When no [OPTION] is given, a password prompt for unlocking the wallet and a prompt for entering the private key are shown.
bhivepy addkey [OPTIONS]
Options
-
--unsafe-import-key
<unsafe_import_key>
¶ Private key to import to wallet (unsafe, unless shell history is deleted afterwards)
addtoken¶
Add key to wallet
When no [OPTION] is given, a password prompt for unlocking the wallet and a prompt for entering the private key are shown.
bhivepy addtoken [OPTIONS] NAME
Options
-
--unsafe-import-token
<unsafe_import_token>
¶ Private key to import to wallet (unsafe, unless shell history is deleted afterwards)
Arguments
-
NAME
¶
Required argument
allow¶
Allow an account/key to interact with your account
- foreign_account: The account or key that will be allowed to interact with account.
When not given, password will be asked, from which a public key is derived. This derived key will then interact with your account.
bhivepy allow [OPTIONS] [FOREIGN_ACCOUNT]
Options
-
--permission
<permission>
¶ The permission to grant (defaults to “posting”)
-
-a
,
--account
<account>
¶ The account to allow action for
-
--weight
<weight>
¶ The weight to use instead of the (full) threshold. If the weight is smaller than the threshold, additional signatures are required
-
--threshold
<threshold>
¶ The permission’s threshold that needs to be reached by signatures to be able to interact
Arguments
-
FOREIGN_ACCOUNT
¶
Optional argument
approvewitness¶
Approve a witnesses
bhivepy approvewitness [OPTIONS] WITNESS
Options
-
-a
,
--account
<account>
¶ Your account
Arguments
-
WITNESS
¶
Required argument
balance¶
Shows balance
bhivepy balance [OPTIONS] [ACCOUNT]...
Arguments
-
ACCOUNT
¶
Optional argument(s)
beneficiaries¶
Set beneficaries
bhivepy beneficiaries [OPTIONS] AUTHORPERM [BENEFICIARIES]...
Arguments
Required argument
-
BENEFICIARIES
¶
Optional argument(s)
broadcast¶
broadcast a signed transaction
bhivepy broadcast [OPTIONS]
Options
-
--file
<file>
¶ Load transaction from file. If “-“, read from stdin (defaults to “-“)
buy¶
Buy HIVE or HBD from the internal market
Limit buy price denoted in (HBD per HIVE)
bhivepy buy [OPTIONS] AMOUNT ASSET [PRICE]
Options
-
-a
,
--account
<account>
¶ Buy with this account (defaults to “default_account”)
-
--orderid
<orderid>
¶ Set an orderid
Arguments
-
AMOUNT
¶
Required argument
-
ASSET
¶
Required argument
-
PRICE
¶
Optional argument
cancel¶
Cancel order in the internal market
bhivepy cancel [OPTIONS] ORDERID
Options
-
-a
,
--account
<account>
¶ Sell with this account (defaults to “default_account”)
Arguments
-
ORDERID
¶
Required argument
claimaccount¶
Claim account for claimed account creation.
bhivepy claimaccount [OPTIONS] CREATOR
Options
-
--fee
<fee>
¶ When fee is 0 (default) a subsidized account is claimed and can be created later with create_claimed_account
-
-n
,
--number
<number>
¶ Number of subsidized accounts to be claimed (default = 1), when fee = 0 HIVE
Arguments
-
CREATOR
¶
Required argument
claimreward¶
Claim reward balances
By default, this will claim all
outstanding balances.
bhivepy claimreward [OPTIONS] [ACCOUNT]
Options
-
--reward_hive
<reward_hive>
¶ Amount of HIVE you would like to claim
-
--reward_hbd
<reward_hbd>
¶ Amount of HBD you would like to claim
-
--reward_vests
<reward_vests>
¶ Amount of VESTS you would like to claim
-
--claim_all_hive
¶
Claim all HIVE, overwrites reward_hive
-
--claim_all_hbd
¶
Claim all HBD, overwrites reward_hbd
-
--claim_all_vests
¶
Claim all VESTS, overwrites reward_vests
Arguments
-
ACCOUNT
¶
Optional argument
convert¶
Convert HIVEDollars to Hive (takes a week to settle)
bhivepy convert [OPTIONS] AMOUNT
Options
-
-a
,
--account
<account>
¶ Powerup from this account
Arguments
-
AMOUNT
¶
Required argument
createwallet¶
Create new wallet with a new password
bhivepy createwallet [OPTIONS]
Options
-
--wipe
¶
Wipe old wallet without prompt.
curation¶
Lists curation rewards of all votes for authorperm
When authorperm is empty or “all”, the curation rewards for all account votes are shown.
authorperm can also be a number. e.g. 5 is equivalent to the fifth account vote in the given time duration (default is 7 days)
bhivepy curation [OPTIONS] [AUTHORPERM]
Options
-
-a
,
--account
<account>
¶ Show only curation for this account
-
-m
,
--limit
<limit>
¶ Show only the first minutes
-
-v
,
--min-vote
<min_vote>
¶ Show only votes higher than the given value
-
-w
,
--max-vote
<max_vote>
¶ Show only votes lower than the given value
-
-x
,
--min-performance
<min_performance>
¶ Show only votes with performance higher than the given value
-
-y
,
--max-performance
<max_performance>
¶ Show only votes with performance lower than the given value
-
--payout
<payout>
¶ Show the curation for a potential payout in HBD as float
-
-e
,
--export
<export>
¶ Export results to HTML-file
-
-s
,
--short
¶
Show only Curation without sum
-
-l
,
--length
<length>
¶ Limits the permlink character length
-
-p
,
--permlink
¶
Show the permlink for each entry
-
-t
,
--title
¶
Show the title for each entry
-
-d
,
--days
<days>
¶ Limit shown rewards by this amount of days (default: 7), max is 7 days.
Arguments
Optional argument
currentnode¶
Sets the currently working node at the first place in the list
bhivepy currentnode [OPTIONS]
Options
-
--version
¶
Returns only the raw version value
-
--url
¶
Returns only the raw url value
customjson¶
Broadcasts a custom json
First parameter is the cusom json id, the second field is a json file or a json key value combination e.g. bhivepy customjson -a thecrazygm dw-heist username thecrazygm amount 100
bhivepy customjson [OPTIONS] JSONID [JSON_DATA]...
Options
-
-a
,
--account
<account>
¶ The account which broadcasts the custom_json
-
-t
,
--active
¶
When set, the active key is used for broadcasting
Arguments
-
JSONID
¶
Required argument
-
JSON_DATA
¶
Optional argument(s)
delegate¶
Delegate (start delegating VESTS to another account)
amount is in VESTS / Hive
bhivepy delegate [OPTIONS] AMOUNT TO_ACCOUNT
Options
-
-a
,
--account
<account>
¶ Delegate from this account
Arguments
-
AMOUNT
¶
Required argument
-
TO_ACCOUNT
¶
Required argument
delete¶
delete a post/comment
POST is @author/permlink
bhivepy delete [OPTIONS] POST
Options
-
-a
,
--account
<account>
¶ Voter account name
Arguments
-
POST
¶
Required argument
delkey¶
Delete key from the wallet
PUB is the public key from the private key which will be deleted from the wallet
bhivepy delkey [OPTIONS] PUB
Options
-
--confirm
¶
Please confirm!
Arguments
-
PUB
¶
Required argument
delprofile¶
Delete a variable in an account’s profile
bhivepy delprofile [OPTIONS] VARIABLE...
Options
-
-a
,
--account
<account>
¶ delprofile as this user
Arguments
-
VARIABLE
¶
Required argument(s)
deltoken¶
Delete name from the wallet
name is the public name from the private token which will be deleted from the wallet
bhivepy deltoken [OPTIONS] NAME
Options
-
--confirm
¶
Please confirm!
Arguments
-
NAME
¶
Required argument
disallow¶
Remove allowance an account/key to interact with your account
bhivepy disallow [OPTIONS] [FOREIGN_ACCOUNT]
Options
-
--permission
<permission>
¶ The permission to grant (defaults to “posting”)
-
-a
,
--account
<account>
¶ The account to disallow action for
-
--threshold
<threshold>
¶ The permission’s threshold that needs to be reached by signatures to be able to interact
Arguments
-
FOREIGN_ACCOUNT
¶
Optional argument
disapprovewitness¶
Disapprove a witnesses
bhivepy disapprovewitness [OPTIONS] WITNESS
Options
-
-a
,
--account
<account>
¶ Your account
Arguments
-
WITNESS
¶
Required argument
downvote¶
Downvote a post/comment
POST is @author/permlink
bhivepy downvote [OPTIONS] POST
Options
-
-a
,
--account
<account>
¶ Voter account name
-
-w
,
--weight
<weight>
¶ Downvote weight (from 0.1 to 100.0)
Arguments
-
POST
¶
Required argument
featureflags¶
Get the account’s feature flags.
The request has to be signed by the requested account or an admin account.
bhivepy featureflags [OPTIONS] [ACCOUNT]
Options
-
-s
,
--signing-account
<signing_account>
¶ Signing account, when empty account is used.
Arguments
-
ACCOUNT
¶
Optional argument
follow¶
Follow another account
bhivepy follow [OPTIONS] FOLLOW
Options
-
-a
,
--account
<account>
¶ Follow from this account
-
--what
<what>
¶ Follow these objects (defaults to [“blog”])
Arguments
-
FOLLOW
¶
Required argument
follower¶
Get information about followers
bhivepy follower [OPTIONS] [ACCOUNT]...
Arguments
-
ACCOUNT
¶
Optional argument(s)
following¶
Get information about following
bhivepy following [OPTIONS] [ACCOUNT]...
Arguments
-
ACCOUNT
¶
Optional argument(s)
importaccount¶
Import an account using a passphrase
bhivepy importaccount [OPTIONS] ACCOUNT
Options
-
--roles
<roles>
¶ Import specified keys (owner, active, posting, memo).
Arguments
-
ACCOUNT
¶
Required argument
info¶
Show basic blockchain info
General information about the blockchain, a block, an account, a post/comment and a public key
bhivepy info [OPTIONS] [OBJECTS]...
Arguments
-
OBJECTS
¶
Optional argument(s)
interest¶
Get information about interest payment
bhivepy interest [OPTIONS] [ACCOUNT]...
Arguments
-
ACCOUNT
¶
Optional argument(s)
keygen¶
Creates a new random brain key and prints its derived private key and public key. The generated key is not stored.
bhivepy keygen [OPTIONS]
Options
-
--import-brain-key
¶
Imports a brain key and derives a private and public key
-
--sequence
<sequence>
¶ Sequence number, influences the derived private key. (default is 0)
mute¶
Mute another account
bhivepy mute [OPTIONS] MUTE
Options
-
-a
,
--account
<account>
¶ Mute from this account
-
--what
<what>
¶ Mute these objects (defaults to [“ignore”])
Arguments
-
MUTE
¶
Required argument
muter¶
Get information about muter
bhivepy muter [OPTIONS] [ACCOUNT]...
Arguments
-
ACCOUNT
¶
Optional argument(s)
muting¶
Get information about muting
bhivepy muting [OPTIONS] [ACCOUNT]...
Arguments
-
ACCOUNT
¶
Optional argument(s)
newaccount¶
Create a new account
bhivepy newaccount [OPTIONS] ACCOUNTNAME
Options
-
-a
,
--account
<account>
¶ Account that pays the fee
-
--owner
<owner>
¶ Main owner key - when not given, a passphrase is used to create keys.
-
--active
<active>
¶ Active key - when not given, a passphrase is used to create keys.
-
--memo
<memo>
¶ Memo key - when not given, a passphrase is used to create keys.
-
--posting
<posting>
¶ posting key - when not given, a passphrase is used to create keys.
-
-c
,
--create-claimed-account
¶
Instead of paying the account creation fee a subsidized account is created.
Arguments
-
ACCOUNTNAME
¶
Required argument
nextnode¶
Uses the next node in list
bhivepy nextnode [OPTIONS]
Options
-
--results
¶
Shows result of changing the node.
openorders¶
Show open orders
bhivepy openorders [OPTIONS] [ACCOUNT]
Arguments
-
ACCOUNT
¶
Optional argument
orderbook¶
Obtain orderbook of the internal market
bhivepy orderbook [OPTIONS]
Options
-
--chart
¶
Enable charting
-
-l
,
--limit
<limit>
¶ Limit number of returned open orders (default 25)
-
--show-date
¶
Show dates
-
-w
,
--width
<width>
¶ Plot width (default 75)
-
-h
,
--height
<height>
¶ Plot height (default 15)
-
--ascii
¶
Use only ascii symbols
parsewif¶
Parse a WIF private key without importing
bhivepy parsewif [OPTIONS]
Options
-
--unsafe-import-key
<unsafe_import_key>
¶ WIF key to parse (unsafe, unless shell history is deleted afterwards)
pending¶
Lists pending rewards
bhivepy pending [OPTIONS] [ACCOUNTS]...
Options
-
-s
,
--only-sum
¶
Show only the sum
-
-p
,
--post
¶
Show pending post payout
-
-c
,
--comment
¶
Show pending comments payout
-
-v
,
--curation
¶
Shows pending curation
-
-l
,
--length
<length>
¶ Limits the permlink character length
-
-a
,
--author
¶
Show the author for each entry
-
-e
,
--permlink
¶
Show the permlink for each entry
-
-t
,
--title
¶
Show the title for each entry
-
-d
,
--days
<days>
¶ Limit shown rewards by this amount of days (default: 7), max is 7 days.
Arguments
-
ACCOUNTS
¶
Optional argument(s)
permissions¶
Show permissions of an account
bhivepy permissions [OPTIONS] [ACCOUNT]
Arguments
-
ACCOUNT
¶
Optional argument
pingnode¶
Returns the answer time in milliseconds
bhivepy pingnode [OPTIONS]
Options
-
--raw
¶
Returns only the raw value
-
--sort
¶
Sort all nodes by ping value
-
--remove
¶
Remove node with errors from list
-
--threading
¶
Use a thread for each node
post¶
broadcasts a post/comment
bhivepy post [OPTIONS] BODY
Options
-
-a
,
--account
<account>
¶ Account are you posting from
-
-t
,
--title
<title>
¶ Title of the post
-
-p
,
--permlink
<permlink>
¶ Manually set the permlink (optional)
A komma separated list of tags to go with the post.
-
--reply_identifier
<reply_identifier>
¶ Identifier of the parent post/comment, when set a comment is broadcasted
-
--community
<community>
¶ Name of the community (optional)
-
-b
,
--beneficiaries
<beneficiaries>
¶ Post beneficiaries (komma separated, e.g. a:10%,b:20%)
-
-b
,
--percent-hive-dollars
<percent_hive_dollars>
¶ 50% HBD /50% HP is 10000 (default), 100% HP is 0
-
-b
,
--max-accepted-payout
<max_accepted_payout>
¶ Default is 1000000.000 [HBD]
-
--no-parse-body
¶
Disable parsing of links, tags and images
Arguments
-
BODY
¶
Required argument
power¶
Shows vote power and bandwidth
bhivepy power [OPTIONS] [ACCOUNT]...
Arguments
-
ACCOUNT
¶
Optional argument(s)
powerdown¶
Power down (start withdrawing VESTS from Hive POWER)
amount is in VESTS
bhivepy powerdown [OPTIONS] AMOUNT
Options
-
-a
,
--account
<account>
¶ Powerup from this account
Arguments
-
AMOUNT
¶
Required argument
powerdownroute¶
Setup a powerdown route
bhivepy powerdownroute [OPTIONS] TO
Options
-
--percentage
<percentage>
¶ The percent of the withdraw to go to the “to” account
-
-a
,
--account
<account>
¶ Powerup from this account
-
--auto_vest
¶
Set to true if the from account should receive the VESTS asVESTS, or false if it should receive them as HIVE.
Arguments
-
TO
¶
Required argument
powerup¶
Power up (vest HIVE as HIVE POWER)
bhivepy powerup [OPTIONS] AMOUNT
Options
-
-a
,
--account
<account>
¶ Powerup from this account
-
--to
<to>
¶ Powerup this account
Arguments
-
AMOUNT
¶
Required argument
pricehistory¶
Show price history
bhivepy pricehistory [OPTIONS]
Options
-
-w
,
--width
<width>
¶ Plot width (default 75)
-
-h
,
--height
<height>
¶ Plot height (default 15)
-
--ascii
¶
Use only ascii symbols
rehive¶
Rehive an existing post
bhivepy rehive [OPTIONS] IDENTIFIER
Options
-
-a
,
--account
<account>
¶ Rehive as this user
Arguments
-
IDENTIFIER
¶
Required argument
reply¶
replies to a comment
bhivepy reply [OPTIONS] AUTHORPERM BODY
Options
-
-a
,
--account
<account>
¶ Account are you posting from
-
-t
,
--title
<title>
¶ Title of the post
Arguments
Required argument
-
BODY
¶
Required argument
rewards¶
Lists received rewards
bhivepy rewards [OPTIONS] [ACCOUNTS]...
Options
-
-s
,
--only-sum
¶
Show only the sum
-
-p
,
--post
¶
Show post payout
-
-c
,
--comment
¶
Show comments payout
-
-v
,
--curation
¶
Shows curation
-
-l
,
--length
<length>
¶ Limits the permlink character length
-
-a
,
--author
¶
Show the author for each entry
-
-e
,
--permlink
¶
Show the permlink for each entry
-
-t
,
--title
¶
Show the title for each entry
-
-d
,
--days
<days>
¶ Limit shown rewards by this amount of days (default: 7)
Arguments
-
ACCOUNTS
¶
Optional argument(s)
sell¶
Sell HIVE or HBD from the internal market
Limit sell price denoted in (HBD per HIVE)
bhivepy sell [OPTIONS] AMOUNT ASSET [PRICE]
Options
-
-a
,
--account
<account>
¶ Sell with this account (defaults to “default_account”)
-
--orderid
<orderid>
¶ Set an orderid
Arguments
-
AMOUNT
¶
Required argument
-
ASSET
¶
Required argument
-
PRICE
¶
Optional argument
set¶
Set default_account, default_vote_weight or nodes
set [key] [value]
Examples:
Set the default vote weight to 50 %: set default_vote_weight 50
bhivepy set [OPTIONS] KEY VALUE
Arguments
-
KEY
¶
Required argument
-
VALUE
¶
Required argument
setprofile¶
Set a variable in an account’s profile
bhivepy setprofile [OPTIONS] [VARIABLE] [VALUE]
Options
-
-a
,
--account
<account>
¶ setprofile as this user
-
-p
,
--pair
<pair>
¶ “Key=Value” pairs
Arguments
-
VARIABLE
¶
Optional argument
-
VALUE
¶
Optional argument
sign¶
Sign a provided transaction with available and required keys
bhivepy sign [OPTIONS]
Options
-
-i
,
--file
<file>
¶ Load transaction from file. If “-“, read from stdin (defaults to “-“)
-
-o
,
--outfile
<outfile>
¶ Load transaction from file. If “-“, read from stdin (defaults to “-“)
tradehistory¶
Show price history
bhivepy tradehistory [OPTIONS]
Options
-
-d
,
--days
<days>
¶ Limit the days of shown trade history (default 7)
-
--hours
<hours>
¶ Limit the intervall history intervall (default 2 hours)
-
-i
,
--hbd-to-hive
¶
Show ticker in HBD/HIVE
-
-l
,
--limit
<limit>
¶ Limit number of trades which is fetched at each intervall point (default 100)
-
-w
,
--width
<width>
¶ Plot width (default 75)
-
-h
,
--height
<height>
¶ Plot height (default 15)
-
--ascii
¶
Use only ascii symbols
transfer¶
Transfer HBD/HIVE
bhivepy transfer [OPTIONS] TO AMOUNT ASSET [MEMO]
Options
-
-a
,
--account
<account>
¶ Transfer from this account
Arguments
-
TO
¶
Required argument
-
AMOUNT
¶
Required argument
-
ASSET
¶
Required argument
-
MEMO
¶
Optional argument
unfollow¶
Unfollow/Unmute another account
bhivepy unfollow [OPTIONS] UNFOLLOW
Options
-
-a
,
--account
<account>
¶ UnFollow/UnMute from this account
Arguments
-
UNFOLLOW
¶
Required argument
updatememokey¶
Update an account’s memo key
bhivepy updatememokey [OPTIONS]
Options
-
-a
,
--account
<account>
¶ The account to updatememokey action for
-
--key
<key>
¶ The new memo key
updatenodes¶
Update the nodelist from @fullnodeupdate
bhivepy updatenodes [OPTIONS]
Options
-
-s
,
--show
¶
Prints the updated nodes
-
-t
,
--test
¶
Do change the node list, only print the newest nodes setup.
-
-h
,
--only-https
¶
Use only https nodes.
-
-w
,
--only-wss
¶
Use only websocket nodes.
-
-a
,
--only-appbase
¶
Use only appbase nodes
-
-n
,
--only-non-appbase
¶
Use only non-appbase nodes
uploadimage¶
bhivepy uploadimage [OPTIONS] IMAGE
Options
-
-a
,
--account
<account>
¶ Account name
-
-n
,
--image-name
<image_name>
¶ Image name
Arguments
-
IMAGE
¶
Required argument
upvote¶
Upvote a post/comment
POST is @author/permlink
bhivepy upvote [OPTIONS] POST
Options
-
-w
,
--weight
<weight>
¶ Vote weight (from 0.1 to 100.0)
-
-a
,
--account
<account>
¶ Voter account name
Arguments
-
POST
¶
Required argument
userdata¶
Get the account’s email address and phone number.
The request has to be signed by the requested account or an admin account.
bhivepy userdata [OPTIONS] [ACCOUNT]
Options
-
-s
,
--signing-account
<signing_account>
¶ Signing account, when empty account is used.
Arguments
-
ACCOUNT
¶
Optional argument
verify¶
Returns the public signing keys for a block
bhivepy verify [OPTIONS] [BLOCKNUMBER]
Options
-
-t
,
--trx
<trx>
¶ Show only one transaction number
-
-u
,
--use-api
¶
Uses the get_potential_signatures api call
Arguments
-
BLOCKNUMBER
¶
Optional argument
votes¶
List outgoing/incoming account votes
bhivepy votes [OPTIONS] [ACCOUNT]
Options
-
--direction
<direction>
¶ in or out
-
-o
,
--outgoing
¶
Show outgoing votes
-
-i
,
--incoming
¶
Show incoming votes
-
-d
,
--days
<days>
¶ Limit shown vote history by this amount of days (default: 2)
-
-e
,
--export
<export>
¶ Export results to TXT-file
Arguments
-
ACCOUNT
¶
Optional argument
walletinfo¶
Show info about wallet
bhivepy walletinfo [OPTIONS]
Options
-
--test-unlock
¶
test if unlock is sucessful
witness¶
List witness information
bhivepy witness [OPTIONS] WITNESS
Arguments
-
WITNESS
¶
Required argument
witnesscreate¶
Create a witness
bhivepy witnesscreate [OPTIONS] WITNESS PUB_SIGNING_KEY
Options
-
--maximum_block_size
<maximum_block_size>
¶ Max block size
-
--account_creation_fee
<account_creation_fee>
¶ Account creation fee
-
--hbd_interest_rate
<hbd_interest_rate>
¶ HBD interest rate in percent
-
--url
<url>
¶ Witness URL
Arguments
-
WITNESS
¶
Required argument
-
PUB_SIGNING_KEY
¶
Required argument
witnessdisable¶
Disable a witness
bhivepy witnessdisable [OPTIONS] WITNESS
Arguments
-
WITNESS
¶
Required argument
witnessenable¶
Enable a witness
bhivepy witnessenable [OPTIONS] WITNESS SIGNING_KEY
Arguments
-
WITNESS
¶
Required argument
-
SIGNING_KEY
¶
Required argument
witnesses¶
List witnesses
bhivepy witnesses [OPTIONS] [ACCOUNT]
Options
-
--limit
<limit>
¶ How many witnesses should be shown
Arguments
-
ACCOUNT
¶
Optional argument
witnessfeed¶
Publish price feed for a witness
bhivepy witnessfeed [OPTIONS] WITNESS [WIF]
Options
-
-b
,
--base
<base>
¶ Set base manually, when not set the base is automatically calculated.
-
-q
,
--quote
<quote>
¶ Hive quote manually, when not set the base is automatically calculated.
-
--support-peg
¶
Supports peg adjusting the quote, is overwritten by –set-quote!
Arguments
-
WITNESS
¶
Required argument
-
WIF
¶
Optional argument
witnessproperties¶
Update witness properties of witness WITNESS with the witness signing key WIF
bhivepy witnessproperties [OPTIONS] WITNESS WIF
Options
-
--account_creation_fee
<account_creation_fee>
¶ Account creation fee (float)
-
--account_subsidy_budget
<account_subsidy_budget>
¶ Account subisidy per block
-
--account_subsidy_decay
<account_subsidy_decay>
¶ Per block decay of the account subsidy pool
-
--maximum_block_size
<maximum_block_size>
¶ Max block size
-
--hbd_interest_rate
<hbd_interest_rate>
¶ HBD interest rate in percent
-
--new_signing_key
<new_signing_key>
¶ Set new signing key
-
--url
<url>
¶ Witness URL
Arguments
-
WITNESS
¶
Required argument
-
WIF
¶
Required argument
witnessupdate¶
Change witness properties
bhivepy witnessupdate [OPTIONS]
Options
-
--witness
<witness>
¶ Witness name
-
--maximum_block_size
<maximum_block_size>
¶ Max block size
-
--account_creation_fee
<account_creation_fee>
¶ Account creation fee
-
--hbd_interest_rate
<hbd_interest_rate>
¶ HBD interest rate in percent
-
--url
<url>
¶ Witness URL
-
--signing_key
<signing_key>
¶ Signing Key
bhivepy –help¶
You can see all available commands with bhivepy --help
~ % bhivepy --help
Usage: cli.py [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Options:
-n, --node TEXT URL for public Hive API (e.g.
https://api.hive.blog)
-o, --offline Prevent connecting to network
-d, --no-broadcast Do not broadcast
-p, --no-wallet Do not load the wallet
-x, --unsigned Nothing will be signed
-e, --expires INTEGER Delay in seconds until transactions are supposed to
expire (defaults to 60)
-v, --verbose INTEGER Verbosity
--version Show the version and exit.
--help Show this message and exit.
Commands:
addkey Add key to wallet When no [OPTION] is given,...
allow Allow an account/key to interact with your...
approvewitness Approve a witnesses
balance Shows balance
broadcast broadcast a signed transaction
buy Buy HIVE or HBD from the internal market...
cancel Cancel order in the internal market
changewalletpassphrase Change wallet password
claimreward Claim reward balances By default, this will...
config Shows local configuration
convert Convert HIVEDollars to Hive (takes a week...
createwallet Create new wallet with a new password
currentnode Sets the currently working node at the first...
delkey Delete key from the wallet PUB is the public...
delprofile Delete a variable in an account's profile
disallow Remove allowance an account/key to interact...
disapprovewitness Disapprove a witnesses
downvote Downvote a post/comment POST is...
follow Follow another account
follower Get information about followers
following Get information about following
importaccount Import an account using a passphrase
info Show basic blockchain info General...
interest Get information about interest payment
listaccounts Show stored accounts
listkeys Show stored keys
mute Mute another account
muter Get information about muter
muting Get information about muting
newaccount Create a new account
nextnode Uses the next node in list
openorders Show open orders
orderbook Obtain orderbook of the internal market
parsewif Parse a WIF private key without importing
permissions Show permissions of an account
pingnode Returns the answer time in milliseconds
power Shows vote power and bandwidth
powerdown Power down (start withdrawing VESTS from...
powerdownroute Setup a powerdown route
powerup Power up (vest HIVE as HIVE POWER)
pricehistory Show price history
rehive Rehive an existing post
sell Sell HIVE or HBD from the internal market...
set Set default_account, default_vote_weight or...
setprofile Set a variable in an account's profile
sign Sign a provided transaction with available...
ticker Show ticker
tradehistory Show price history
transfer Transfer HBD/HIVE
unfollow Unfollow/Unmute another account
updatememokey Update an account's memo key
upvote Upvote a post/comment POST is...
votes List outgoing/incoming account votes
walletinfo Show info about wallet
witnesscreate Create a witness
witnesses List witnesses
witnessupdate Change witness properties