cardano-serialization-lib icon indicating copy to clipboard operation
cardano-serialization-lib copied to clipboard

This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.

Results 179 cardano-serialization-lib issues
Sort by recently updated
recently updated
newest added

# Update Summary ## 1. Address Types: - Added `network_id` getter to Address types. - Introduced new address type: `Malformed`. Used when it's impossible to deserialize an address in structs...

The following mainnet transaction (953dbe3cd147f1dbb69d3e8a83c3c75dcb5efbdbef18578abb380eb69e086bad) cannot be parsed using: const cslTx = Transaction.from_hex(parsed) cslTx.to_json() error: to_json: Serialization error: JsValue("Integer 25098443401240647395421 too big for our JSON support") There shouldn't be any...

Currently, not every transaction can be converted to JSON. See #634 and [its cause](https://github.com/Emurgo/cardano-serialization-lib/blob/4a35ef11fd5c4931626c03025fe6f67743a6bdf9/rust/src/plutus.rs#L1370). This is not reflected in the type of `to_json` method. The context of the issue is:...

How do I add assets to TX build as inputs when having them returned in JSON format not cbor hex like you do with `getUTxos()` from wallet extensions defined in...

When I have a lot of assets in the inputs and have them all directed to the change using `add_change_if_needed`, the Transaction Builder generates multiple change outputs (to reduce output...

Reward addresses contain stake key only, so why is the method called `payment_cred`?

`Address` type does have it, but it is not convenient to convert every time a network id is needed.

Looks like these two functions could have been combined into one that returns an optional `OutputDatum`: ```flow declare export class TransactionOutput { ... /** * @returns {DataHash | void} */...

``` declare export class TransactionMetadatum { free(): void; /** * @returns {Uint8Array} */ to_bytes(): Uint8Array; /** * @param {Uint8Array} bytes * @returns {TransactionMetadatum} */ static from_bytes(bytes: Uint8Array): TransactionMetadatum; /** *...

Our code handles all witnesses after calling `TransactionBuilder.build()`, among them all plutus scripts, datums and redeemers. How can we reference deployed datums and scripts using reference inputs without adding witnesses...