This function creates the 512-bit public key corresponding to a private key.
PrivKey2PubKey(privkey, mainnet = TRUE)
character
, the public key.
character
, the private key.
logical
, whether the WIF should correspond
to the mainnet or testnet.
Bernhard Pfaff
Other BtcAdresses: BTCADR-class
,
PrivKey2Wif
, PubHash2BtcAdr
,
PubKey2PubHash
, Wif2PrivKey
,
base58CheckDecode
,
base58CheckEncode
, concatHex
,
createBtcAdr
,
createPrivateKey
, decodeHex
,
hash160
, hash256
,
validBtcAdr