Expand aitbc package with new utility modules and enhanced HTTP client
- Add new exception types: RetryError, CircuitBreakerOpenError, RateLimitError - Enhance AITBCHTTPClient with retry logic, caching, circuit breaker, and rate limiting - Add AsyncAITBCHTTPClient for async HTTP operations - Add crypto module with Ethereum key derivation, signing, encryption, and hashing utilities - Add web3_utils module with Web3Client and create_web3_client - Add security module with token generation, API key management
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import json
|
||||
import sys
|
||||
from aitbc.paths import get_data_path
|
||||
|
||||
|
||||
def handle_wallet_create(args, create_wallet, read_password, first):
|
||||
@@ -140,7 +141,8 @@ def handle_wallet_backup(args, first):
|
||||
print("Error: Wallet name is required")
|
||||
sys.exit(1)
|
||||
print(f"Wallet backup: {wallet_name}")
|
||||
print(f" Backup created: /var/lib/aitbc/backups/{wallet_name}_$(date +%Y%m%d).json")
|
||||
backup_path = get_data_path("backups")
|
||||
print(f" Backup created: {backup_path}/{wallet_name}_$(date +%Y%m%d).json")
|
||||
print(" Status: completed")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user