createTenebraePlugin
createTenebraePlugin(
host: Pick<Host, 'storage' | 'provider'> & {
provider: Host['provider'] & Pick<TxSigner, 'sendTransaction'>;
},
config: ITenebraeKohakuPluginConfig,
options: { storageCrypto: ITenebraeSdkStorageCrypto }
): Promise<TenebraeKohakuPluginType>
| Parameter | Type | Required | Description |
|---|---|---|---|
host | Host subset | yes | Lab/docs: { storage, provider }. Wallet shell also supplies network + keystore. Provider needs TxSigner.sendTransaction for Deposit settle. |
config | plugin config | yes | SDK Plugin Config |
options.storageCrypto | secure storage crypto | yes | AES-GCM for unlock material at rest |
Types: Host from @kohaku-eth/plugins; TxSigner from @kohaku-eth/provider. See
SDK Plugin Dependencies.
Returns: Plugin with settlement verbs + extras. Sandbox: SDK Plugin card.