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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//! # rustywallet-export
//!
//! Export private keys to various formats.
//!
//! ## Supported Formats
//!
//! - **WIF** - Wallet Import Format (compressed/uncompressed)
//! - **Hex** - Raw hex string (with optional 0x prefix)
//! - **JSON** - Structured JSON with address, WIF, hex, public key
//! - **CSV** - Comma-separated values for batch export
//! - **Paper Wallet** - Address + WIF pair for cold storage
//! - **BIP38** - Password-encrypted private key
//! - **BIP21** - Bitcoin URI format for QR codes
//!
//! ## Quick Start
//!
//! ```rust
//! use rustywallet_export::prelude::*;
//! use rustywallet_keys::prelude::PrivateKey;
//!
//! let key = PrivateKey::random();
//!
//! // Export to WIF
//! let wif = export_wif(&key, Network::Mainnet, true);
//! println!("WIF: {}", wif);
//!
//! // Export to hex
//! let hex = export_hex(&key, HexOptions::new());
//! println!("Hex: {}", hex);
//!
//! // Export to JSON
//! let json = export_json(&key, Network::Mainnet).unwrap();
//! println!("{}", json);
//!
//! // Generate paper wallet
//! let paper = to_paper_wallet(&key, Network::Mainnet, AddressType::P2PKH).unwrap();
//! println!("Address: {}", paper.address);
//! println!("WIF: {}", paper.wif);
//! ```
pub use ;
pub use ;
pub use export_wif;
pub use export_hex;
pub use ;
pub use export_csv;
pub use to_paper_wallet;
pub use export_bip38;
pub use to_bip21_uri;
/// Prelude module for convenient imports.