LedgerHQ / ledger-fresh-management

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

[On-chain] - Smart-contract wallet -- challenge periods #106

Open qd-qd opened 1 year ago

qd-qd commented 1 year ago

Header

Name of the task: Smart-contract wallet -- challenge periods

Name of the module: On-chain

Difficulty: 5

Waiting for: /

Body

Short description

Ledger, Argent, and Cartridge collaborated to create a smart-contract wallet that can be improved using plugins. We will extend it to include a challenge period system specific to Ledger Fresh.

Full description

Some interactions with the wallet can have a significant impact on security or access to the wallet (like adding or removing a plugin for example). That's why we decided to apply a challenge period to all critical interactions issued by a wallet signer.

A challenge period is simply a delay we apply to sensitive actions. When a user tries to do something we flagged sensitive, we delay the execution of the transaction for a specific amount of time. Thanks to that, signers associated with the wallet will have the opportunity to cancel execution they don't want.

The challenge period has been documented in #94. If #53 has been developed, use this integration as a base.

Additionals ressources

qd-qd commented 1 year ago

Follow the discussion in #108 to have all the details according to the challenge periods.