issues
search
bloxbean
/
cardano-client-lib
Cardano client library in Java
https://cardano-client.dev
MIT License
118
stars
47
forks
source link
Keep the original CBOR in the transaction witness while deserializing transaction bytes to maintain the same datum hash
#397
Open
satran004
opened
3 months ago
satran004
commented
3 months ago
Keep the original CBOR in Transaction / TransactionWitnessSet to avoid incorrect datum hash due to deserialization -> serialization.
Add an immutable API layer for Transaction, TransactionWitness, PlutusData, etc.
Add Transaction.of(bytes) and TransactionBody.of(bytes) to get an immutable copy.