| Crates.io | pqcoin |
| lib.rs | pqcoin |
| version | 1.8.0 |
| created_at | 2025-11-10 03:18:54.359638+00 |
| updated_at | 2025-11-10 03:18:54.359638+00 |
| description | pqcoin - Post-quantum digital currency using SPHINCS+ signatures |
| homepage | https://github.com/quantdum/pqcoin |
| repository | https://github.com/quantdum/pqcoin |
| max_upload_size | |
| id | 1924686 |
| size | 1,007,542 |
Post-quantum digital currency CLI - Quantum-resistant cryptocurrency vault with SPHINCS+ signatures and interactive TUI dashboard.
Fixed total supply of 4,294,967,296 tokens (2³² with 6 decimals).
Distribution:
Minting Model:
Before installing pqcoin, you need Rust and Cargo installed on your system.
Linux/macOS/WSL:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After installation, restart your terminal or run:
source $HOME/.cargo/env
Windows:
We recommend using WSL (Windows Subsystem for Linux) for the best experience:
Install WSL (if not already installed):
wsl --install
Launch WSL:
wsl in PowerShell, orbash in Command PromptInstall Rust in WSL:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
Alternatively, you can use native Windows with Visual Studio C++ Build Tools, but WSL provides better terminal experience for the quantum-themed UI.
Once Rust is installed, simply run:
cargo install pqcoin
That's it! The pqcoin command is now available globally.
git clone https://github.com/quantdum/pqcoin.git
cd pqcoin
cargo install --path .
git clone https://github.com/quantdum/pqcoin.git
cd pqcoin
cargo build
./target/debug/pqcoin --help
./install.sh
Launch the interactive dashboard for the best experience:
pqcoin dashboard
# Or simply:
pqcoin
The dashboard will use your active vault profile from ~/.qdum/vaults.json.
Dashboard Features:
Keyboard Controls:
U - Unlock vault (44-step quantum verification)R - Register vault on-chainL - Lock vaultT - Transfer tokensQ - QuitInitialize New Vault
pqcoin init
This creates:
~/.qdum/vaults.jsonKeep your keys safe! They're stored in ~/.qdum/<vault-name>-{pq-key,wallet}.json
Fund Your Wallet
# Get devnet SOL for testing
solana airdrop 1 <YOUR_WALLET_ADDRESS> --url devnet
Launch Dashboard
pqcoin dashboard
# Or simply:
pqcoin
Register On-Chain
Press R in the dashboard to register your SPHINCS+ public key on-chain.
Claim Airdrop
Press A to claim 100 tokens from the community airdrop pool (requires registered PQ account).
Lock Your Vault
Press L to lock your vault and secure your tokens.
Unlock When Needed
Press U to unlock - watch the 44-step quantum verification process in real-time!
For scripting or automation, you can use individual commands:
# Register vault on-chain
pqcoin register
# Lock vault
pqcoin lock
# Unlock vault (44-transaction quantum verification)
pqcoin unlock
# Check vault status
pqcoin status
# Check balance
pqcoin balance
# Transfer tokens
pqcoin transfer <RECIPIENT_ADDRESS> <AMOUNT>
# Bridge operations
pqcoin bridge wrap <AMOUNT> # Convert to quantum-protected variant
pqcoin bridge unwrap <AMOUNT> # Convert back to standard tokens
# Claim airdrop (100 tokens, 24h cooldown)
pqcoin claim-airdrop
# Vault management
pqcoin vault list # List all vaults
pqcoin vault switch # Interactive vault switcher
pqcoin vault create <NAME> # Create new vault
pqcoin vault show # Show current vault details
Note: Commands use the active vault from ~/.qdum/vaults.json. Use pqcoin vault switch to change vaults.
pqcoin uses a multi-vault system stored in ~/.qdum/vaults.json:
# Create additional vaults
pqcoin vault create personal
pqcoin vault create business
# Switch between vaults
pqcoin vault switch personal
# List all vaults
pqcoin vault list
Default: Devnet (https://api.devnet.solana.com)
To use mainnet (when deployed):
src/solana/client.rs with mainnet RPC and program IDscargo build --release⚠️ IMPORTANT: Keep your SPHINCS+ private key extremely safe!
cargo build
cargo test
cargo install --path .
cargo uninstall pqcoin
Make sure ~/.cargo/bin is in your PATH:
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
solana airdrop 1 --url devnet
MIT