mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
13 lines
350 B
Go
13 lines
350 B
Go
// (c) 2023, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package iface
|
|
|
|
// Signer interface for signing messages
|
|
type Signer interface {
|
|
Sign(msg []byte) (*BLSSignature, error)
|
|
PublicKey() *BLSPublicKey
|
|
}
|
|
|
|
// Signature is an alias for BLSSignature for backward compatibility
|
|
type Signature = BLSSignature |