Skip to content

frontend: Implement Interactive Proof-of-Life Ping Widget and Dynamic Inactivity Countdown #1033

Description

@ONEONUORA

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions