Skip to content

A digital will smart contract written in Clarity Lang.

Notifications You must be signed in to change notification settings

Stacks-Pakistan/DigitalWill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Digital Will

A smart contract written using clarity language. It allows a user to mint a digital will as a NFT. The user can add a licensed entity and beneficiary entity. The licensed entity has the authority to burn the NFT (digital will) upon the death of original owner. Once the NFT (digital will) is burnt, the funds are transferred to the beneficiary entity according to the will.


Public Functions

  • mint_will (beneficiary principal) (amount uint)

  • burn_will (owner principal)


Private Functions

  • does_will_exists (owner principal)

  • will_amount_transfer (sender principal) (recipient principal) (amount uint)


Read Only Functions

  • get_will_id (owner principal)

  • get_will_owner (will_id uint)

  • get_will_beneficiary (will_id uint)

  • get_will_amount (will_id uint)


Developed by Soban Amir


About

A digital will smart contract written in Clarity Lang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%