{"id":29107603,"url":"https://github.com/jai123singh/afterlife-protocol","last_synced_at":"2026-04-11T13:02:53.226Z","repository":{"id":300054538,"uuid":"1004960315","full_name":"jai123singh/AfterLife-Protocol","owner":"jai123singh","description":"A decentralized Ethereum-based protocol that automates crypto inheritance. Users can create a will by depositing ETH, assigning nominees, and setting an inactivity threshold. If they become inactive, their nominees can claim their share of the assets securely.","archived":false,"fork":false,"pushed_at":"2025-06-19T17:32:04.000Z","size":213,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-29T05:04:52.205Z","etag":null,"topics":["afterlife-protocol","crypto-wallet","dapp","decentralized-application","ethereum","foundry","inheritance","react","sepolia-testnet","smart-contract","solidity","tailwindcss","wagmi","web3","will-protocol"],"latest_commit_sha":null,"homepage":"https://afterlife-protocol.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jai123singh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-19T12:49:18.000Z","updated_at":"2025-06-19T17:32:07.000Z","dependencies_parsed_at":"2025-06-19T17:33:26.024Z","dependency_job_id":null,"html_url":"https://github.com/jai123singh/AfterLife-Protocol","commit_stats":null,"previous_names":["jai123singh/afterlife-protocol"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jai123singh/AfterLife-Protocol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jai123singh%2FAfterLife-Protocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jai123singh%2FAfterLife-Protocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jai123singh%2FAfterLife-Protocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jai123singh%2FAfterLife-Protocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jai123singh","download_url":"https://codeload.github.com/jai123singh/AfterLife-Protocol/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jai123singh%2FAfterLife-Protocol/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262539072,"owners_count":23325832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["afterlife-protocol","crypto-wallet","dapp","decentralized-application","ethereum","foundry","inheritance","react","sepolia-testnet","smart-contract","solidity","tailwindcss","wagmi","web3","will-protocol"],"created_at":"2025-06-29T05:04:51.713Z","updated_at":"2025-12-30T22:21:28.680Z","avatar_url":"https://github.com/jai123singh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AfterLife-Protocol 🏛️\r\n\r\n\u003e Decentralized Digital Inheritance Protocol for Ethereum\r\n\r\nAfterLife-Protocol is a revolutionary blockchain-based solution that enables secure, transparent, and automated digital inheritance of cryptocurrency assets. Built on Ethereum, it allows users to create digital wills, designate beneficiaries, and ensure their crypto assets are distributed according to their wishes after periods of inactivity.\r\n\r\n## Live Demo\r\n\r\n[Access the AfterLife-Protocol platform](https://afterlife-protocol.vercel.app/) (Deployed on Vercel — works with the Sepolia testnet)\r\n\r\n## 🌟 Key Features\r\n\r\n- **Digital Will Creation**: Deposit ETH and create comprehensive digital wills\r\n- **Multi-Beneficiary Support**: Select up to 30 nominees with customizable share allocations\r\n- **Flexible Inactivity Periods**: Set inactivity duration from 3 days to 20 years (default: 180 days)\r\n- **Active Status Management**: Simple \"I Am Alive\" functionality to maintain active status\r\n- **Inheritance Management**: View and manage inheritances you're entitled to receive\r\n- **Real-time Dashboard**: Monitor deposits, nominees, activity status, and inheritance claims\r\n- **Security First**: Protected against reentrancy attacks and other smart contract vulnerabilities\r\n- **Partial Withdrawals**: Withdraw any amount from 0 to your total eligible share\r\n\r\n## 🏗️ Architecture\r\n\r\n```\r\nAfterLife-Protocol/\r\n├── frontend/          # React.js Web Application\r\n└── smartContract/         # Solidity Smart Contract (Foundry)\r\n\r\n```\r\n\r\n## 🚀 Quick Start\r\n\r\n### Prerequisites\r\n\r\n- Node.js (v16 or higher)\r\n- Foundry\r\n- MetaMask or compatible Web3 wallet\r\n\r\n### Installation\r\n\r\n1. **Clone the repository**\r\n\r\n   ```bash\r\n   git clone https://github.com/jai123singh/AfterLife-Protocol.git\r\n   cd AfterLife-Protocol\r\n   ```\r\n\r\n2. **Install dependencies**\r\n\r\n   ```bash\r\n   # Install frontend dependencies\r\n   cd frontend\r\n   npm install\r\n\r\n   # Install smart contract dependencies\r\n   cd smartContract\r\n   forge install\r\n   ```\r\n\r\n3. **Set up environment variables**\r\n\r\n   ```bash\r\n   # frontend (.env)\r\n   VITE_CONTRACT_ADDRESS=your_contract_address\r\n   VITE_HTTP_RPC_URL=your_network_url\r\n\r\n   # smartContract (.env)\r\n   PRIVATE_KEY=your_private_key\r\n   RPC_URL=your_rpc_url\r\n   ```\r\n\r\n4. **Deploy smart contract**\r\n\r\n   ```bash\r\n   cd smartContract\r\n   forge script script/Deploy.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast\r\n   ```\r\n\r\n5. **Start the frontend**\r\n   ```bash\r\n   cd frontend\r\n   npm run dev\r\n   ```\r\n\r\n## 📖 How It Works\r\n\r\n### For Will Creators\r\n\r\n1. **Connect Wallet**: Connect your Ethereum wallet to the platform\r\n2. **Deposit ETH**: Add funds to your digital will\r\n3. **Add Nominees**: Select up to 30 beneficiaries with their details and share percentages\r\n4. **Set Inactivity Period**: Choose your preferred inactivity duration (3 days - 20 years)\r\n5. **Stay Active**: Interact with the contract or use \"I Am Alive\" to maintain active status\r\n\r\n### For Beneficiaries\r\n\r\n1. **View Inheritances**: Check the \"My Inheritance\" section for all wills you're included in\r\n2. **Monitor Status**: Track inactivity periods and claim eligibility\r\n3. **Claim Inheritance**: Withdraw your designated share when inheritance becomes available\r\n4. **Flexible Claims**: Claim partial amounts and leave the rest for later\r\n\r\n## 🛡️ Security Features\r\n\r\n- **Reentrancy Protection**: Smart contracts protected against reentrancy attacks\r\n- **Input Validation**: Comprehensive validation on both frontend and smart contract levels\r\n- **Access Control**: Strict permissions for will modifications and claims\r\n- **Audit Trail**: All transactions recorded on-chain for transparency\r\n\r\n## 🔧 Technical Stack\r\n\r\n### Frontend\r\n\r\n- **Framework**: React.js with Vite\r\n- **Styling**: Tailwind CSS\r\n- **Web3 Integration**: Wagmi\r\n- **Language**: JavaScript\r\n\r\n### Smart Contract\r\n\r\n- **Language**: Solidity\r\n- **Framework**: Foundry\r\n- **Network**: Sepolia (Ethereum testnet)\r\n\r\n## 📱 Dashboard Features\r\n\r\n### \"My Will\" Dashboard\r\n\r\n- Total deposit amount\r\n- List of all nominees and their details\r\n- Inactivity period and last check-in status\r\n- Share allocation overview\r\n\r\n### \"My Inheritance\" Dashboard\r\n\r\n- List of all inheritances you're entitled to\r\n- Sortable by amount, inactivity period, and other parameters\r\n- Claim status and availability\r\n- Detailed benefactor information\r\n\r\n## 🎯 Use Cases\r\n\r\n- **Long-term Crypto Holders**: Ensure assets don't become permanently lost\r\n- **Family Planning**: Secure financial future for family members\r\n- **Business Continuity**: Transfer business-related crypto assets\r\n- **Charity Donations**: Automated charitable giving after passing\r\n\r\n## 📄 License\r\n\r\n[MIT](LICENSE)\r\n\r\n## 📞 Contact\r\n\r\nFor questions or feedback, please open an issue on this repository or reach out at [Jaisinghtomar9211@gmail.com](mailto:Jaisinghtomar9211@gmail.com).\r\n\r\n## 🗺️ Roadmap\r\n\r\n- [ ] Multi-token support (ERC-20 tokens)\r\n- [ ] Mobile application\r\n- [ ] Integration with legal frameworks\r\n- [ ] Multi-signature support\r\n- [ ] Cross-chain compatibility\r\n\r\n---\r\n\r\n**Built with ❤️ for the future of digital inheritance**\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjai123singh%2Fafterlife-protocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjai123singh%2Fafterlife-protocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjai123singh%2Fafterlife-protocol/lists"}