Skip to content

Recovery setup: deploy Recovery master copy and integrate with AddUser #43

@abhayks1

Description

@abhayks1

Below are the steps:

  • Deploy Delayed Recovery MasterCopy in UserSetup: lib/setup/User.js.
  • Deploy proxy for "Delayed Recovery contract". The method can go to lib/helper/User.js.
  • Integrate Recovery module with createUserWallet method. Below how the current createUserWallet looks like:
 createUserWallet(
    owners,
    threshold,
    to,
    data,
    sessionKeys,
    sessionKeysSpendingLimits,
    sessionKeysExpirationHeights,
    txOptions
  )

to, data argument of createUserWallet needs to integrate with delayed Recovery module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions