Simple wallet for Cryptocurrencies
Project description
cryptux
A simple wallet for cryptocurrencies that can:
Create, import, export accounts
Sign transactions
Usage
The interactive tool cryptux is meant to be simple:
$ cryptux
usage: cryptux [-h] [-t {BITCOIN}]
optional arguments:
-h, --help show this help message and exit
-t {BITCOIN}, --coin-type {BITCOIN}
coin type to generate account address for
At the moment of writing, only Bitcoin is supported. Ethereum account support is coming soon.
Developer Guide
Before trying to run tools/cryptux locally, make sure it uses local libraries by running:
python setup.py develop
It’s highly recommended that you use the package virtualenvwrapper.
To test the changes without publishing to PyPI, force pip to install from local dir:
pip install -e /path/to/cryptux
Publishing to test PyPI can be done via this command:
python setup.py sdist upload -r testpypi
Use flake8 to detect PEP8 violations and format code nicely using yapf -i, do check the project YAPF.
Bitcoin
There are 3 ways to generate a Bitcoin address with cryptux:
Generate from private key in HEX
Generate from private key in WIF format
Generate private key offline and derive account address
A sample session would go like this:
$ cryptux -t BITCOIN
Private key format (WIF/HEX/NEW): new
Network type (MAINNET/TESTNET): mainnet
Public key format (COMPRESSED/UNCOMPRESSED): compressed
================================================================
Remember to protect the Private Key!
================================
Private Key in HEX: 7161B2F99B4F0DB740C27A35B55FDDAE0FD90A8C23789291106667D29F1859F6
Private Key in WIF: L127LBiTmhFXoXsz1qymwNrbsmk1s71kBycoi5VH3i22tDekzYY1
================================================================
Network type: MAINNET
Public key format: COMPRESSED
Generated Bitcoin address: 193GxFgNCtpvsYPnWErEvXNETgGiJ7HG5F
================================================================
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
File details
Details for the file cryptux-0.0.15.tar.gz
.
File metadata
- Download URL: cryptux-0.0.15.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a20ab4050c6e77822ff2381c2cebbff6c961fbf8d9b4698f953cad3ab138da17
|
|
MD5 |
897d3675a5f8af8a6bb0b1cb8de23f00
|
|
BLAKE2b-256 |
ec430309141275bbfa0f384096e21540f37b4e496e5ce5e77d2ac918f92e4809
|