Giter Club home page Giter Club logo

Comments (10)

leo42 avatar leo42 commented on August 11, 2024 4

I would love to see this implemented.

It is a prerequisite for smart wallets if we want them to have a smooth and intuitive UX .

I will also be implementing the Plutus-wallet connector soon and hopefully we can get this section of the market going, so having it in Plutus V3 will help everything accelerate .

Lots of innovation waiting to be unlocked.

from cips.

MicroProofs avatar MicroProofs commented on August 11, 2024 2

@zliu41 The outcome was to discuss with the Plutus Core team next CIP meeting to get the path forward that everyone is most comfortable implementing.

It sounds like the approach talked about in this issue is a more wholistic approach for typing validators.
We can also continue the discussion here in the comments. I can update the pr to reflect any changes decided on and finalized here.

from cips.

zliu41 avatar zliu41 commented on August 11, 2024 1

@rphair has this been discussed and what was the outcome?

from cips.

michaelpj avatar michaelpj commented on August 11, 2024 1

If we are going to incorporate making the datum optional, then I think we should also propose the corresponding change to the ledger rules to make it legal to spend outputs without datums.

from cips.

rphair avatar rphair commented on August 11, 2024

ping @lehins @WhatisRT (Ledger)
ping @SebastienGllmt @polinavino @fallen-icarus @L-as

from cips.

michaelpj avatar michaelpj commented on August 11, 2024

I don't find the unchecked dependence problem to be that bad, but I also don't desperately hate the combined thing. Perhaps we could give it a different name. ScriptInfo? IDK.

I was going to say that the unchecked approach would make it easier if we decided to allow the spending of script outputs without datums. But if we did that we would probably need to tie it to a new ledger language anyway, in which case we could change the ScriptInfo type just as easily.

from cips.

MicroProofs avatar MicroProofs commented on August 11, 2024

I made some updates to CIP 69 to mention the no datum case, but looks like the typing for ScriptInfo is better since you don't end up with an impossible type combination of ScriptArgs DatumAndRedeemer with a ScriptPurpose of Mint, Withdraw, etc.

from cips.

rphair avatar rphair commented on August 11, 2024

Added to today's CIP editors' meeting agenda (https://hackmd.io/@cip-editors/83) to discuss with #774 (#774 (comment)).

from cips.

zliu41 avatar zliu41 commented on August 11, 2024

propose the corresponding change to the ledger rules to make it legal to spend outputs without datums.

We can continue the discussion of that in CIP-87. The only reason it is related to CIP-69 is because the original ScriptArg proposal accidentally did what CIP-87 wants. If we go with the ScriptInfo approach then these two CIPs are completely orthogonal.

from cips.

michaelpj avatar michaelpj commented on August 11, 2024

I don't think they're orthogonal, since you have to decide here if you're going to have Datum or Maybe Datum in the spending purpose. It's weird to have Maybe Datum if we're not going to make that legal. So they are coupled!

from cips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.