Losing private keys and seed phrases is a nightmare—you lose your assets forever. But what if there was a solution to keep a specific share of your assets safe and make it claimable by your trusted ones or even your other wallet?
Inherify is a blockchain-based estate planning solution built on the secure and scalable Telos blockchain. The Smart Will leverages smart contracts to automate, protect, and securely execute your will upon predefined conditions.
- Normal Wills: Single-beneficiary with a 10-year inactivity lock
- Milestone Wills: Multi-phase distributions with custom triggers
- 10-year activity check (resettable via
ping()
) - 1-year withdrawal cooldown period
- Milestone-specific release schedules
- Immutable beneficiary assignments
- Anti-frontrunning design
- Platform fee collection on creation
- Claim validation safeguards
npm install @openzeppelin/contracts ethers
Here’s a function that allows beneficiaries to check their claimable wills:
function getNormalWillAsBeneficiary(address _beneficiary) external view returns (address[] memory owners, uint256[] memory amounts) {
uint256 count = 0;
for (uint256 i = 0; i < willOwners.length; i++) {
address user = willOwners[i];
if (hasNormalWill[user] && normalWills[user].beneficiary == _beneficiary && !normalWills[user].isClaimed) {
count++;
}
}
owners = new address[](count);
amounts = new uint256[](count);
uint256 index = 0;
for (uint256 i = 0; i < willOwners.length; i++) {
address user = willOwners[i];
if (hasNormalWill[user] && normalWills[user].beneficiary == _beneficiary && !normalWills[user].isClaimed) {
owners[index] = user;
amounts[index] = normalWills[user].amount;
index++;
}
}
return (owners, amounts);
}
graph TD
A[User Creates Will] --> B{Normal or Milestone?}
B -->|Normal| C[Lock TELOS with Beneficiary]
B -->|Milestone| D[Configure Release Schedule]
C --> E[Ping System Every 10 Years]
D --> F[Automatic Time-Based Releases]
E --> G[Beneficiary Claims After Inactivity]
F --> H[Gradual Asset Distribution]
- Fund Locking: Assets held in contract until conditions are met
- Temporal Validation:
- 10-year inactivity window for normal wills
- Time-based milestone releases
- 1-year withdrawal cooldown
- Identity Verification:
- Beneficiary ≠ Owner
- Claimant signature validation
- Financial Safeguards:
- Percentage-based releases (<=100%)
- Anti-overclaim protection
- Platform fee deduction on creation
- Withdraw Funds (After 1 Year)
- Update Beneficiary
- Reset Activity Timer
- Cross-Chain Support: Expanding Inherify beyond Telos
- NFT Deposits: Secure digital collectibles alongside crypto assets
- Improved Block Explorer: Enhanced transparency via AURA++
We welcome contributions! Please follow our workflow:
- Fork repository
- Create feature branch (
git checkout -b feature/AmazingFeature
) - Commit changes (
git commit -m 'Add AmazingFeature'
) - Push to branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
MIT Licensed - See LICENSE for details.
Inherify - Redefining legacy planning through blockchain technology. Secure your legacy today! 🔗