Skip to content

tralkan/aleo-taipei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TyronSSI Account's Social Recovery

Build Guide

Make sure to have Leo installed. For details, follow this guide. Alternatively, ensure that Leo is up to date: leo update.

Then, run:

leo build

In this repository, using the basic_bank.leo as an example, the goal is to use tyron.leo/is_signer() instead of a hardcoded address of the bank to verify that the order comes from the bank indeed.

Changing:

assert_eq(self.caller, aleo13n2wtr5lctcqhu5lf5t8zmsq2xnhumdugdyvserwcujcgr5ehyzqll4urj);

For:

tyron.leo/is_signer();

And more importantly, the signer is secured by Tyron's social recovery.

Supported features

  • Initialise the TyronSSI account by setting the address of the signer.

  • Verify that the call comes from the signer's EOA.

  • Add new guardians.

  • Remove guardians.

  • Add a guardian's signature.

  • Execute social recovery to set up a new signer. The number of recorded signatures must be greater or equal to the threshold (absolute majority, i.e. half plus one).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages