Function: usePluto()

typescript
1
usePluto(storageType): Pluto

Defined in: hooks/index.ts:165

Creates and returns a memoized Pluto instance for persistent storage operations.

Pluto is the storage layer of the Identus SDK that handles persistence of credentials, DIDs, keys, and other identity-related data. It supports multiple storage backends.

Parameters

storageType

Storage backend to use (defaults to IndexedDB)

typeof BaseStorage | StorageType

Returns

Pluto

A memoized Pluto instance configured with the specified storage