Questions tagged [hash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

How to create provable burn address containing specific words?

I'd like to Burn a portion of the Tezos Till We Bezos token supply to a MacKenzie themed address in keeping with the meme https://www.theguardian.com/technology/2019/jun/30/amazon-jeff-bezos-ex-wife-...
0
votes
1answer
70 views

Converting a hash into an int within a range

I have a contract where I'd like to convert a hash (sha256 in this case, but I'm open to any of the other hashing algorithms available) into an Int (or Nat) between 1 and 100. I have the code that ...
0
votes
1answer
26 views

Pseudo-random numbers for NFT attribute random generation

I'd like to generate an NFT within a contract and give it a randomly occurring attribute. As I search, it seems that the only fully-secure way to do this is to use an Oracle or build some sort of ...
1
vote
0answers
34 views

How do I generate my public key hash?

I have most of the data for my ICO wallet except the public key hash. The PDF that came with that data is gone, so no I cant go find it there. Is there no way I can generate to myself? I have the eth ...
2
votes
1answer
71 views

Ledger Blake2b hash calculation

How is the “Ledger Blake2b hash” calculated by the tezos-client and the Ledger? I can calculate the other hashes, but unable to figure out the “Ledger Blake2b hash”: Raw Script-expression-ID-Hash: ...
1
vote
1answer
51 views

Test vectors for calculating operation hash

I am writing code to calculate operation hash from the raw hex and I would like some test vectors to verify my code. Where can I find that?
3
votes
1answer
91 views

How to I get my Public Hash Keys

I wanted to start using Tezos but I do not know where to get my public hash keys. There is info given to "check your contribution" is not helping much. Also how do I "Check My Contribution" before ...
1
vote
1answer
78 views

Properties of transaction hashes

I am trying to find more information about the properties/format of transaction hashes. It looks like they all start with o followed by n/p/o, they are base58 encoded and are 51 characters long. Is ...
3
votes
4answers
874 views

How to hash a Tezos public key

I need to create a Tezos public key hash based on a public ed25519 key only. I am aware of an utility that generates entire keystore based on mnemonics - this is not what I need. I'd welcome either ...
4
votes
3answers
144 views

How are the originated contract addreses (KT1) computed?

How are smart contract addresses (those that start with KT1) computed? I would like to know whether CHAIN_ID is somehow used in its computation, or it is possible to have two KT1 contracts with ...
1
vote
1answer
260 views

How to get hash of operation without injecting in chain

Can I get txn hash without injecting operation in block chain? After injecting I will get same txn hash?
5
votes
2answers
244 views

How is the hash code of blocks generated?

Consider any given block of the chain (e.g. this one). Its hash code is: BL7wTUBp1apNisdzsjbb8dRYGGxoKDQxeMB3XqBNHoiqeL5URs2 I am developing a tool that takes this hash code and produces a "random" ...
3
votes
1answer
350 views

Creating public key hash

Could somebody please point me to a piece of working Python 3.7 code that generates a Tezos public key hash out of seed, password and e-mail address? Everything I could find so far is always a mix of ...
1
vote
0answers
95 views

How do I use RPC to get operation through hash [duplicate]

I want to get a transaction by its hash. For example, there is this api provided by tzscan: https://api6.tzscan.io/v3/operation/{op_hash}. I want to know how to do the same using the node RPC, but I ...