AWS EC2 LINUX Python programming -

P-Rep tools (preptools) Tutorial

This tutorial is intended to give an introduction to using preptools. This guide will walk through the basics of setting up the development environment and the usage of preptools CLI commands.

Building from source

First, clone this project. Then go to the project directory, create a virtualenv environment, and run the build script. Then install preptools with the .whl file.

$ python -m venv venv # Create a virtual environment.

$ source venv/bin/activate # Enter the virtual environment.

(venv)$ ./[login to view URL] # run build script.

(venv)$ ls dist # check result wheel file.

[login to view URL]


This chapter explains how to install P-Rep Tools on your system.


OS: MacOS or Linux

Windows is not supported.


Make a virtualenv for Python 3.6.5+ (3.7 is also supported)

Check your Python version

$ python3 -V


Install dependencies

Some native tools and libraries are needed to install preptools without any errors.

$ sudo apt-get install -y libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev libyaml-cpp-dev

$ sudo apt-get install -y python3.7-dev libsecp256k1-dev python3-pip

Install preptools

Install the preptools with the .whl file as below.

(venv) $ pip install dist/[login to view URL]

Install the preptools with pypi

(venv) $ pip install preptools

How to use P-Rep tools

Command-line Interfaces (CLIs)


preptools provides several commands. Here is the list of the available commands.


usage: preptools [-h] command


P-Rep management CLI

optional arguments:

-h, --help show this help message and exit


registerPRep Register P-Rep

unregisterPRep Unregister P-Rep

setPRep Change enrolled P-Rep information


Change Governance variables used in network operation

getPRep Inquire P-Rep information

getPReps Get live status of all registered P-Rep candidates

txresult Get transaction result by hash

txbyhash Get transaction by hash

keystore Create keystore file in the specified path.

genconf Create config file in the specified path.


shorthand, Name default Description

-h, --help Show this help message and exit

preptools setting commands

There are four commands to set up the P-Rep information: preptools registerPRep, preptools unregisterPRep, preptools setPRep, and preptools setGovernanceVariables. Whenever the commands are called, they load the configuration from preptools_config.json. In order to use other configuration file, please specify the file location with the -c option.

preptools registerPRep


Register P-Rep.

There are three ways of registering a P-Rep.

Taidot: Python, Linux, Ubuntu, tietojärjestelmäarkkitehtuuri, Amazon Web Services

Näytä lisää: programming linux python emacs, linux kernel programming python, aws setup linux ec2, aws cli, install pip amazon linux, aws ec2 python, no package python3 available aws, how to install python on linux, install python3 amazon linux, install python 3.6 amazon linux, install python 3.6 on ec2, how a freelancer in python programming can earn in a month, how long does it take to learn python programming, how to earn from python programming online, how to find the above average selling houses python programming, how to find the average in python programming, how to learn python programming, linux server , aws , ec2 ,, how to deploy war file in aws ec2, how to deploy a laravel app on aws ec2? (part 2)

Tietoa työnantajasta:
( 3 arvostelua ) Menziken, Switzerland

Projektin tunnus: #21851940

5 freelanceria on tarjonnut keskimäärin 24$ tähän työhön


Hi, Nice to meet you! I have read your requirements carefully and I am very interesting for your project. I am confident of this project as I'm a professional Python expert with over 5 years of experience. It seems to Lisää

$20 USD 7 päivässä
(20 arvostelua)

Fingers crossed for your job.. I am sure of Angular.js, React.js, Vue.js, PHP, Laravel, node.js, Python, Django, MySQL, MongoDB, PostgreSQL, Docker, Javascript, Java, CSS, Bootstrap, HTML. Kindly do me a favor by hirin Lisää

$50 USD 1 päivässä
(13 arvostelua)
silicolabs lets chat

$20 USD 7 päivässä
(12 arvostelua)

I 'm a Full-stack developer and Ethical Hacker Working 4 years in the programming field. Technology Summary :➤ ✔️Programming/Languages: PHP, Python, JavaScript, jQuery, Vue.js; ✔️Databases Management: Oracle 8.x/9.x, Lisää

$10 USD 1 päivässä
(2 arvostelua)

I have broad experience in Python and require core python project. I have installed preptools and seen some functionalities. Please describe for your requirements.

$20 USD 7 päivässä
(0 arvostelua)