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.
We're generating cbor via cardano-cli to be signed by Nami wallet (which uses serialization-lib). Serialization-lib fails to parse eUTXO transactions generated by cardano-cli - in particular it seems to be...
Hi, I'm trying to migrate to '@emurgo/cardano-serialization-lib-browser' from asmjs. I'm using - "typescript": "^4.1.5", - "wasm-loader": "^1.3.0" OR "webassembly-loader": "^1.1.0" - "@emurgo/cardano-serialization-lib-browser": "^7.1.0", - "@craco/craco": "^6.1.2", - "react-scripts": "^4.0.3", -...
Hello, I was curious if this library could be used in a native rust target that is not wasm or web. For example to add light wallet functionality to a...
Currently rust api and implementation of the library isn't idiomatic rust code, which makes it awkward to read and understand. I think we can change the library so it is...
For **most** types we have the `to_bytes()` and `from_bytes()` formats using the direct CBOR format in the [alonzo.cddl binary spec](https://github.com/input-output-hk/cardano-ledger/blob/master/eras/alonzo/test-suite/cddl-files/alonzo.cddl). This causes some confusion for various types that are essentially...
Currently trying to submit a transaction via `cardano-submit-api` and I get ``` [cardano-tx-submit:Info:528] [2021-10-20 17:15:47.36 UTC] txSubmitPost: failed to submit transaction: transaction read error RawCborDecodeError [DecoderErrorDeserialiseFailure "Byron Tx" (DeserialiseFailure 1...
Using webpack 5.24.4 1. `Error: Cannot find module 'util'` is thrown when loading. Commenting out `const { TextDecoder } = require(String.raw);` fixes the issue, but is there a way to...
npm run js:build ``` > [email protected] js:build /home/34r7h/cardano-serialization-lib/example > rm -rf dist && tsc index.spec.ts:67:54 - error TS2554: Expected 6 arguments, but got 4. 67 const txBuilder = CardanoWasm.TransactionBuilder.new( ~~~~...
[//]: # (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`...
I have existing wallets and keys generated by `cardano-cli stake-address build`, which produces `.skey` and `.pkey` files. From this [generating-transactions example](https://github.com/Emurgo/cardano-serialization-lib/blob/master/doc/getting-started/generating-transactions.md), we need bech32 like so: `const rootKey = CardanoWasm.BIP32PrivateKey.from_bech32("xprv17qx9vxm6060qjn5fgazfue9nwyf448w7upk60c3epln82vumg9r9kxzsud9uv5rfscxp382j2aku254zj3qfx9fx39t6hjwtmwq85uunsd8x0st3j66lzf5yn30hwq5n75zeuplepx8vxc502txx09ygjgx06n0p");`...