Martín Schere

Results 24 comments of Martín Schere

Having the same issue in some instances.

Right now I have to use LargestFirstMultiasset because RandomImprove is giving `Not enough ADA leftover to include non-ADA assets in a change address` error,

Indeed. Can confirm that this is happenning for me too.

```rust let mut output_total = self .get_explicit_output()? .checked_add(&Value::new(&self.get_deposit()?))? .checked_add(&Value::new(&self.min_fee()?))?; ``` Output total is defined there, and the only modification I see is the following: ```rust *output_total = output_total.checked_add(&Value::new(&input_fee))?; ``` We...

Thanks a lot for your answer. However, I think it's not NativeScript but rather PlutusScript. I tried hashing it manually with `blake2` for nodejs: ```js const scriptAddr = Address.from_bech32(readFileSync(filePath, 'utf-8'));...

You can now load the script CBOR into a `PlutusScript` instance and then use `hash_plutus_script`

oops, sorry, I confused this with another function

+1 for good docs

You cannot directly submit a transaction with the serialization lib if that's what you mean. You need a node for that. You can also check the SpaceBudz code for examples