ootle-rs 0.9.0

A Rust library for interacting with the Tari Ootle network.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//   Copyright 2026 The Tari Project
//   SPDX-License-Identifier: BSD-3-Clause

use tari_ootle_wallet_crypto::StealthProofError;

use crate::{Address, signer::SignerError, stealth::StealthProviderError};

#[derive(Debug, thiserror::Error)]
pub enum WalletError {
    #[error("Signer not found for address {address}")]
    KeyProviderNotFound { address: Address },
    #[error(transparent)]
    SignerError(#[from] SignerError),
    #[error("Stealth proof error: {0}")]
    StealthProofError(#[from] StealthProofError),
    #[error("Stealth provider error: {0}")]
    StealthProviderError(#[from] StealthProviderError),
}