11.3.0 "I know that reference"
API Changes
Safe transaction body serialization roundtrip. #582
We introduce FixedTransaction
. That new type can help you save the original CBOR bytes of a transaction body for reasons you need to keep it unchanged. For example, when you need to add a new witness to a transaction.
Example:
let mut original_tx = FixedTransaction::from_hex("tx hex").unwrap();
original_tx.set_witness_set(get_new_witness_set().to_bytes())
let tx_bytes = original_tx.to_bytes()
// submit your tx or use it somewhere else
Non API Changes
Plutus script minting by ref script. #568
Despite that you can use PlutusScriptSource
in the MinBuilder
. The MinBuilder
doesn't support ref inputs inside itself. Since this version we fixed that and you can easily mint something by plutus script ref.
Published:
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser/v/11.3.0
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs/v/11.3.0
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs/v/11.3.0
https://crates.io/crates/cardano-serialization-lib/11.3.0