Open sskeirik opened 4 years ago
Another task is to clean-up parsing of key
, key_hash
, address
, signature
, and chain_id
literals. They are (except chain_id
) specified using a base58check encoding with particular prefixes depending on the key types. See more notes below:
Overall:
tezos/src/lib_crypto/base58.ml
pytezos/crypto.py
tezos/src/proto_XXX/lib_protocol/contract_hash.ml
Public Key Representation in Tezos:
Public Key Hash (key_hash
):
Chain Id (chain_id
) :
Contract Hash (subset of address
type):
Account Address (Publish Key Hash)/Public Key/Private Key/Signature Encoding:
Ed25519:
Secp256k1:
P-256:
contract
toscript
because Michelson community refers to Michelson programs as scriptsPAIR
andUNPAIR
macros