Hash: tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx
Public Key: edpkuBknW28nW72KG6RoHtYW7p12T6GKc7nAbwYX5m8Wd9sDVC9yav
Secret Key: edsk3gUfUPyBSfrS9CCgmCiQsTCHGkviBDusMxDJstFtojtc1zcpsh
利用可能なJSスニペットはありますか?
I read this great post on tz1 keys with ed25519. I also saw that the eztz lib doesn't support ed25519 keys.
So I'm trying to understand briefly what is considered a valid procedure to get keys/address. Basically I'm trying to achieve in JS what the tezos-client does in that article above using elliptic ed25519.
Hash: tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx
Public Key: edpkuBknW28nW72KG6RoHtYW7p12T6GKc7nAbwYX5m8Wd9sDVC9yav
Secret Key: edsk3gUfUPyBSfrS9CCgmCiQsTCHGkviBDusMxDJstFtojtc1zcpsh
before i flag this question for moderation, can you first please edit it as its unclear what you are asking. And as previous comment states, eztz definitely supports ed25519 as it's the default. Follow the eztz link you listed, and then go to the documentation and you will see the generateKeys call.
I wanna generate keys that long! Right now eztz will generate me 98 chars length private keys. There's not trace of ed25519 in https://github.com/TezTech/eztz - are you referring to libsodium?
I see. Yes, eztz uses sodium through some wrapper and does support ed25519/tz1. There are two forms of ed25519 secret keys accepted by the tezos programs -- long (the full secret key) and short (the "seed", which is what the tezos programs show you by default). eztz is producing the long form. Both should work fine. Maybe update the question to make it clear that this is what you're asking about?
ed25519
を使用したtz1キーに関するすばらしい投稿.また、eztz libがed25519キーをサポートしていないこともわかりました.それで、キー/アドレスを取得するための有効な手順と見なされるものを簡単に理解しようとしています.基本的に、私はJSで、tezos-clientが行うことを達成しようとしています.>楕円形のed25519 .
利用可能なJSスニペットはありますか?