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-09-07 06:36:11 +00:00
|
|
|
option go_package = "github.com/cerc-io/laconicd/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.
|
2021-10-05 15:38:20 +00:00
|
|
|
message PrivKey { bytes key = 1; }
|