PrivKey2Wif: Create WIF from a private key

Description Usage Arguments Value Author(s) References See Also Examples

Description

Returns the corresponding WIF key from a private key

Usage

1
PrivKey2Wif(privkey, mainnet = TRUE)

Arguments

privkey

character, a private key.

mainnet

logical, whether the WIF should correspond to the mainnet or testnet.

Value

character, the WIF key

Author(s)

Bernhard Pfaff

References

https://en.bitcoin.it/wiki/Wallet_import_format,
https://en.bitcoin.it/wiki/Address

See Also

Other BtcAdresses: BTCADR-class, PrivKey2PubKey, PubHash2BtcAdr, PubKey2PubHash, Wif2PrivKey, base58CheckDecode, base58CheckEncode, concatHex, createBtcAdr, createPrivateKey, decodeHex, hash160, hash256, validBtcAdr

Examples

1
2
3

rbtc documentation built on May 2, 2019, 6:11 p.m.

Related to PrivKey2Wif in rbtc...