2021-01-07 21:45:32 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package ethermint.crypto.v1alpha1.ethsecp256k1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
option go_package = "github.com/cosmos/ethermint/crypto/ethsecp256k1";
|
|
|
|
|
|
|
|
// PubKey defines a type alias for an ecdsa.PublicKey that implements
|
|
|
|
// Tendermint's PubKey interface. It represents the 33-byte compressed public
|
|
|
|
// key format.
|
|
|
|
message PubKey {
|
|
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
|
|
|
|
bytes key = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// PrivKey defines a type alias for an ecdsa.PrivateKey that implements
|
|
|
|
// Tendermint's PrivateKey interface.
|
2021-04-19 07:10:57 +00:00
|
|
|
message PrivKey {
|
|
|
|
bytes key = 1;
|
|
|
|
}
|