pubKey2Addr
scrypt-ts-opcat / pubKey2Addr
Function: pubKey2Addr()
pubKey2Addr(
pubkey
):Ripemd160
Defined in: packages/scrypt-ts-opcat/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.