Skip to main content

CLI for managing dpos delegates

Project description

# dpos-deputy

Howdy delegate! You have just been deputized!

### Installation

Install python 3.6

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6-dev

sudo python3.6
sudo pip3.6 install virtualenv

If you get an error related to hidapi or gcc, try this:
sudo apt-get install gcc
sudo apt install libudev-dev libusb-1.0-0-dev

Create a virtual environment (replace myvirtualenv with whatever seems appriopriate, for example deputy)

virtualenv myvirtualenv -p python3.6

Activate the virtualenv.

source myvirtualenv/bin/activate

pip install dpos-deputy

Deputy requires running ark-node instances/other network nodes like Kapu or Persona to function.

### Initial setup

Start out by enabling autocompletion for an easier time.

deputy enable_autocomplete

### Help

Use flags to figure out what the commands do.

deputy --help

### Starting out
Start out by setting your configurations for further use.

deputy set_config --help

### Example command
Setting up your configuration:

deputy -p mypassword set_config

This will lead you through a series of prompts to store persistent configurations. If you don't use a
password, deputy will default to default_password for encryption purposes.

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 dpos-deputy, version 0.0.39
Filename, size File type Python version Upload date Hashes
Filename, size dpos-deputy-0.0.39.tar.gz (10.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page