Function: createProtocolSigner()
function createProtocolSigner(config): Promise<
| OvercastProtocolSigner
| undefined>;
Defined in: packages/overcast-core/src/protocol-signer.ts:168
Resolve the OvercastProtocolSigner for a config: the explicit
OvercastConfig.protocolSigner override if supplied, otherwise one
wrapping a DirectEd25519Signer built from the config's privateKey.
Returns undefined for a read-only config (no override and no key) — nothing
to sign protocol payloads with.
Parameters
| Parameter | Type |
|---|---|
config | OvercastConfig |
Returns
Promise<
| OvercastProtocolSigner
| undefined>