Coder Social home page Coder Social logo

safe-recovery-modules's Introduction

Safe recovery modules

This repository contains custom SAFE recovery modules.

Modules

  • Inheritance module
  • Secret recovery module

Inheritance module

The inheritance module allows a SAFE to set new owners (heirs) with a time delay. The time delayed heirs can be used for inheritance or as a back-up wallet. The back-up wallet can be stored less secure, for example in the cloud, as long as the owner check the SAFE within the delay. The user needs to update the deadline before it expires else the heirs are able to become owners of the safe.

The heirs get proportional ownership, for example with 3 heirs the threshold is set to 3 where all 3 heirs are required for execution.

Secret recovery module

Secret recovery allows use of guardians with significant delays (for example years), minimizing trust, while allowing a reduction of this delay by revealing known secrets. Multiple secrets can be added eacht with a custom reduction period. Allowing users to choose between low entropy secrets that are easy to remember (with a smal delay reduction) and high entropy secrets with significant delay reduction (hard to remember).

The secret is stored as an onchain hash. Where the hash is determined by keccak256(address safe, bytes source). By using the address of the safe in the hash the reveal of a secret for one safe can not result in knowing the secret of another safe even if the source is the same.

safe-recovery-modules's People

Contributors

keviinfoes avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.