PLAN. PROTECT. PASS , Seamlessly on Aptos.
Lost seed phrases. Locked wallets. No recovery.
But what if you could plan your digital legacy on-chain?
ChainZap is a decentralized, trustless solution built on the Aptos blockchain to help you protect your digital assets—even after you're gone.
What happens to your digital assets if something unexpected happens to you?
In Web3, if you lose access to your wallet, your assets are gone—forever.
There's no customer support, no reset button, and no way for loved ones to claim what you've built.
ChainZap solves that.
ChainZap lets you:
🔒 Securely deposit APT tokens into a smart contract will
👤 Assign a recipient to inherit your assets
🛂 Retain full control to update the will anytime
⏱️ Stay active by "pinging" the contract to prove you're alive
🧾 If you don’t ping within the timeout, your recipient can claim the funds
⚙️ All actions are on-chain, automated, and require no third party
Create Will
Specify a recipient and amount.
Funds are locked in the contract.
Ping to Prove Activity
Regularly ping to signal you’re alive.
If you don’t ping within your chosen timeout, your will becomes claimable.
Recipient Claims
Recipient can claim your assets after timeout—fully on-chain.
Aptos offers:
🚀 Blazing fast throughput
🔐 Strong safety guarantees via the Move language
💸 Low transaction fees
🌐 A growing ecosystem
It's the ideal foundation for building trustless, secure legacy tools.
No lawyers. No paperwork. No centralization.
Enforced by smart contracts, not institutions
Friendly UI, wallet integration, real-time updates
Fully transparent and decentralized
Frontend: Next.js + React
Smart Contract: Aptos Move
Core Flows: Will creation, ping, claim
Create and lock funds into a digital will
Assign a recipient
Ping to keep your will active
Recipient can claim after timeout
Fully on-chain, secure, and automated
Connect wallet
Enter recipient and amount
Sign transaction
Funds are locked
Click "Ping" from dashboard
Updates your last active timestamp
Recipient connects wallet
If timeout passed, they can claim the assets
Function | Description |
---|---|
| Initialize registry (once) |
| Initialize user's will state |
| Create a will and lock funds |
| Update user’s activity timestamp |
| Claim will from specific user |
| Claim first (and only) available will |
Function | Description |
---|---|
| Get will for address |
| Get wills assigned to a recipient |
| Get all claimable wills |
| Count of wills for a recipient |
Variable | Required | Description |
---|---|---|
| ✅ | Aptos address to publish |
| ✅ | Publisher’s private key |
| ✅ | Aptos network ( |
| Auto | Published contract address |
| Optional | Aptos API key (if needed) |
.env
NEXT_MODULE_PUBLISHER_ACCOUNT_ADDRESS=0xabc123...
NEXT_MODULE_PUBLISHER_ACCOUNT_PRIVATE_KEY=0xabcdef...
NEXT_PUBLIC_APP_NETWORK=testnet
Node.js (v18+)
npm or yarn
Aptos-compatible wallet (Petra, Martian)
git clone https://github.com/yourusername/chainZap.git
cd chainZap
npm install
# or
yarn install
npm run dev
# or
yarn dev
App will be available at: http://localhost:3000
# Compile Move code
npm run move:compile
# Publish Move module (after setting env variables)
npm run move:publish
# To upgrade
npm run move:upgrade
# To run tests
npm run move:test
Connect your wallet
Create a will
Enter recipient and amount
Sign transaction
Ping your will
Keep your will active
Claim a will
If you're a recipient and the timeout passed, claim the assets
View your claimable wills in the dashboard
Our vision for decentralized, community-driven inheritance.
🗳️ Validator voting for death claims
⏳ Challenge period to raise disputes
🧑⚖️ Fallback "super validators"
🛠️ Custom validator sets & thresholds
⚖️ On-chain dispute resolution
Removes single points of failure
Enables more complex, secure inheritance logic
Makes legacy management fairer and more decentralized
Make sure Petra or Martian wallet is installed
Refresh the page and try again
registry not initialized
?Ensure initialize_global_registry()
was called by the deployer
too soon
?The owner must remain inactive for the full timeout period
Create a new one—ChainZap will overwrite the old will
Locked on-chain in the Move contract until claimed
Debanjan Mondal — debanjanmondalk2005@gmail.com — GitHub
Kaushik Samadder — kaushiksamadder2003work@gmail.com — GitHub
Protect your future. Empower your loved ones.
Try ChainZap today — and stay tuned for TLD: the next step in trustless inheritance.
Progress During Hackathon During the hackathon, we successfully designed, developed, and deployed ChainZap — a decentralized, trustless platform for digital legacy planning on the Aptos blockchain. Ideation & Research: We began by identifying a major issue in Web3: the permanent loss of digital assets due to inaccessible wallets when users become inactive or pass away. After analyzing existing solutions and their limitations, we decided to build a simple yet effective inheritance system that doesn't rely on centralized entities. We chose Aptos for its Move-based safety, scalability, and developer-friendly tools. Development: We implemented the ChainZap smart contract using Move, enabling users to create wills, ping to show activity, and allow recipients to claim assets after a timeout. Simultaneously, we built a Next.js frontend with wallet integrations (Petra and Martian) and a responsive dashboard. Key Features Built: Smart contract to handle will creation, pings, and claims Wallet integration and transaction signing Claim eligibility checking based on activity timeout Real-time UI updates and claimable will viewer Testing & Debugging: We tested all flows thoroughly, including edge cases like early claims, invalid inputs, and multiple wills. Smart contract logic was verified using Aptos CLI on the testnet. Deployment: The Move contract was compiled and deployed to the Aptos testnet. The frontend was configured to interact with the deployed contract and made available for testing. Additional Achievements: Flow diagrams and architecture documentation Fully documented smart contract API Custom environment variable setup for quick redeployments Clean UI/UX for easy onboarding This rapid yet structured development helped us deliver a fully functional MVP, setting the foundation for the future protocol (TLD) with validator-based claim governance.
currently having a talk with the Aptos team , in scaling up and shipping to the mainnet