This is the Python 3 SDK for interacting with a dragonchain. It provides functionality to be able to interact with a dragonchain through a simple sdk with minimal configuration needed.
All documentation for this SDK can be found here
Windows note: If running on a Windows computer, for the following
section, you will probably have to replace python3
with python
in the commands below depending on how python3 was installed on your
computer.
First ensure that you have python3 installed on your machine.
The easiest way to install this repository is with pip. Simply run:
python3 -m pip install -U dragonchain-sdk
You can also install this package from source. To do so, get the source
code (via git clone like
git clone https://github.com/dragonchain/dragonchain-sdk-python.git
or simply downloading/extracting a source tarball from releases), then
navigate into the root project directory. Now ensure that you have pip
installed and you can install all the requirements for this project
with:
python3 -m pip install -U -r requirements.txt
Once these requirements successfully install, run:
./run.sh build
sudo ./run.sh install
On windows, simply replace the above 2 commands with:
python setup.py build
python setup.py install
Please view the docs for configuration
Dragonchain is happy to welcome contributions from the community. You can get started on github.