Skip to main content
Version: SDK V3

Batched Session Validation

This module works hand in hand with the Session Key Manager Module. It allows for multiple session validation modules to be activated for a user.

Installation


npm install @biconomy/modules

Integration

Integration is the same as using the Session Key Manager Module with the additional step of starting a session router module.

const sessionModule = await SessionKeyManagerModule.create({
moduleAddress: DEFAULT_SESSION_KEY_MANAGER_MODULE,
smartAccountAddress: address,
});

const sessionRouterModule = await BatchedSessionRouterModule.create({
moduleAddress: routerModuleAddr,
sessionKeyManagerModule: sessionModule,
smartAccountAddress: saAddress,
});

Implementation of this is similar to the Session Key Manager module guide - a full timplementation example is shown here

Was this page helpful?