This is a modification of the official Python implementation of the PeerAssets protocol. It enables the creation of Trustless Donation Tracking Tokens and Address Tracking Tokens, two classes of token systems where the right to issue tokens depends on transactions to certain addresses. It is currently in early alpha status, so don't expect any kind of stability or user-friendliness.
pypeerassets
aims to implement the PeerAssets protocol itself and to provide elementary interfaces to underlying blockchain(s).
import pypeerassets as pa
provider = pa.Explorer(network='tppc')
deck = pa.find_deck(provider, 'b6a95f94fef093ee9009b04a09ecb9cb5cba20ab6f13fe0926aeb27b8671df43', 1, True)
print(deck.to_json())
pytest-3 -v test/
Create a python3 virtualenv in the root directory:
> virtualenv -p python3 venv
...
> source venv/bin/activate
(venv) > pip install -r requirements.txt
...
(venv) > pip install -r requirements-dev.txt
...
(venv) > pytest
...
pypeerassets
is lovingly crafted with python3 all around the world ❤️ 🐍 🌐