75b02dff3d
* op-signer: add to this repo * circleci: add op-signer jobs/workflows * ops: update tag service to include op-signer * readme: add op-signer one sentence description * ci: add op-signer option to github action * ops: add op-signer min version
10 lines
370 B
Go
10 lines
370 B
Go
//go:generate mockgen -destination=mock_provider.go -package=provider github.com/ethereum-optimism/infra/op-signer/service/provider SignatureProvider
|
|
package provider
|
|
|
|
import "context"
|
|
|
|
type SignatureProvider interface {
|
|
SignDigest(ctx context.Context, keyName string, digest []byte) ([]byte, error)
|
|
GetPublicKey(ctx context.Context, keyName string) ([]byte, error)
|
|
}
|