1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Copyright (c) Subzero Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
//! Deprecated wallet module - use [`crate::keyring`] instead.
//!
//! This module re-exports types from the [`crate::keyring`] module for backward
//! compatibility. All types are deprecated and will be removed in a future version.
//!
//! # Migration Guide
//!
//! | Old Type | New Type |
//! |----------|----------|
//! | `Wallet` | [`Keyring`](crate::keyring::Keyring) |
//! | `Account` | [`DerivedKeypair`](crate::keyring::DerivedKeypair) |
//! | `WalletProvider` | [`KeyringProvider`](crate::keyring::KeyringProvider) |
//! | `InMemoryWalletProvider` | [`InMemoryKeyringProvider`](crate::keyring::InMemoryKeyringProvider) |
//! | `FileWalletProvider` | [`FileKeyringProvider`](crate::keyring::FileKeyringProvider) |
//!
//! # Example Migration
//!
//! Before:
//! ```rust,ignore
//! use rialo_cdk::wallet::{Wallet, WalletProvider, InMemoryWalletProvider};
//! ```
//!
//! After:
//! ```rust,ignore
//! use rialo_cdk::keyring::{Keyring, KeyringProvider, InMemoryKeyringProvider};
//! ```
// Note: This module is deprecated - marked at `pub mod wallet` in lib.rs
// Re-export submodules from keyring for backward compatibility
pub use crateencryption;
pub use cratefile;
pub use cratemnemonic;
pub use crate;
// Provide a traits module that re-exports from keyring::traits
// Re-export types
pub use crateFileWalletProvider;
pub use crateInMemoryWalletProvider;
pub use crate;
pub use crate;