Questions tagged [base58]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
29 views

Encoding ed25519 issues

var crypto = require('crypto'); var ed25519 = require('./'); const seed = crypto.randomBytes(32); const keyPair = ed25519.MakeKeypair(seed); const base58encoded = base58.encode(keyPair.publicKey); ...
0
votes
0answers
18 views

How to create a base58 encoding address of public key? [duplicate]

Need to create a encoding address of public key. Is there any library file for create a encoding address?
2
votes
1answer
90 views

Understanding base58check encoding of a Tezos public key

I would like to fully understand how base58 encoding for a Tezos public key works, what are specific parts of an encoded edpk version and what do they stand for. I attempted to create such key ...
2
votes
1answer
145 views

How to convert ed25519 bytes to Tezos public key

I tried to do that by base58 encoding ed255191 public key bytes. Consider a following code sample: const seed = crypto.randomBytes(32); const keyPair = ed25519.MakeKeypair(seed); const base58encoded =...
1
vote
0answers
48 views

Solved -Failed to read a b58check_encoding data - Tezos Signer

I'm doing everything as directed by this tutorial. https://github.com/habanoz/tezos-reward-distributor/wiki/How-to-use-tezos-signer ./tezos-signer import secret key teste2019 encrypted:...
1
vote
1answer
96 views

Decode a Tezos hexadecimal operation

I ran tezos-baker with the -l option to see all the RPC calls it makes to construct a block. Eventually, I see this: >>>>220: http://10.10.10.203:20001/keys/...
7
votes
3answers
195 views

How do I base58 encode the chain ID using Python?

When Tezos needs to sign a baking or endorsement operation payload, byte 0 will be a 0x01 for a baking operation or 0x02 for an endorsement operation. Bytes 1-5 in the operation payload contain the ...
4
votes
2answers
181 views

base58 prefixes

Module Prefix in src/lib_crypto/base58.ml has lines such as let ed25519_public_key_hash = "\006\161\159" (* tz1(36) *). How does one get "\006\161\159" from tz1(36)?