Summary: Currently the dapp sessions are stored forever in the db and this means that each dapp session will live forever. This task proposes to add a session expiration date of 7 days for each dApp session. This will be inline with the Wallet Connect behavior.
Acceptance Criteria
On session establishing phase the current timestamp is stored in the DB
On DB migration, all previous sessions will have the same expiration date as the new sessions
After the expiration date, the session is rejected and removed from DB
The user will be notified that the dApp has expired
Description
Summary: Currently the dapp sessions are stored forever in the db and this means that each dapp session will live forever. This task proposes to add a session expiration date of 7 days for each dApp session. This will be inline with the Wallet Connect behavior.
Acceptance Criteria