|
24 | 24 | ├── key_validator.rs # Solana private key validation |
25 | 25 | ├── secure_storage.rs # Keychain integration and encryption |
26 | 26 | ├── wallet_manager.rs # Wallet CRUD operations |
27 | | -├── transaction_handler.rs # Batch send and token mixing logic |
28 | 27 | ├── vanity_wallet.rs # Vanity address generation |
29 | | -├── config.rs # Configuration management |
30 | | -└── logging.rs # Logging utilities |
| 28 | +├── config.rs # Configuration management (not currently integrated) |
| 29 | +├── logging.rs # Logging utilities (not currently integrated) |
| 30 | +└── transaction_handler.rs # Batch send and token mixing logic (not currently integrated) |
31 | 31 | ``` |
32 | 32 |
|
| 33 | +Note: Some modules (`config.rs`, `logging.rs`, `transaction_handler.rs`) exist as files but are not yet imported in `main.rs`, indicating they may be planned features or incomplete integrations. |
| 34 | + |
33 | 35 | ## Build Process |
34 | 36 |
|
35 | 37 | ### Prerequisites |
@@ -230,8 +232,14 @@ When modifying the TUI: |
230 | 232 |
|
231 | 233 | ## Known Issues |
232 | 234 |
|
233 | | -- The project currently has a compilation error in `wallet_manager.rs` related to `Keypair::from_bytes` which has been deprecated in solana-sdk 3.0.0 |
234 | | -- The TUI uses a deprecated `frame.size()` method that should be replaced with `frame.area()` |
| 235 | +- **Compilation Error**: The project currently has a compilation error in `wallet_manager.rs` at line 162. The code uses `Keypair::from_bytes(&key_bytes)` which does not exist in solana-sdk 3.0.0. The available methods are: |
| 236 | + - `Keypair::new()` - Creates a new random keypair |
| 237 | + - `Keypair::new_from_array([u8; 32])` - Creates from a 32-byte seed (not 64-byte keypair) |
| 238 | + - `Keypair::from_base58_string(&str)` - Creates from base58 string |
| 239 | + |
| 240 | + The keypair bytes need to be split: first 32 bytes are the secret key seed, which should be used with `new_from_array()`. |
| 241 | + |
| 242 | +- **Deprecation Warning**: The TUI uses `frame.size()` at line 539 in `src/tui.rs`. While this currently works, ratatui has marked it as deprecated in favor of `frame.area()`. This is a minor issue that only generates a warning. |
235 | 243 |
|
236 | 244 | When addressing issues: |
237 | 245 | - Check if they're already known and documented |
|
0 commit comments