Problem Description
The inheritance protocol requires asset owners to periodically submit a proof-of-life ping to prevent plans from entering the claimable/triggered state. While InactivityTimerCard.tsx displays static countdown data, it lacks an interactive wallet-signed "Send Proof-of-Life Ping" workflow.
Missing Functionality & Specs
- Add a "Send Ping" button to
InactivityTimerCard.tsx and the main Asset Owner Dashboard.
- Generate an Ed25519 signature challenge (or Soroban
ping contract call) signed by the asset owner's connected wallet via WalletContext.
- Post the signed ping to
POST /api/plans/ping and/or invoke the smart contract's ping method.
- Dynamically recalculate and update the remaining inactivity countdown upon successful ping submission.
Affected Files
frontend/components/plans/InactivityTimerCard.tsx
frontend/app/asset-owner/page.tsx
frontend/app/lib/api/inheritance.ts
Problem Description
The inheritance protocol requires asset owners to periodically submit a proof-of-life ping to prevent plans from entering the claimable/triggered state. While
InactivityTimerCard.tsxdisplays static countdown data, it lacks an interactive wallet-signed "Send Proof-of-Life Ping" workflow.Missing Functionality & Specs
InactivityTimerCard.tsxand the main Asset Owner Dashboard.pingcontract call) signed by the asset owner's connected wallet viaWalletContext.POST /api/plans/pingand/or invoke the smart contract'spingmethod.Affected Files
frontend/components/plans/InactivityTimerCard.tsxfrontend/app/asset-owner/page.tsxfrontend/app/lib/api/inheritance.ts