Documentation
¶
Overview ¶
`corekeys` provides utilities to generate keys that are compatible with the core node and can be imported by it.
Index ¶
Constants ¶
View Source
const ( TypeOCR = "ocr" PrefixOCR2Onchain = "ocr2_onchain" )
View Source
const (
TypeCSA = "csa"
)
Variables ¶
View Source
var (
ErrInvalidExportFormat = errors.New("invalid export format")
)
Functions ¶
Types ¶
type Envelope ¶
type Envelope struct {
Type string
Keys []keystore.ExportKeyResponse
ExportFormat string
}
type OCRKeyBundle ¶
type OCRKeyBundle struct {
ChainType string
OffchainSigningKey []byte
OffchainEncryptionKey []byte
OnchainSigningKey []byte
}
func FromEncryptedOCRKeyBundle ¶
func FromEncryptedOCRKeyBundle(data []byte, password string) (*OCRKeyBundle, error)
type Store ¶
func (*Store) GenerateEncryptedCSAKey ¶
Click to show internal directories.
Click to hide internal directories.