Questions tagged [bech32]
The bech32 tag has no usage guidance.
8
questions
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 ...
1
vote
1
answer
43
views
Where are the bech32 binaries?
Hi I am trying to convert from hex to bech32.
This repo says that there is a tool which can do this and that the binaries can be found at cardano-wallet releases, however I cannot find them there. ...
4
votes
1
answer
94
views
Staking address bech32
I was trying to extract the staking address from an address and I was able to do that by using the bech32 decode, getting the last 56 bytes and encoding back again.
The question is: following this, I ...
0
votes
2
answers
196
views
How to get UTxO transaction id using cardano-serialization-lib
I'm missing transaction prefix in order to get bech32 hash of transaction id using cardano-serialization-lib.
What prefix is used in transaction bech32 hash and how can I find/compute one?
const ...
0
votes
2
answers
217
views
How to obtain PubKeyHash from Address ShelleyAddr
Is there a way to do this programmatically? I have an
Address ShelleyAddr
obtained from
deserialiseFromBech32 AsShelleyAddress
and need its
Plutus.V1.Ledger.Crypto.PubKeyHash
7
votes
2
answers
297
views
How do I properly derive a stake key from an address using Bech32?
I'm trying to get a stake address from a Shelley address in Python using this library: https://pypi.org/project/bech32/
I can convert an address from bech32 to hex without issue, but I'm getting stuck ...
7
votes
2
answers
686
views
bech32 in Shelley addresses
I'm trying to write address validation in Python. According to the docs, Shelley addresses are encoded with bech32 and the first byte of the payload consists of header_type (4 bits) and network_tag (4 ...
4
votes
1
answer
78
views
How can I go about creating an Asset Fingerprint in Java?
I'm trying to implement the asset fingerprint in java.
So i'm importing these dependencies
<dependency>
<groupId>org.bitcoinj</groupId>
<artifactId>bitcoinj-core</...