pubKey2Addr
bitcoinjs-lib / pubKey2Addr
Function: pubKey2Addr()
pubKey2Addr(
pubkey
):Ripemd160
Defined in: packages/scrypt-ts-btc/src/smart-contract/fns/pubKey2Addr.ts:12
Get Addr for PubKey. Under the hood this just wraps the hash160 function.
Parameters
pubkey
the public key.
Returns
address for the passed public key.