2021-01-07 21:45:32 +00:00
|
|
|
syntax = "proto3";
|
2021-08-17 15:30:35 +00:00
|
|
|
package ethermint.crypto.v1.ethsecp256k1;
|
2021-01-07 21:45:32 +00:00
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
2022-06-19 09:43:41 +00:00
|
|
|
option go_package = "github.com/evmos/ethermint/crypto/ethsecp256k1";
|
2021-01-07 21:45:32 +00:00
|
|
|
|
|
|
|
// 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.
|
2022-10-20 20:43:19 +00:00
|
|
|
message PrivKey {
|
|
|
|
bytes key = 1;
|
|
|
|
}
|