Utility for signing arbitrary messages with NEP2 Keypairs or WIF
Project description
Utility for signing arbitrary messages with NEP2 Keypairs or WIF
* Compatible with Python 3.5+
* https://pypi.python.org/pypi/neosign
nep2 usage
----------
.. code-block:: console
$ neosign abcabc -n
[nep2 key]> ********************
[nep2 key password]> ****************
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2
wif usage
---------
.. code-block:: console
$ neosign abcabc -w L447RbcX5FospWVCT9XkAZze2GG4xhgBhuZgtBrAJvTk5ZgeYcyB
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2
pass input file
---------------
.. code-block:: console
$ neosign --input myfile.txt -w L447RbcX5FospWVCT9XkAZze2GG4xhgBhuZgtBrAJvTk5ZgeYcyB
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2
Getting started
---------------
You need Python 3.5 or higher!
You can install `neosign` from PyPI with ``easy_install`` or ``pip``:
.. code-block:: console
$ pip install -U neosign
Alternatively, if you want to work on the code, clone this repository and setup your venv:
* Clone the repo: ``git clone https://github.com/CityOfZion/neosign.git``
* Create a Python 3 virtual environment and activate it:
.. code-block:: console
$ python3 -m venv venv
$ source venv/bin/activate
* Then install the requirements:
.. code-block:: console
$ pip install -e .
=======
History
=======
0.2.0 (2018-09-23)
------------------
* Allow passing in file for signable data with `--input` flag
0.1.0 (2018-08-23)
------------------
* Initial Release.
* Compatible with Python 3.5+
* https://pypi.python.org/pypi/neosign
nep2 usage
----------
.. code-block:: console
$ neosign abcabc -n
[nep2 key]> ********************
[nep2 key password]> ****************
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2
wif usage
---------
.. code-block:: console
$ neosign abcabc -w L447RbcX5FospWVCT9XkAZze2GG4xhgBhuZgtBrAJvTk5ZgeYcyB
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2
pass input file
---------------
.. code-block:: console
$ neosign --input myfile.txt -w L447RbcX5FospWVCT9XkAZze2GG4xhgBhuZgtBrAJvTk5ZgeYcyB
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2
Getting started
---------------
You need Python 3.5 or higher!
You can install `neosign` from PyPI with ``easy_install`` or ``pip``:
.. code-block:: console
$ pip install -U neosign
Alternatively, if you want to work on the code, clone this repository and setup your venv:
* Clone the repo: ``git clone https://github.com/CityOfZion/neosign.git``
* Create a Python 3 virtual environment and activate it:
.. code-block:: console
$ python3 -m venv venv
$ source venv/bin/activate
* Then install the requirements:
.. code-block:: console
$ pip install -e .
=======
History
=======
0.2.0 (2018-09-23)
------------------
* Allow passing in file for signable data with `--input` flag
0.1.0 (2018-08-23)
------------------
* Initial Release.
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
neosign-0.2.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for neosign-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b58ea6f10b5a18830a83d6292265e3bdf866fd3314a173e022912426b6ad1877 |
|
MD5 | 196380f60794f85da372e50d981c7ac7 |
|
BLAKE2b-256 | 9746c6dafe68403c10286de244e937efbc3b2e0608bbd6df8484c4f3bf15264a |