Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an example of how to build a minting policy script? #13

Open
NicolasEliasArias opened this issue Dec 27, 2023 · 2 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@NicolasEliasArias
Copy link

Title :)

@michele-nuzzi
Copy link
Member

Hey @NicolasEliasArias .

Unfortunately no, but if you have written a validator before it should not be a problem.

There are a few example on spending validator in the docs even if a bit outdated it might still turn useful.

the only real difference is that in validators you have 3 standard inputs ( datum, redeemer, script_context ) while in minting policies you only have 2 ( redeemer and script_context )

I would suggest to use the latest version (0.6) as it improves the compilation process and is less likely to have surprises.

If you need any more help you can also join the discord and tag me to make sure I get the notification.

@michele-nuzzi
Copy link
Member

I will keep this issue open until the docs are properly updated!

@michele-nuzzi michele-nuzzi self-assigned this Dec 27, 2023
@michele-nuzzi michele-nuzzi added documentation Improvements or additions to documentation good first issue Good for newcomers labels Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants