code: func registerNameTx(name *def.RegisterName, do *def.DeployArgs, account string, client *def.Client, logger *logging.Logger) (*payload.NameTx, error) {
  	// Set Defaults
  	name.Source = useDefault(name.Source, account)
  	name.Fee = useDefault(name.Fee, do.DefaultFee)
  	name.Amount = useDefault(name.Amount, do.DefaultAmount)
  
  	// Formulate tx
  	logger.InfoMsg("NameReg Transaction",
  		"name", name.Name,
  		"data", name.Data,
  		"amount", name.Amount)
  
  	return client.Name(&def.NameArg{
  		Input:    name.Source,
  		Sequence: name.Sequence,
  		Name:     name.Name,
  		Amount:   name.Amount,
  		Data:     name.Data,
  		Fee:      name.Fee,
  	}, logger)
  }
docs: // Runs an individual nametx.