hackquest logo

Kinfolio

A family trust for your stock tokens, without the lawyer. No escrow, one-tap veto, zero admin keys.

视频

技术栈

Solidity
Next
React
Web3
Foundry
Wagmi/viem
Chainlink
USDG

描述

## The problem
Robinhood lets you name transfer-on-death beneficiaries in its app. Withdraw your stock tokens to self-custody and that protection is gone: your family needs your private keys, which they almost never have. Existing onchain inheritance tools either escrow your assets (you can't trade) or rely on custodians to declare you dead.

## What Kinfolio does
- No escrow: your trust holds an allowance, not your tokens. You keep trading. It can only pull assets after release.
- Trust rules, not just a split: 40% to a spouse at settlement, 30% to a child at 18 and 30% at 25, paid at once or gradually.
- USDG allowance: a separate cash sleeve that streams USDG to an heir. Stocks for the long term, dollars for the monthly bills.
- One-tap veto: if an heir opens a claim while you're alive, one signature cancels it.
- Permissionless settlement: anyone can settle and pay out, but payouts only go to the named heirs and can never be redirected.

## Why it's safe
- One EIP-1167 clone per family, so approvals are isolated
- Zero admin keys: no pause, no upgrade, no fees
- ERC-8056-aware raw-unit accounting, so splits and dividends flow through to heirs
- Issuer pauses are isolated per asset
- 75 unit/fuzz tests, 5 invariants, fork tests of the deployed contracts on mainnet and testnet with real tokens; 99.6% line coverage

## Live
- App (Mainnet / Testnet switch, Chainlink prices on mainnet): https://kinfolio-ten.vercel.app - Factory on Robinhood Chain mainnet (4663) and testnet (46630): 0xbdEF1e8cb7DB12a81d6C32f5E57D2ccE41b4A90F
- Code, threat model and docs: https://github.com/techbone/Kinfolio

本次黑客松进展

Built from scratch during the buildathon, evolving the security model of my earlier Solana inheritance vault (AfterKey) into an EVM trust for stock tokens. - Smart contracts: KinfolioFactory + KinfolioTrust (Solidity/Foundry), with a state machine, trust grants, vesting, a USDG cash sleeve and per-asset fault isolation. - Testing: 75 unit/fuzz tests, 5 invariants (I1–I7 threat model), fork tests against deployed contracts with real Robinhood stock tokens; 99.6% coverage; lint-clean. - Deployed and verified on Robinhood Chain mainnet (production timers: 30-day inactivity, 7-day veto) and testnet (demo timers). - Web app on Vercel: trust builder, live countdown, claim/veto/settle/payout, Mainnet/Testnet switch, Chainlink pricing.| - Full lifecycle proven onchain on testnet with real wallets (create → claim → veto → settle → collect → payout). - Docs: README, ARCHITECTURE.md, SECURITY.md (attack tree, invariants, limitations).

融资状态

Bootstrapped, not raising yet. Open to grants and pre-seed after Founder House.
队长
MMusa Etudaye
项目链接