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