cardano-serialization-lib
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.
I use 4 different addresses with the same issue. The error in frontend: _An error occurred. Please retry._ The error in console: `yoroi.bundle.js:1 Failed to construct tx change! missing input...
How to reproduce: ```ts import { hash_script_data, PlutusList, Redeemers, TxBuilderConstants, } from "@emurgo/cardano-serialization-lib-nodejs"; let datums = PlutusList.new(); console.log(datums); hash_script_data( Redeemers.new(), TxBuilderConstants.plutus_vasil_cost_models(), datums ); console.log(datums); console.log(datums.len()); ``` Logs: ``` PlutusList {...
This is a compatibility table between JSON representation layouts in CSL and [the cardano json-schema CIP](https://github.com/cardano-foundation/CIPs/pull/766/). (CIP-0116). ---- ### Why is this here? The goal is to eventually synchronize CSL's...
The value is moved and freed. Repro: ``` const csl = await import ('@emurgo/cardano-serialization-lib-nodejs'); let body = csl.TransactionBody.new( csl.TransactionInputs.new(), csl.TransactionOutputs.new(), csl.BigNum.from_str('1') ); let interval = csl.BigNum.one(); body.set_validity_start_interval_bignum(interval); let witnessSet =...
When creating the json request to pass along to Ledger and Trezor hardware wallets we use CSL to deserialize the transaction cbor. For reference scripts in outputs, we noticed that...
I am a beginner who just started developing with Cardano. I am writing a javascript code to move a utxo locked in the trivial.always_succeeds contract (preprod: addr_test1wquu2gxsvfa2lfeg7ljd6yq59dmuy4up8sm02l3vhz8h9fg4q3ckq), using a reference...
Consider the semantic difference between: `s1 -> [ t1 -> [ n1, n2 ] ]` and `s1 -> [ t1 -> [n1], t1 -> [n2]]` In CSL, `Mint` = `Map...
Hey @lisicky ! thanks for all the work you guys are putting for Chang HF. I'm updating GC using tag 12.0.0-beta.7 as time is running out. Specifically wanted to ask...
Hello there, i didn't find an example to generate new wallets so i wanted to ask if using the bip39 lib and use `const mnemonic = bip39.generateMnemonic()` can actually generate...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...