Adding key generation algorithm for "eth_secp256k1" #1071
Closed
Description
currently, we can generate keys like this, default algo is secp256k1
hermes keys restore ethermint-2 -m "my mnemocnis.." -t 60
that's different from ethermint's one.
ethermintd keys add $KEY --keyring-backend test --algo "eth_secp256k1"
so we can add like this
hermes keys restore ethermint-2 -m "my mnemocnis.." -t 60 --algo "eth_secp256k1"
so user can freely designate 20 payload address representaion algorithm.
for example
secp256k1: pubkey->sha256->last 20 bytes
eth_secp256k1: pubkey->sha256->ripemd160->20 bytes
also we can support other cosmos network which uses different address logic.