This is a Proof of Concept Demonstrating the Decentralized Will Management System. Manages your on-chain and off-chain assets without any middleman. Architecture comprises of four parts:
- Smart Contract: Handles the main business logic.
- Indexer: Listens for events on blockchain to store and track the activity off-chain for better efficiency.
- dApp: Interface for testators and beneficiaries to manage/track their wills.
- IPFS: Used for storing your sensitive documents, possibly documents about the off-chain asset, Or the traditional legal will.
Refer https://github.com/foundry-rs/foundry
Required to initialize the project and download dependencies. Only need to run once:
$ ./configure.shAdd local accounts to MetaMask given in accounts in project directory.
Add your Pinata credentials in frontend/.env:
REACT_APP_PINATA_API_KEY=xxxxxxxxxxxxxxx
REACT_APP_PINATA_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx$ ./run.sh