BlockchainKeyEncode

BlockchainKeyEncode[key,form]

encodes a private or public key in the specified blockchain format.

Details and Options

Examples

open allclose all

Basic Examples  (8)

Encode a private key as a WIF-compressed format to be used in a transaction on the Bitcoin blockchain:

Encode a public key as a Pay-to-Public-Key-Hash Bitcoin address:

Encode a public key as an Ethereum address:

Encode a public key as an ARK address:

Encode a public key as a bloxberg address:

Encode an ed25519 public key as a Tezos address:

Encode a secp256k1 public key as a Tezos address:

Encode a prime256v1 public key as a Tezos address:

Scope  (5)

Address  (1)

Encode a public key as an Ethereum address:

Hexadecimal string  (1)

Encode a hexadecimal private key string to an Ethereum address:

Private key  (1)

Encode a private key as a Bitcoin address:

Public key  (1)

Encode a public key as a Bitcoin address:

WIF  (1)

Encode a private key as a WIF-compressed format to be used in a transaction on the Bitcoin blockchain:

Options  (9)

BlockchainBase  (9)

ARK  (2)

Encode a public key as an ARK address:

Encode a public key as an ARK address:

Bitcoin  (2)

Encode a public key as a Bitcoin address:

Encode a public key as a Bitcoin testnet address:

Ethereum  (1)

Encode a public key as an Ethereum address:

bloxberg  (1)

Encode a public key as a bloxberg address:

Tezos  (3)

Encode an ed25519 public key as a Tezos address:

Encode a secp256k1 public key as a Tezos address:

Encode a prime256v1 public key as a Tezos address:

Possible Issues  (2)

Encoding a public key as WIF format will return an error:

When encoding a hexadecimal string as a Tezos address, BlockchainKeyEncode will assume it is an ed25519 public key:

Wolfram Research (2019), BlockchainKeyEncode, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainKeyEncode.html.

Text

Wolfram Research (2019), BlockchainKeyEncode, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainKeyEncode.html.

BibTeX

@misc{reference.wolfram_2021_blockchainkeyencode, author="Wolfram Research", title="{BlockchainKeyEncode}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/BlockchainKeyEncode.html}", note=[Accessed: 22-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_blockchainkeyencode, organization={Wolfram Research}, title={BlockchainKeyEncode}, year={2019}, url={https://reference.wolfram.com/language/ref/BlockchainKeyEncode.html}, note=[Accessed: 22-October-2021 ]}

CMS

Wolfram Language. 2019. "BlockchainKeyEncode." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlockchainKeyEncode.html.

APA

Wolfram Language. (2019). BlockchainKeyEncode. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainKeyEncode.html