Skip to main content

Quantum-resistant Solana wallet

Project description

Dirac-Wallet

A quantum-resistant Solana wallet using post-quantum cryptography signatures and key generation algorithms.

Dirac Logo

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

  • --network or -n: Specify network (devnet, testnet, mainnet). Default is devnet.
  • --path or -p: Specify custom wallet file path.

Networks

Dirac-Wallet supports three Solana networks:

  • devnet (default): Development network with test tokens
  • testnet: Test network with test tokens
  • mainnet: 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dirac_wallet-0.1.0.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dirac_wallet-0.1.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file dirac_wallet-0.1.0.tar.gz.

File metadata

  • Download URL: dirac_wallet-0.1.0.tar.gz
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for dirac_wallet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 384abec3a158534baf15aa4f730e1aefe75022335fd1523267bd7f95db661f3d
MD5 6e20f071d32d9bf126b7dc77ad674928
BLAKE2b-256 8ed5c8c8a69a5b1e2915a79dcde18a7f73af92862ae8dd210786a7858d369b2e

See more details on using hashes here.

File details

Details for the file dirac_wallet-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dirac_wallet-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for dirac_wallet-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea5dbc4f8d69c9c9bcd7b8a989e349355161065997fec38c9e3c4804a16e521
MD5 bdb75525ec855c98f2b90541256a6666
BLAKE2b-256 79d0f1a9dc6eb7e7132fcd9690d048647be85b82c74a04520522474a7273e859

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page