Functions
Link copied to clipboard
Wire a chain block-tick Flow (emit once per new block) so MidnightContract.observeLedger refreshes reactively instead of polling. The SDK injects one mapped from the indexer's block subscription. Optional — without it observeLedger falls back to a poll.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Wire a ContractOperationListener so every contract call/deploy through this config runs as a tracked foreground operation (the SDK injects one). Optional — configs without it behave exactly as before.
Link copied to clipboard
Provide an embedded TransactionBalancer instead of a remote wallet URL.