7

Is it possible to delegate the money locked in a smart contract? And how? Using what haskell instructions?

3
  • Please rephrase into a toplevel question. May 30 at 10:36
  • @daedalusdaemon sorry but what is a toplevel question?
    – Distic
    May 31 at 11:07
  • I meant the Title question. May 31 at 13:22
1

A shelley address has two parts: payment part and staking part. For each of these parts, you have its specific private key and whoever holds it, has the ability to manage that part. So, you have an address where the payment part if managed by the smart contact, but the staking part is managed by you. This video might be helpful https://www.youtube.com/watch?v=NjPf_b9UQNs

So, a Shelley payment addresses that is used by scripts can still delegate to an associated stake key. When you create the locked output, you decide the staking.

7
  • Can you share some documentation or examples of what this might look like? May 30 at 20:22
  • I think a good documentation for how addresses are working is github.com/cardano-foundation/CIPs/blob/master/CIP-0019/…. Basically, as an example, you make a payment address that is used in the contract script, but where the payment address uses your stake address, so you own the stake rights. May 31 at 8:15
  • What do you mean by a "shelley payment address that use scripts"?
    – Distic
    May 31 at 20:27
  • Sorry, that is typo, a payment address used by scripts. May 31 at 21:54
  • 1
    @MarekMahut-StakeNuts: I edited your answer to add this comment.
    – Distic
    Jun 4 at 9:16

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.