keys/hd/address.go
func ComputeBTCAddress(pubKeyHex string, chainCodeHex string, path string, index int32) string {
	pubKeyBytes := DerivePublicKeyForPath(
		HexDecode(pubKeyHex),
		HexDecode(chainCodeHex),
		fmt.Sprintf("%v/%v", path, index),
	)
	return BTCAddrFromPubKeyBytes(pubKeyBytes)
}
func ComputeBTCAddress(pubKeyHex string, chainCodeHex string, path string, index int32) string {
	pubKeyBytes := DerivePublicKeyForPath(
		HexDecode(pubKeyHex),
		HexDecode(chainCodeHex),
		fmt.Sprintf("%v/%v", path, index),
	)
	return BTCAddrFromPubKeyBytes(pubKeyBytes)
}
/*

  This file implements BIP32 HD wallets.
  Note it only works for SECP256k1 keys.
  It also includes some Bitcoin specific utility functions.

*/
// ComputeBTCAddress returns the BTC address using the pubKeyHex and chainCodeHex
// for the given path and index.