// AddTxFlags adds common flags for commands to post tx
funcAddTxFlags(cmd*cobra.Command)*cobra.Command{
cmd.PersistentFlags().String(flags.FlagChainID,"testnet","Specify Chain ID for sending Tx")
cmd.PersistentFlags().String(flags.FlagFrom,"","Name or address of private key with which to sign")
cmd.PersistentFlags().String(flags.FlagFees,"","Fees to pay along with transaction; eg: 10aphoton")
cmd.PersistentFlags().String(flags.FlagGasPrices,"","Gas prices to determine the transaction fee (e.g. 10aphoton)")
cmd.PersistentFlags().String(flags.FlagNode,"tcp://localhost:26657","<host>:<port> to tendermint rpc interface for this chain")
cmd.PersistentFlags().Float64(flags.FlagGasAdjustment,flags.DefaultGasAdjustment,"adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored ")