LedgerHQ / ledger-fresh-management

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

[Starkcheck] - Set Policy #104

Open yogh333 opened 1 year ago

yogh333 commented 1 year ago

Header

Name of the task: Define how a wallet owner can set a policy bound to a dedicated signer.

Name of the module: Starkcheck

Difficulty: 3

Waiting for:

Body

Short description

As a wallet owner, I want to be able to define a policy (e.g. max amount to be spent by day, whitelisted contract etc...) when using a specific signer.

Full description

Starcheck module aims at verifying that a transaction complies with a set of rules defined in a policy. For instance, it might be the maximum amount of an ERC-20 token to spend per day when using a WebAuthN signer. This amount can be increased when using a Ledger signer, as it is more secure. Thus each policy is associated with a dedicated signer. This task shall define how to write a policy and set it.

Additionals ressources

Sequence Diagram

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.