scuttlebutt-client-lib / org.apache.tuweni.scuttlebutt.lib / KeyFileLoader / loadKeysFromFile

loadKeysFromFile

open static fun loadKeysFromFile(secretPath: String): KeyPair (source)

Attempts to load the scuttlebutt secret key with the supplied file path

Parameters

secretPath - the filepath to the scuttlebutt secret key to load

Exceptions

IOException -

Return
the scuttlebutt key pair