For the complete documentation index, see llms.txt. This page is also available as Markdown.

Detailed Guardians Setup Flow

CryptoLegacy assigns guardians, sets approval thresholds, encrypts guardian data, stores backups, and tests access securely on-chain.

Guardians Setup for CryptoLegacy Contract

  • Default Guardians:

    • Beneficiaries automatically become Guardians (this can be modified).

    • Default approval threshold: 2 of 3 Guardians required for emergency withdrawals.

    • Emergency withdrawals trigger a 30-day challenge period before distribution.

  • Adding Additional Guardians:

    • Invite two friends to serve as additional guardians. There’s no limit - this is just an example.

    • Collect their addresses and public encryption keys.

    • Set the approval threshold to 4-of-7 guardians. You can choose any number from 1 up to the total number of guardians.

    • Set Guardians' challenge timeout to 5 days.

    • Confirm these settings by sending a transaction.

  • Data Storage:

    • Guardian addresses are stored as hashes on-chain.

    • Original Guardian addresses and encryption keys are stored locally in your browser.

Backup Encryption

  • Backup is automatically encrypted using your public encryption key.

  • Store encrypted backup by sending a transaction to the smart contract event.

Guardian Data Encryption

  • Automatically encrypt wallet and asset addresses for each Guardian using their public encryption keys.

  • Store this encrypted data by sending a transaction to the smart contract event.

Guardian Access and Testing

  • Guardians do not have direct access to encrypted messages.

  • Request Guardians verify encryption by testing with a provided test message.

Last updated