project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Deadman Switch

Anyone can post content that is hidden (encrypted) as long as they check-in on a regular basis. If they are unable to check-in the content becomes public.

Deadman Switch

Created At

ETHOnline 2023

Winner of

šŸ•¹ļø Mantle ā€” Best NFT or Gaming

Project Description

Deadman Switch is an app where people can post encrypted content that becomes decrypted if they donā€™t check-in regularly (i.e. they are assumed to be dead or incapacitated).

This app makes use of Lit Protocolā€™s v3 SDK to encrypt and decrypt the content based on conditions of a smart contract, Solidity for the DeadmanSwitch.sol smart contract, Mantle where the smart contract is deployed and Filecoin where the links of the encrypted content are stored and retrieved.

It solves a simple yet important problem, how to record and store sensitive content but make it automatically publicly available upon death or incapacitation. This is interesting to journalists, activists or those looking for an insurance policy to keep them alive, and it can also be interesting to people who want to record legacy-type content that only gets released after their death (think Tony Stark at the end of Avengers Endgame).

The app works very simply. You post the encrypted content to an NFT and check-in within a predetermined time frame (the default is 30 days). If you donā€™t check-in in time, the content becomes public. You can also change it to public with a function call.

The Business Model is simple. Pay a one-time mint fee of 20 MNT to mint your NFT and gain access to the system forever.

How it's Made

This project uses Lit Protocol SDK v3 for the encryption and decryption based on the state of a smart contract (DeadmanSwitch.sol) deployed to Mantle, with the encrypted content stored on Filecoin web3.storage.

The DApp uses React and web3-react, and connects to the deployed DeadmanSwitch.sol deployed on Mantle. It also connects to LitProtocol for encrypting and decrypting content and Filecoin for storing encrypted content, and creating the links thereof that are stored in the smart contract in relation to an NFT.

An NFT owner can add encrypted content, check-in on a regular basis (as defined) to keep it private, or set the NFT as public. If the owner either sets it public or doesn't check in in time the content becomes decrypted and anyone can view the decrypted content.

background image mobile

Join the mailing list

Get the latest news and updates