Questions tagged [python]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
24 views

How to connect to sandboxed server with pytezos?

I'm trying to use pytezos with sandboxed tezos server. Pytezos requires the following arguments for connection: shell, set to http://localhost:18731/ key, which I can't figure out I tried the ...
3
votes
2answers
62 views

Unable to get consistent tz2 (secp256pk1) signature

I am trying to reproduce the signing algorithm used for tz2 address which uses the secp256pk1 elliptic curve. My problem is that when I try to verify if the signature is valid with the tezos cli, I ...
2
votes
1answer
122 views

Creating public key hash

Could somebody please point me to a piece of working Python 3.7 code that generates a Tezos public key hash out of seed, password and e-mail address? Everything I could find so far is always a mix of ...
2
votes
1answer
27 views

Can inject operation but can't preapply operation, returns 400

I can inject an operation but can't preapply an operation, it returns 400. I checked the body's format and it's OK. Why does this rpc return 400? I can inject the operation.
7
votes
3answers
141 views

How do I base58 encode the chain ID using Python?

When Tezos needs to sign a baking or endorsement operation payload, byte 0 will be a 0x01 for a baking operation or 0x02 for an endorsement operation. Bytes 1-5 in the operation payload contain the ...