LedgerHQ / ledger-fresh-management

This is where product topics are discussed for Ledger Fresh
Apache License 2.0
14 stars 2 forks source link

[Web] - Challenge Period fetching #80

Open qd-qd opened 1 year ago

qd-qd commented 1 year ago

Header

Name of the task: Periode challenge fetching

Name of the module: Web

Difficulty: 3

Waiting for: #47

Body

Short description

Some wallet operations would be considered critical. Critical operations will open a challenging period for a determined amount of time. Develop a serverless function that will interact with the watcher module in order to fetch open challenge periods of a specific wallet.

Full description

Good to know, for the moment the wallet has been designed in a way that only one challenge period at a time can be opened. Once this challenge is open, a specific event is triggered on-chain. This event is listened to by the watcher module. Once caught, it is the responsibility of the watcher module to call the notifications module to inform the user as soon as possible. In any case, open challenge period must be displayed in the Ledger Fresh web app as long as it is open.

⚠️ I just realized that as I write these lines, the watcher module does not store the challenge periods. If this is not fixed by then, a new task that defines this change must be created.

Additionals ressources

github-actions[bot] commented 1 year ago

Task monitoring 📝


This is an automatic post that is intended to facilitate the follow-up of the project. This post is meant to be edited throughout the life of the project.