1

I'm trying to use the genesis script from innova to generate a genesis block of Xevan_hash

https://github.com/innovacoin/GenesisH0/blob/master/genesis.py

I'm using these parameters: python genesis.py -a xevan_hash -z "a news string" -p "myprivate key"

and I always get this error:

Traceback (most recent call last):
  File "genesis.py", line 224, in <module>
    main()
  File "genesis.py", line 15, in main
    tx = create_transaction(input_script, output_script, options)
  File "genesis.py", line 74, in create_transaction
    Bytes("version", 4),
TypeError: __init__() takes exactly 2 arguments (3 given)
1

Run the following command in your terminal:

pip install construct==2.5.2

Then try to run the python script again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.