mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 09:51:39 +00:00
(no commit message provided)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package crypto
|
||||
|
||||
import (
|
||||
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
|
||||
)
|
||||
|
||||
// PublicKey defines the interface for all public keys
|
||||
type PublicKey interface {
|
||||
Address() cryptotypes.Address
|
||||
Bytes() []byte
|
||||
String() string
|
||||
VerifySignature(msg []byte, sig []byte) bool
|
||||
Equals(other cryptotypes.PubKey) bool
|
||||
Type() string
|
||||
}
|
||||
Reference in New Issue
Block a user