Questions tagged [hash]
The hash tag has no usage guidance.
20
questions
1
vote
2
answers
36
views
Manipulable block hash by baker
Is the block hash a manipulable variable by a baker ? If not what about the value as a good source of randomness to use as a public verifiable random seed ?
1
vote
0
answers
23
views
Baked block hash information on smart-contracts
It seems the passed baked blocks hashes are not available on-chain in LIGOLang or Michelson. Why is that and will it come later ?
0
votes
2
answers
18
views
Choosing to validate a block or not & block hash ceation
Please I have some questions :
I have block A, block B and block C. A baker is elected to bake the block B and C.
is it possible for the baker to choose to validate the assigned block B and not to ...
2
votes
1
answer
111
views
Get transaction detail from transaction hash in Tezos api
I am trying to retrieve transaction detail using transaction hash to get transaction status.
I searched tezos apis, but I can't find available one.
Could you help me?
1
vote
1
answer
82
views
Which hash function is used when converting an address from raw bytes?
With the raw address 0x0000861299624c9a3b52be10762c64bac282b1c02316 the first 4 characters (0000 in this case) represent tz1 and the rest of the string is the raw Tezos address.
From my research it ...
1
vote
2
answers
31
views
Authenticating users in contracts
I'm aware I could tell which wallet address is calling the contract and whitelist certain addresses. But how could I instead make a contract that can only be used by people who hold a certain secret ...
0
votes
0
answers
56
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-...
1
vote
1
answer
533
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 ...
1
vote
1
answer
422
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
0
answers
50
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
1
answer
145
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
1
answer
69
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
1
answer
132
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 ...
2
votes
1
answer
246
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
4
answers
1k
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
3
answers
340
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
1
answer
429
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
2
answers
437
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
1
answer
453
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
0
answers
106
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 ...