Public created plan and deposit into smart contract, set the timer for ping every X days. After countdown go to 0, beneficiaries can claim amount that has been set in the plan.
- Add contract address based on chain id on CONTRACT_ADDRESSES
- contract.json must be contain compile json data from e.g hardhat
- npx hardhat note
- npx hardhat compile (ketika open kode yang akan dicompile)
- npx hardhat ignition deploy ignition/modules/Inheritance.ts --network localhost
Jika gagal, delete folder ignition/deployments dan cache
npx hardhat node
- Deploy ke network dev hardhat
- copy abi ke abi.json
- copy contract address
Untuk Jalankan index-usd:
- Deploy mockusdt.sol dan masukan abi ke USD/abi.json
- abi-usd.json isi dengan abi dari smart contract InheritanceUsd.sol
Enjoy!
- Remove beneficiary
- Fix bug cancel plan will return all available asset
- Withdrawl with custom amount
- UI/UX Update
- Support IERC20 Token