code: func WIFFromPrivKeyBytes(privKeyBytes []byte, compress bool) string {
  	versionPrefix := btcPrefixPrivKey // TODO Make const or configurable
  	bytes := append([]byte{versionPrefix}, privKeyBytes...)
  	if compress {
  		bytes = append(bytes, byte(1))
  	}
  	checksum := CalcHash256(bytes)
  	bytes = append(bytes, checksum[:4]...)
  	return base58.Encode(bytes)
  }
docs: // WIFFromPrivKeyBytes returns the privKeyBytes in Wallet Import Format.