-
This is the homepage, that check if the user has metamask wallet connected. User can only enter if he has a wallet.
-
Once user enters the site, we check if he already has a will, if there is no will, we get an option to create a new will
-
In the will creation page, we enter basic user details and the amount of ETH that he wants to lock in for his heirs
-
metamask wallets
-
once you click on submit the metamask wallet triggers to mine a block onto the block chain
-
after successful insertion, we get a toast message with the transaction hash
-
User is then redirected to a page that helps him add beneficiaries and any specific sale deeds that the user want to hand over
-
Once the user fills in details, metamask is again triggered and another block is added with beneficiary details
-
The IPFS system that stores the sale deed files uploaded by user. They will be retrieved by the beneficiary once the user is confirmed dead.
-
The etherscan website shows our transactions on the Sepolia Ethereum test nest
-
If the user already has a will inplace, a link to that transaction block is displayed and a "simulate death" button is used for testing.
-
Upon hitting the "simulate death event", a mail with the sale deed link and the amount of sepolia eth transferred is notified to beneficiary
💀 Dead Man’s Contract – The Will That Can’t Be Killed!
🚀 Elevator Pitch
Ever heard of family feuds over a will? The classic *“But Grandma wanted me to have the house!”* or “That’s NOT Dad’s signature!”? Yeah, we have too. **Billions in inheritance disputes arise every year due to tampered, lost, or hidden wills, leaving families in chaos instead of closure.
🔗 Enter "Dead Man’s Contract" – a tamper-proof, self-executing decentralized will. Built on Ethereum, it automates inheritance with **smart contracts, ensuring assets are securely distributed exactly as intended. No courts. No shady lawyers. No cousin Steve “accidentally” misplacing the will.
📜 How it works:
1️⃣ Create your blockchain-secured will 📜
2️⃣ Add beneficiaries & asset distribution 🏡💰
3️⃣ Periodically confirm proof-of-life ✅
4️⃣ Upon passing, assets auto-distribute & heirs receive notifications—surprise, you’re rich! 🎉
💀 Death is inevitable. Inheritance disputes don’t have to be. 🚀
📌 Inspiration
Wills are meant to protect legacies, but more often than not, they **tear families apart. Research shows that **inheritance disputes are increasing worldwide, with millions lost to **fraud, forgery, and mismanagement. Worse, these battles **overshadow the mourning process, trapping families in **courtrooms instead of closure.
We thought: What if a will executed itself? No middlemen. No disputes. Just pure, immutable execution of final wishes. That’s why we built **Dead Man’s Contract, leveraging blockchain’s **immutability, transparency, and automation to eliminate legal loopholes and ensure assets go exactly where they should.
📌 What We Learned
🔹 Building a decentralized app (dApp) on Ethereum Sepolia Testnet
🔹 Writing secure Solidity smart contracts
🔹 Interacting with the blockchain via Web3.js, Ethers.js, and MetaMask
🔹 Decentralized file storage with IPFS (Pinata) for notarized wills & sale deeds
🔹 Automating ETH transfers & email notifications via smart contract events
📌 How We Built It
💡 Tech Stack:
- Solidity + Ethereum Sepolia Testnet for trustless will execution
- React + Ethers.js for frontend integration
- Pinata (IPFS) for secure will & property deed storage
- Node.js + Nodemailer for beneficiary notifications
- MetaMask for seamless blockchain transactions
🛠 Workflow:
1️⃣ User creates a tamper-proof will on the blockchain 📜
2️⃣ Adds beneficiaries, ETH allocations & property deeds 🏡💰
3️⃣ Periodically confirms proof-of-life (because we don’t want to execute the will too soon 👀)
4️⃣ Upon passing, the smart contract auto-distributes funds & sends secure email notifications to beneficiaries (with their inheritance details & IPFS-stored documents).
📌 Challenges We Faced
🚧 Making a will both flexible & trustless—allowing users to update their will while ensuring immutability
🚧 File storage security—storing wills & deeds **decentralized yet retrievable
🚧 Gas fee optimizations—deploying smart contracts efficiently without unnecessary costs 💸
🚧 Handling proof-of-life—ensuring that the will **executes at the right time, without errors
📌 Why It Matters
💀 Death is inevitable, but inheritance disputes don’t have to be. By leveraging blockchain immutability, we eliminate fraud, delays, and tampering—ensuring that a person’s **legacy is preserved exactly as intended. No middlemen, no courtrooms, **just a smart contract doing what it was programmed to do—fairly and transparently.
🚀 Welcome to the future of wills—one that executes itself.

Log in or sign up for Devpost to join the conversation.