dig-wallet-backend 0.31.1

Canonical event-driven Chia wallet backend for the DIG Network. Exports two carefully-partitioned seams: an `engine` seam (imported by dig-node — the single running wallet instance: state, sync, unsigned-spend construction, event emission; identity-parameterized, never holds a private key) and a `client` seam (used by dig-app — the event subscriber, spend review/decode, the signing interface + identity provider that hold the key). Clean-room, chia-wallet-sdk-based. Replaces dig-l1-wallet.
Documentation
//! The shared `types` layer — the wire contract both seams import (SPEC §2).
//!
//! Pure, I/O-free data: identities, values/records, the event taxonomy, spend objects, and
//! the catalogued error type. This layer is ALWAYS compiled (it is not feature-gated) and
//! deliberately contains NO secret material — no `SecretKey`, mnemonic, or seed ever appears
//! here (the key-isolation invariant, SPEC §1d).
//!
//! The event taxonomy + its `WalletId`/`Amount`/`AssetId` payload newtypes are NOT defined
//! here — they are re-exported from the canonical `dig-events-protocol` crate, the ONE
//! ecosystem definition the engine emits against and dig-app subscribes against (#1067, #1072).

pub mod error;
pub mod hint;
pub mod identity;
pub mod offer;
pub mod options;
pub mod request;
pub mod spend;
pub mod tips;
pub mod value;

pub use dig_events_protocol::{
    filter_events, Amount, AssetId, CatchUp, Cursor, EmittedEvent, EventEmitter, EventKind,
    SyncLifecycle, SyncStatus, WalletEvent, WalletId,
};
pub use error::{WalletError, WalletErrorCode, WalletResult};
pub use hint::Hint;
pub use identity::{Did, IdentityRef};
pub use offer::{
    AssembleOfferRequest, CancelOfferRequest, CombineOffersRequest, FinalizeTakeRequest,
    MakeOfferRequest, OfferBuildId, OfferString, OfferSummary, OfferedAssets, PendingOfferBuild,
    RequestedAssets, SummarizeOfferRequest, SummaryAsset, TakeOfferRequest,
};
pub use options::{
    ExerciseOptionRequest, MintOptionRequest, MintedOption, OptionHandle, OptionOnChainState,
    OptionStrike, TransferOptionRequest, WireCoin,
};
pub use request::{
    CombineXchRequest, MultiSendCatRequest, MultiSendXchRequest, SendCatRequest, SendLeg,
    SendXchRequest, SplitXchRequest,
};
pub use spend::{RequiredSignature, SignedBundle, UnsignedSpend};
pub use tips::{
    AutoTipOutcome, AutoTipPolicy, AutoTipRequest, CapReason, TipDecision, TipLedger, TipMode,
    TipRequest,
};
pub use value::{
    Address, Balance, CatRecord, CoinRecord, DidRecord, Network, NftRecord, Puzzlehash,
    SpendOutput, TransactionRecord, TransactionSummary,
};