hackquest logo

willcontract

A Solidity smart contract that allows an owner to create a digital will. If the owner remains inactive for 365 days, the designated recipient can claim the funds.

描述

Decentralized Will Contract

💡 Overview

A Solidity smart contract that allows an owner to create a digital will. If the owner remains inactive for 365 days, the designated recipient can claim the funds.

⚙️ Tech Stack

  • Solidity ^0.8.13

  • EVM-Compatible Testnet (Flow Testnet / Sepolia / Polygon Testnet)

  • Tools: Remix / Hardhat

🧩 Contract Address

0x439cD33ad2E81c8d6e46a3925EF041bFcD5e203d

🚀 How It Works

  1. Deploy the contract specifying recipient’s address.

  2. Owner can send ETH and “ping” periodically to show activity.

  3. If the owner is inactive for 365 days, the recipient can drain funds.

🧪 Key Features

  • Secure inactivity detection

  • Transparent events for all actions

  • Gas-efficient design

  • Safe reentrancy protection

📜 License

MIT License

本次黑客松进展

50-75%

技术栈

Web3
Solidity

融资状态

0

队长
DDIPTI PATHAK
赛道
DeFi