Re-exports§
pub use error::Error;pub use key_provider::Bip32KeyProvider;pub use key_provider::KeyProvider;pub use key_provider::StaticKeyProvider;pub use swap_storage::InMemorySwapStorage;pub use swap_storage::SwapStorage;pub use lightning_invoice;
Modules§
- error
- key_
provider - swap_
storage - Swap Storage
- vtxo_
watcher - Background VTXO watcher that auto-delegates and auto-renews VTXOs.
- wallet
Structs§
- Address
Vtxos - Chain
Swap Data - Data for a pending chain swap (ARK ↔ BTC).
- Chain
Swap Result - Result of creating a chain swap.
- Client
- A client to interact with Ark server
- Deprecated
Signer Migration Report - Result of a
Client::migrate_deprecated_signer_vtxospass, split into two symmetric legs: a VTXO leg and a boarding leg. They are never combined into a single intent. - Deprecated
Signer Report - Read-only, per-signer status of the deprecated server signers the wallet currently holds funds
under. Produced by
Client::deprecated_signer_status. - Issue
Asset Result - Result of an asset issuance.
- Migration
LegReport - Outcome of one
Client::migrate_deprecated_signer_vtxosleg. - Migration
Vtxo Ref - A single VTXO or boarding output referenced in a
DeprecatedSignerMigrationReport. - OffChain
Balance - Offline
Client - A client to interact with Ark Server
- Pending
Vhtlc Spend Tx - A pending (submitted but not finalized) VHTLC spend transaction.
- Reverse
Swap Data - Data related to a reverse submarine swap.
- Spend
Status - Submarine
Swap Data - Data related to a submarine swap.
- Swap
Status Info - Status information for a Boltz swap.
- Timeout
Block Heights - TxStatus
Enums§
- Chain
Swap Amount - The amount specification for a chain swap.
- Chain
Swap Direction - Direction of a chain swap.
- Deprecated
Signer Status - Status of a deprecated server signer at a specific point in time.
- Migration
Skip Reason - Why a single migration leg (
DeprecatedSignerMigrationReport::vtxoorDeprecatedSignerMigrationReport::boarding) settled nothing. - Pending
Vhtlc Spend Type - The type of VHTLC spend that was submitted but not yet finalized.
- Swap
Amount - The amount to be shared with Boltz when creating a reverse submarine swap.
- Swap
Status - All possible states of a Boltz swap.
- Swap
Type - The type of a Boltz swap.
Constants§
- DEFAULT_
BOLTZ_ REFERRAL_ ID - Default Boltz
referralIdsent with swap creation requests when the caller does not provide one. Identifies traffic originating from this SDK. - DEFAULT_
GAP_ LIMIT - Default gap limit for BIP44-style key discovery
- MAX_
VTXOS_ PER_ SETTLEMENT - Maximum number of inputs a single deprecated-signer migration leg will settle in one batch.