Questions tagged [hash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
18 views

How to convert from cborHex to VRFKeyHash using both cardanocli-js and cardano-serialization-lib?

I'm using cardanocli-js to create both VRF files for running a stake pool: vrf.vkey and vrf.skey: const vrfKeyAccount = cardanocliJs.nodeKeyGenVRF("Totem"); Then I want to read the vrf.vkey ...
user avatar
0 votes
1 answer
36 views

How to retrieve staking credential hash

How to retrieve staking credential hash using cardano serialization library and what is it? How does it differ from public key hash?
user avatar
  • 3
1 vote
1 answer
24 views

Can I generate a VRF key hash without using cardano-cli?

I need to generate a VRF Key Hash in this format: vrf_vk13hg4gg5fg67399nuz2ldk89kqw9h379cfgtkpvd83ra89f908kcqv2cw3j When I generate it using cardano-cli, I get this: { "type": "...
user avatar
0 votes
2 answers
25 views

Is there a way to validate a policy Id,and to check if a string is an actual policy id?

im trying to build something in cardano, and i want to check if policy id provided by the user is an actual policyid? after research i found that blake2b_224 is used for hashing the policy id,is there ...
user avatar
2 votes
3 answers
74 views

How to get a base 16 hex BuiltinString from getTxId

I am trying to find a way to inspect the base16 hash from a Tx on-chain using plutus. I get a BuiltinByteString from the txInputs here: getTxIdBBS :: TxInInfo -> BuiltinByteString getTxIdBBS txInfo'...
user avatar
  • 131
0 votes
1 answer
54 views

Building a bridge to Hedera Hashgraph HBAR

Hello Cardano community, Does Cardano have a bridge to Hedera Hashgraph HBAR? If not, how do I build one? I need to be able to transfer NFTs and exchange cryptos directly avoiding intermediate ...
user avatar
  • 1
1 vote
2 answers
104 views

How to get PubKeyHash of an address without vkey?

How to get Address -> PubKeyHash without vkey just with addr like addr_test1wrf230u95zr26lut09mchmt82d235v6335jvszme2jevklslg5lfz? It must be possible, because when you build unlocking transaction ...
user avatar
0 votes
1 answer
107 views

Validate Transaction with serialization lib from a Tx Hash

I want to validate Transactions to make sure they are actual Cardano txs with correct length, format etc. I see that Transaction object in emurgo serialization library has an 'is_valid()' method that ...
user avatar
0 votes
1 answer
142 views

Hash script data

I want to understand a bit better the hash-script-data functionality from cardano-cli. I checked the source code but had no luck in understanding how this hash is made. From the examples, if we run: ...
user avatar
  • 166