Skip to main content

Tools for Hdac wallet management and offline transaction signing

Project description

Build Status codecov


Tools for Hdac wallet management and offline transaction signing
Forked from hukkinj1/cosmospy

Version 0.3.1

Tools for Hdac wallet management and offline transaction signing


Installing from PyPI repository (

pip install hdacpy



Run node & rest-server in following step: (
This library runs on RESTful API

Generating a wallet

from hdacpy.wallet import generate_wallet
wallet = generate_wallet()

The value assigned to wallet will be a dictionary just like:

    'private_key': '367360433d797cabd35361abdb3f6d0b94d27d7222d3af22a49028b7f4beb85d',
    'public_key': '0320a9b30c5fbbba3ffc34a1732c69365bc2a7de143f970318f8f1a2a38018dc6a',
    'address': 'friday1jg8n39n2m93aavjnxl7snnvt4q6n50g9alxgkl',
    'mnemonic': 'often day image remove film awful art satisfy stable honey provide cactus example flock vacuum adult cool install erase able pencil cancel retreat win'}

Signing transactions

from hdacpy.transaction import Transaction
tx = Transaction(
        amount=amount, gas_price=2000000, fee=10000
res = tx.send_tx()

transfer() executes POST to organize tx, and send_tx() signs & broadcast the tx.


  1. Fork/clone the repository.

  2. Install dependencies (you'll probably want to create a virtual environment, using your preferred method, first).

    pip install -r requirements.txt
  3. Install pre-commit hooks

    pre-commit install
  4. After making changes and having written tests, make sure tests pass:

  5. Commit, push, and make a PR.

Project details

Download files

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

Files for hdacpy, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size hdacpy-0.3.1-py3-none-any.whl (7.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page