0.7.0-beta1
Pre-releaseKey Highlights
-
New Wallet API (Preview)
A wrapper around the existingAccount
API that provides the capability to scan multiple addresses under the same wallet for UTxOs. It also keeps track of the derivation path to find the correct signer based on UTxO selection and it's compatible withQuickTx
api.Examples: For examples, please check these integration tests
Note: This API is in preview. It should not be used in production yet.
-
[CIP 129] Gov Identifiers Implementation
Implementation of the CIP 129 standard for governance identifiers. -
New
completeAndWaitAsync
methods in the QuickTx API
These methods return aCompletableFuture
to enable asynchronous waiting, instead of the current blocking implementation:CompletableFuture<TxResult> completeAndWaitAsync() CompletableFuture<TxResult> completeAndWaitAsync(Consumer<String> logConsumer) CompletableFuture<TxResult> completeAndWaitAsync(Consumer<String> logConsumer, Executor executor) CompletableFuture<TxResult> completeAndWaitAsync(Duration checkInterval, Consumer<String> logConsumer) CompletableFuture<TxResult> completeAndWaitAsync(Duration checkInterval, Consumer<String> logConsumer, Executor executor)
-
Refactoring of Value class : To include new utility methods.
add
,subtract
(#457) -
New methods in MetadataBuillder : To simplify the creation of different types of metadata (#467)
Breaking Change
TxSigner.sign
method signature update:
TheTxSigner.sign
method now requires aTxBuilderContext
parameter. If you build a transaction first and then sign it with aTxSigner
, you must include theTxBuilderContext
as part of the signing process.
Existing Code:
TxSigner signer = SignerProviders.signerFrom(sender);
Transaction transaction = TxBuilderContext.init(utxoSupplier, protocolParamsSupplier)
.build(builder);
Transaction signedTxn = signer.sign(transaction);
New Code :
TxSigner signer = SignerProviders.signerFrom(sender);
var txContext = TxBuilderContext.init(utxoSupplier, protocolParamsSupplier);
Transaction transaction = txContext
.build(builder);
Transaction signedTxn = signer.sign(txContext, transaction);
What's Changed
- #466 Convert JSON object to CBORMetadataMap and JSON Array to CBORMetadataList / New methods in MetadataBuilder by @satran004 in #467
- chore: renamed plus and minus to add and subtract, added utility methods by @nemo83 in #457
- 213 provide hd wallet implementation by @Kammerlo in #363
- #469 CIP 129 Gov Id implemenations by @satran004 in #472
- Koios/Ogmios - IndexOutofBound exception for PlutusV3 cost models by @satran004 in #475
- #446 Support for CompletableFuture in QuickTxBuilder by @satran004 in #476
- Update intro.md by @juv in #478
New Contributors
Full Changelog: v0.6.2...v0.7.0-beta1