Date
1 - 1 of 1
from sawtooth_xo.processor.handler import XoTransactionHandler ImportError: No module named 'sawtooth_xo' #sawtooth #python
Dear all!
I'm trying to develop my first app in Sawtooth, but fail in the very first step in the guide (Python): https://sawtooth.hyperledger.org/docs/core/nightly/1-2/_autogen/sdk_TP_tutorial_python.html from sawtooth_sdk.processor.core import TransactionProcessor from sawtooth_xo.processor.handler import XoTransactionHandler def main(): # In docker, the url would be the validator's container name with # port 4004 processor = TransactionProcessor(url='tcp://127.0.0.1:4004') handler = XoTransactionHandler() processor.add_handler(handler) processor.start() I can't even run this file. Getting the Error: $ python3.5 EntryPoint.py
The package sawtooth_sdk is installed and I can call its methods. For sawtooth_xo is in pip no installation candidate. I'm not sure if this part is even for implementation - if not, would you tell me where the appropriate point for starting is? Thank you Mario
|
|