I can generate keypairs using the Account.py wrapper found in [url=https://github.com/NewEconomyMovement/nickel]https://github.com/NewEconomyMovement/nickel but once I try to use [url=https://github.com/NewEconomyMovement/python-ed25519]https://github.com/NewEconomyMovement/python-ed25519 no ncc/nis compatible keypair comes out.
one of the many things I tried:from binascii import hexlify<br />import ed25519<br /><br />sk, vk = ed25519.create_keypair()<br />privateKey = sk.to_seed()<br />publicKey = vk.to_bytes()<br />hexPrivateKey = hexlify(privateKey[::-1])<br />hexPublicKey = hexlify(publicKey)<br /><br />print(hexPrivateKey)<br />print(hexPublicKey)
b'1864da7813375abb612affabfe4f10383de0d88963271e160b03b25eb094d86d'
b'e9f7baf31ea7b456fba6473ff2b90292a76b2e2ef6e9df31f9274c033a2d3ab9'
The right public key would be 28f2aa94e58bea12ee5402902c514090c6d2d8eb04824dcfc273f731efa1675c.
Probably I am doing something wrong with the reversion?