Skip to content

ztenretep/tezos_tools

Repository files navigation

Snippets and Tools for use with Tezos

Motivation

While using Tesoz I figured out, that a Tezos private key can be given in short or in long form. Importing a short private key from one wallet into another wallet failed. I took a deeper look into this problem. The result was that I installed everything to program tools I need to overcome my problems. I am now able to write different tools, which can be used together with Tezos. The first result was a snippet or tool which converts a short Ed25519 seed (secret key, 32 bytes) to a secret exponent (secret key, 64 bytes). From the Tezos point of view short and long versions of the secret key works the same way. For wallets it makes a difference.

Development Environment

Development is done on various Linux installations based on Debian distributions. In general, I do not use other operating systems on desktop computers or laptops. The systems I use are based on AMD and ARM architecture. As a programming language, I prefer to use Bash or Python. Python is used in the current version 3. For Tezos developments mainly PyTezos from PyPi is used. The verification of the Python code is done with Pylint.

Lessons Learned

Delegation of an account to a baker is somehow dangerous. A delegation to yourself is registering yourself as baker. The problem doing this is that this account cannot be unregistered.

I also learned, that funds of an account can be removed in principle down to 0,000001 ꜩ. The minimum amount of 0.275 ꜩ is needed for delegation not for the account itself.

Open Issues

Unresolved is how to get all Tezos transactions of the past in a acceptable period of time. It is not clear how to mint Tezos NFT's.

Donation

If you like the snippets or/and little tools and if you find it helpful to use, I appreciate a small donation to my Tezos public key address:

tz1SAXFTMxyer8MGuUya4aALDm6j3185ivJt

If you do so. Thank you very much! Every Mutez is welcome.