Inspiration

We were trying for solve the problem of one of our friends who died and yet his family was unable to get the cryptocurrency that he had especially because there is no Estate Planning platform for Crypto and NFTs .

What it does

Pecunia provides clients the ability to ensure that their heirs will be able to get their share of the crypto and NFT once the client dies.

How we built it

React for Front end, ZK Snarks, Sequence Wallet, Spheron Network, IPFS, Chainlink Keepers and deployed on Polygon Network.

The smart contracts are deployed on the Polygon Test and written in solidity. Here is a description of 3 main smart contracts:

  1. HeirToken — An ERC721 token that provides an additional security layer and proof that a heir is entitled to receive assets.
  2. PecuniaLock — This is main smart contract responsible for registering the owner, reserving amounts to heir and withdraw signature
  3. Verifier — verifies the ZK proof which is submitted by the heir/owner. This file is automatically generated by circom.

We have used Circom & snarkjs to develop the circuits and creating the zero knowledge proofs. This ZKP is generated using the password, without revealing it to the verfier. The Heir executes the withdraw Signature and proofs that he/she is the rightful heir. After the interval gets over the chainlink keepers transfer the amount to heirs.

Challenges we ran into

We were working on different timezones but we were able to come up with a good time to meet. There were also challenges in implementing ZK snarks but through discussions with sponsors we were able to finish the mvp.

Accomplishments that we're proud of

We were able to create a working MVP which we deployed on Polygon network

What we learned

Learned about ZK snarks and its implementation and some quirks and idiosyncrasies in implementing the entire project.

What's next for Pecunia

From a technical aspect:

  1. We will integrate the Quickswap which will allow the user to swap and deposit any token into his will by just depositing MATIC.
  2. We will be integrating functionality to deposit funds to different liquidity pools which will earn interest from the funds and including provision for dynamic NFTs(containing the real time balances that will be transferred to heir)
  3. We will introduce batch pay which will allow the transfer of funds to heir at multiple intervals. This will prevent the heir to carelessly spend all the funds at one go.

From a feasibility aspect: We created an MVP and will proceed applying for accelerator and grants for smart contract audit. We will also talk with prospective Investors for Funding opportunities to continue the project. And since it is also important to receive feedback from Estate Planning Companies who are interested in using the platform, we will also be asking and discussing with lawyers, accountants and estate planners who may be interested in these solutions.

Built With

Share this project:

Updates