func (pubKey PubKeySecp256k1) Address() Address {
	hasherSHA256 := sha256.New()
	hasherSHA256.Write(pubKey[:]) // does not error
	sha := hasherSHA256.Sum(nil)

	hasherRIPEMD160 := ripemd160.New()
	hasherRIPEMD160.Write(sha) // does not error
	return Address(hasherRIPEMD160.Sum(nil))
}
func (pubKey PubKeySecp256k1) Address() Address {
	hasherSHA256 := sha256.New()
	hasherSHA256.Write(pubKey[:]) 
	sha := hasherSHA256.Sum(nil)

	hasherRIPEMD160 := ripemd160.New()
	hasherRIPEMD160.Write(sha) 
	return Address(hasherRIPEMD160.Sum(nil))
}
func ( pubKey PubKeySecp256k1 ) Address ( ) Address { hasherSHA256 := sha256 . New ( ) hasherSHA256 . Write ( pubKey [ : ] ) // does not error sha := hasherSHA256 . Sum ( nil ) hasherRIPEMD160 := ripemd160 . New ( ) hasherRIPEMD160 . Write ( sha ) // does not error return Address ( hasherRIPEMD160 . Sum ( nil ) ) }
// Implements Bitcoin style addresses: RIPEMD160(SHA256(pubkey))
Implements Bitcoin style addresses : RIPEMD160 ( SHA256 ( pubkey ))