CLI for managing Cryptnox smart card wallets.
Project description
cryptnox-cli
CLI for managing Cryptnox smart card wallets
cryptnox-cli is a command-line interface for managing Cryptnox Smart cards, enabling secure seed initialization and cryptographic signing for Bitcoin and Ethereum.
Supported hardware
- Cryptnox Smart cards 💳
- Standard PC/SC Smart card Readers: either USB NFC reader or a USB smart card reader → Readers are also available in the Cryptnox shop.
Get your card and readers here: shop.cryptnox.com
Installation
💡 This is only a minimal setup. Additional packages may be required depending on your operating system. See Installation and Requirements.
From PyPI
pip install cryptnox-cli
From source
git clone https://github.com/cryptnox/cryptnox-cli.git
cd cryptnox-cli
pip install .
This installs the package and makes the cryptnox command available (if your Python installation is in your system PATH).
Quick usage examples
💡 The examples below are only a subset of available commands. The complete list of commands and detailed usage instructions is described in the official documentation.
1. Dual initialization
-
Factory reset each card:
cryptnox reset→ enter PUK → verify reset. -
Initialize each card:
cryptnox init→ (optional) set name/email → set PIN (4–9 digits) → set or generate PUK → verify init. -
Run dual seed procedure:
cryptnox seed dual— follow prompts: insert Card A (enter PIN), swap to Card B (enter PIN), swap back as requested.
2. Sign and send a Bitcoin transaction
- Create or obtain a raw unsigned transaction externally.
- Run the signing & send command:
cryptnox btc send <recipient_address> <amount> [-f <fees>]
3. Change PIN code
- Run command:
cryptnox change_pin - Enter current PIN → enter new PIN → verify change.
- Check with
cryptnox infousing new PIN (BTC & ETH accounts displayed).
3. Change PIN code
- Run command:
cryptnox change_pin - Enter current PIN → enter new PIN → verify change.
- Check with
cryptnox infousing new PIN (BTC & ETH accounts displayed).
4. Get extended public key (xpub)
- Run command:
cryptnox get_xpub - Enter PIN → enter PUK
- The card returns the xpub
Documentation
The full User & Developer documentation is available at the Cryptnox CLI Documentation. It covers installation and setup, usage guides and examples, CLI command reference, and developer notes with API details.
License
cryptnox-cli is dual-licensed:
- LGPL-3.0 for open-source projects and proprietary projects that comply with LGPL requirements
- Commercial license for projects that require a proprietary license without LGPL obligations (see COMMERCIAL.md for details)
For commercial inquiries, contact: contact@cryptnox.com
========= Changelog
1.0.3 <https://github.com/Cryptnox-Software/cryptnox-cli/compare/v1.0.2...v1.0.3>_
Added ^^^^^
- Added Cryptnox logo to documentation
- Added Other/Proprietary License option
Changed ^^^^^^^
- Updated cryptnox-sdk-py to 1.0.2
- Updated other dependencies to latest versions
- Modified documentation UI, colors, and layout
- Updated documentation license information
1.0.2 <https://github.com/Cryptnox-Software/cryptnox-cli/compare/v1.0.1...v1.0.2>_
Changed ^^^^^^^
- Updated README file with improved documentation
- Modified commercial license details
1.0.1 <https://github.com/Cryptnox-Software/cryptnox-cli/compare/v2.9.1...ver1.0.1>_
Added ^^^^^
- Package renamed from
cryptnoxprotocryptnox_cli- Install using:
pip install cryptnox-cli
- Install using:
- BIP39 passphrase support for seed generation and recovery
- BIP39 passphrase length limitation and validation
- Sphinx documentation framework for comprehensive CLI documentation
- GitHub Actions workflows for automated documentation deployment
- Constants file for centralized configuration management
- Flake8 code quality checks in CI/CD workflow
Changed ^^^^^^^
- Updated README with improved documentation and examples
- Modified documentation configuration and deployment process
- Reconfigured documentation deployment workflow
- Updated setup configuration (setup.cfg) for better package management
- Improved code organization with constants file
Fixed ^^^^^
- Resolved runtime import errors
- Fixed flake8 code style errors throughout the codebase
- Fixed PUK retries persistence issue
Removed ^^^^^^^
- Removed cleos dependency
- Removed Ropsten testnet support (deprecated network)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cryptnox_cli-1.0.3.tar.gz.
File metadata
- Download URL: cryptnox_cli-1.0.3.tar.gz
- Upload date:
- Size: 127.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed72587b88a62b449914de161650f4c9c427ec8b643ec61e62b11162a8198b3c
|
|
| MD5 |
8e7e86de43b2ab72bbadf0c86d720105
|
|
| BLAKE2b-256 |
a78c508497df03bf3cc1795d52ca3567b54109529798eef3f3cf13812fd2b21a
|
File details
Details for the file cryptnox_cli-1.0.3-py3-none-any.whl.
File metadata
- Download URL: cryptnox_cli-1.0.3-py3-none-any.whl
- Upload date:
- Size: 157.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fbb57cca51fd706841f21ab57c1746de628efc553502fafb976fcb044daf62e
|
|
| MD5 |
124fd9ec8cb4a33beb4b294898b672c6
|
|
| BLAKE2b-256 |
c3cb68ba7a4775268213b80f60d81468a057ef75b4f14b8ae80f99c8a7309b8c
|