Dirac-Wallet
A quantum-resistant Solana wallet using post-quantum cryptography signatures and key generation algorithms.
Features
- Quantum-Resistant Cryptography: Uses CRYSTALS-Dilithium for signatures, providing protection against quantum computing attacks
- Solana Blockchain Support: Compatible with Solana devnet, testnet, and mainnet
- Secure Key Storage: Encrypted wallet files with strong password protection
- Transaction History: Track and view your transaction history
- Interactive CLI: Easy-to-use command line interface
- Airdrop Support: Request test SOL on devnet and testnet with simple commands
- Multi-Wallet Management: Create and manage multiple wallets easily
Installation
From PyPI
pip install dirac-wallet
From Source
# Clone the repository
git clone https://github.com/dirac-labs/dirac-wallet.git
cd dirac-wallet
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies and package
pip install -e .
Quick Start
# Create a new wallet named "mywallet"
dirac-wallet create mywallet
# Get test SOL from devnet (default network)
dirac-wallet airdrop mywallet
# Check your balance
dirac-wallet balance mywallet
# Send SOL to another address
dirac-wallet send mywallet <recipient_address> <amount>
# View transaction history
dirac-wallet history mywallet
# View wallet information
dirac-wallet info mywallet
# List all your wallets
dirac-wallet list-wallets
Command Reference
| Command | Description |
|---|---|
create <name> |
Create a new wallet |
balance <name> |
Check wallet balance |
send <name> <recipient> <amount> |
Send SOL to another address |
airdrop <name> [amount] |
Request SOL airdrop (devnet/testnet only) |
info <name> |
Show wallet information |
history <name> |
Show transaction history |
list-wallets |
List all wallets in the default directory |
Global Options
--networkor-n: Specify network (devnet, testnet, mainnet). Default isdevnet.--pathor-p: Specify custom wallet file path.
Networks
Dirac-Wallet supports three Solana networks:
devnet(default): Development network with test tokenstestnet: Test network with test tokensmainnet: Production network with real SOL (use with caution)
Example usage with network specification:
dirac-wallet create mywallet --network mainnet
Security Notes
- Your private keys are encrypted with your password
- Always back up your wallet files (stored in
~/.dirac_wallet/by default) - Keep your password secure - there is no recovery option if forgotten
- Transaction signatures use quantum-resistant algorithms by default
- The wallet is resistant to future quantum computing attacks
Development Status
Dirac-Wallet is currently in beta. Use on mainnet with caution.
- ✅ Key generation and storage
- ✅ Transaction signing and verification
- ✅ Network connectivity and transaction submission
- ✅ Command line interface
- ✅ Transaction history
- ✅ Multi-wallet support
- ✅ Quantum-resistant cryptography
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
License
MIT License - See LICENSE for details.
Acknowledgments
- Solana Foundation for blockchain infrastructure
- NIST for post-quantum cryptography standardization
Release files for dirac-wallet 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dirac_wallet-0.1.3.tar.gz | 44.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dirac_wallet-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.4 kB
Release files / dirac_wallet-0.1.3.tar.gz
| Download URL | dirac_wallet-0.1.3.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2208807211f60c4f312878be788ae5f95be59b6708035d30d6f87db9be8d2bb
|
|
BLAKE2b-256 checksum How to use checksums |
83cc304e8650cad495fdc6e53b9c2037d3957dd9b42c36c687eedb2797f2ead4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / dirac_wallet-0.1.3-py3-none-any.whl
| Download URL | dirac_wallet-0.1.3-py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6d19709562a93d02368c5b0f7114669fd452e329b9e68b2db0a179341db1db7
|
|
BLAKE2b-256 checksum How to use checksums |
0249479f2701e8b2056016900f4495e1e7f43523b1829f437eda416c5c9895d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|