Skip to main content

SDK Plugin Dependencies

Pass these into createTenebraePlugin so the plugin can persist unlock material and broadcast prepared transactions.

DependencyRole
storageWallet key-value store (e.g. MemoryStorage from @kohaku-eth/plugins)
providerKohaku Host['provider'] (EthereumProvider) plus TxSigner.sendTransaction for Deposit settle
storageCryptoAES-GCM encrypt / decrypt for unlock material at rest

Types: import Host from @kohaku-eth/plugins and TxSigner / EthereumProvider from @kohaku-eth/provider — do not invent EIP-1193 mashups. Lab/docs create uses a Host subset ({ storage, provider }); production wallet shells also supply network + keystore.

Unlock itself is a product Auth / client step after create — see Create SDK Plugin.

Next: pin chain and tokens in SDK Plugin Config.


Next