Communicate with the Nimiq Node

Requirements

You should have a Nimiq Node running on your machine on port 8648.

Install nimiq nimiq-api-python

Clone the repo

git clone https://github.com/jgraef/nimiq-api-python.git

Install python setuptools

sudo apt-get install python3-setuptools

Go into the repo folder

cd nimiq-api-python

Install it

python3 setup.py install

Move to the examples directory

mv examples/

Test the shell example

python3 shell.py

If everything is working fine you should be able to query Blockchain data now. accounts()