PrivKey2Wif | R Documentation |
Returns the corresponding WIF key from a private key
PrivKey2Wif(privkey, mainnet = TRUE)
privkey |
|
mainnet |
|
character
, the WIF key
Bernhard Pfaff
https://en.bitcoin.it/wiki/Wallet_import_format,
https://en.bitcoin.it/wiki/Address
Other BtcAdresses: BTCADR-class
,
PrivKey2PubKey
,
PubHash2BtcAdr
,
PubKey2PubHash
, Wif2PrivKey
,
base58CheckDecode
,
base58CheckEncode
, concatHex
,
createBtcAdr
,
createPrivateKey
, decodeHex
,
hash160
, hash256
,
validBtcAdr
suppressWarnings(RNGversion("3.5.0"))
pk <- createPrivateKey()
PrivKey2Wif(pk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.