0

im trying to figure out how to sign a smart contract (SC) and have it put on-chain, where it waits until its validation logic returns True.

Edit 1:

To clarify what I mean by signing is the private key signature. The purpose would be to have the user sign the contract once and after X years the contract is activated. The user should not be able to Sign again after this point as the user is believed to have died and the address locked. At this point, the contract act as a last will and testament, sending the ada balance to the beneficiary.

2
  • 1
    what do you mean by "sign" a smart contract?
    – zhekson
    Feb 22 at 19:31
  • When you use nami or another wallet the user should input their password only once. If its correct the private key signature is applied. this should only happen once as the validation logic of the contract is initially False, and only becomes True once the contract should be run. This means that the contract will also stay on chain.
    – KryptoKing
    Feb 22 at 20:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.