cardano-client-lib
cardano-client-lib copied to clipboard
Cardano client library in Java
This PR is to add support for remaining transaction types - Protocol Parameter Update - MoveInstanteneousReward tx - Pool Registration - Pool Retirement
Koios backend's UtxoService impl needs to populate following new fields in Utxo class 1. inlineDatum 2. referenceScriptHash
Modify min ada calculation logic due to inline datum and reference script support in Babbage era.
A new field "coinsPerUtxoSize" has been added to ProtocolParams. Update GraphQL backend to populate this new field. The existing field "coinsPerUtxoWord" is deprecated.
Add Babbage era specific fields (https://github.com/input-output-hk/cardano-ledger/blob/master/eras/babbage/test-suite/cddl-files/babbage.cddl) - TransactionBody - collateral return - total collateral - reference inputs ``` post_alonzo_transaction_output = { 0 : address , 1 : value , ?...
There are two new fields added to utxo in Babbage era to support inline datum and script reference. The Utxo class has already been updated with two new fields ```...
- Add coinsPerUtxoSize field to ```ProtocolParams``` class - Add @Deprecated to coinsPerUtxoWord field
Verify if the generated child public key (from parent public key) is the identity point (0, 1). If yes, discard the child. Please refer to this line https://github.com/bloxbean/cardano-client-lib/blob/22c9d2338c0345e29675308eebcc07d969bd5178/src/main/java/com/bloxbean/cardano/client/crypto/bip32/HdKeyGenerator.java#L250
https://github.com/bloxbean/cardano-client-lib/blob/a680754ed5effc00fda93d18945005379f6dee6d/src/test/java/com/bloxbean/cardano/client/transaction/spec/RedeemerTest.java#L30 (If run with `assertThat(deRedeemer).isEqualTo(redeemer);`, test fails)