New answers tagged

0 votes

Coin Selection for Multiasset

So back in the day when I received the UTxO Balance Insufficient error on Cardano-cli, it usually meant I didn't properly calculate the breakdown of the UTXO transitions in terms of transaction cost ...
0 votes
Accepted

How to get TransactionUnspentOutput as a hex encoded bytes string programmatically

Fixed it with this code: Buffer.from(utxoToCore(data).to_bytes()).toString("hex") Data example: txHash: "5537396d59c1b0546bb9cec5cb6b930238af2d8998d24ca1d47e89a3dd400a87", ...
0 votes

Convert UTxO to hex encoded bytes string

I think what you are asking is how to convert from base 16 to base 10 which is how a bytestring is stored on the blockchain. You can take a look at my Deploy.hs code which does this conversion. https:...
  • 221
0 votes
Accepted

cardano serialization lib - Multiple addresses and stake keys

Every account should only use 1 stake key, and it resides within m/1852H/1815H/0H/2/0. Every new address that you generate should use the same stake key. This is so that when you're staking your ...

Top 50 recent answers are included