Package: airsign
# AirSign for BitSharesA command line tool to interface with the BitShares network.## Installation### Install with `pip`:```pip3 install airsign```### Manual installation:```git clone https://github.com/xeroc/airsigncd airsignpython3 setup.py install --user```### Upgrade```$ pip install --user --upgrade airsign```## UsageYou can get a full length help by running:usage: airsign [-h] [--node NODE] [--rpcuser RPCUSER] [--rpcpassword RPCPASSWORD] [--nobroadcast] {set,addkey,listkeys,listaccounts,getbalance,transfer,approve} ...Command line tool to interact with the BitShares networkpositional arguments:{set,addkey,listkeys,listaccounts,getbalance,transfer,approve}sub-command helpset                 Set configurationaddkey              Add a new key to the walletlistkeys            List available keys in your walletlistaccounts        List available accounts in your walletgetbalance          Get balances of available account(s)transfer            Transfer funds from your wallet to someone elseapprove             approve funds from your wallet to someone elseoptional arguments:-h, --help            show this help message and exit--node NODE           Websocket URL for public BitShares API (default: "wss://bitshares.openledger.info/ws")--rpcuser RPCUSER     Websocket user if authentication is required--rpcpassword RPCPASSWORDWebsocket password if authentication is required--nobroadcast         Do not broadcast anything### Adding keysairsign comes with its own encrypted wallet to which keys need to be added:airsign addkey <posting-wif-key>On first run, you will be asked to provide a new passphrase that youwill need to provide every time you want to post on the BitShares network.If you chose an *empty* password, your keys will be stored in plain textwhich allows automated posting but exposes your private key to yourlocal user.### List available Keys and accountsairsign listkeysThis command will give the list of public keys to which the private keysare available.airsign listaccountsThis command tries to resolve the public keys into account names registeredon the network (experimental).### Get BalancesThe command `getbalance` only takes optional arguments if you want tosee the balance of a specific account, else it will show all balancesfor which a key has been added to the wallet (see above)$ airsign getbalancePlease unlock your existing wallet!Passphrase:wallet.xeroc:+-------------+----------+| Amount      | Asset    |+-------------+----------+| 61557.53766 | BTS      || 1e-07       | OPEN.BTC || 107.5035    | MKR      |+-------------+----------+live-coding:+------------+-------+| Amount     | Asset |+------------+-------+| 9993.84531 | BTS   |+------------+-------+### TransferTransfers can be initiated from any account for which the *active key*is installed. The `--amount` parameter can be applied several times tosend different assets from the same origin to the same recepient. Thecommand supports encrypted memos. If your account has a distinct memokey (usually identical to the active key), then you need to add that keyto your wallet aswell.airsign transfer --from <fromaccount> --to <recepient> --amount "1 USD" --amount "2 BTS" --memo <Text>The global `--nobroadcast` flag can be added before `transfer` toprevent airsign to broadcast the transaction to the BitShares network:airsign --nobroadcast transfer --from <fromaccount> --to <recepient> --amount "1 USD" --amount "2 BTS" --memo <Text>### Approval of ProposalsAny proposal can be approved using airsign:airsign approve <proposal-id>The default account will be used, unless stated otherwise withan `--account` parameter. The proposal-id must habe the form `1.10.x`.