Skip to main content

Questions tagged [mkvalidator]

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

2 Validators for one Transaction

I'm building a use case where a person can buy a token and depending on the amount of ADA spent, he gets X tokens and a Special NFT. Each Validator represent the policy Id of these native tokens I'm ...
Cristovao Morgado's user avatar
0 votes
1 answer
77 views

How to Look Up a Token Policy ID from The Smart Contract Validator

I have attached a token to the datum and sent it to the smart contract, now I need the validator to check that the token has a certain policy ID before it allows the contract to proceed. How do I do ...
KryptoKing's user avatar
1 vote
0 answers
11 views

How to Validate A Smart Contract Twice?

I have a smart contract I want to validate at a certain date. Exacute its logic and then revalidate on a second date. The trick is I only want it to be signed once. How do I do this? can I just add ...
KryptoKing's user avatar
2 votes
1 answer
51 views

How to Make Sure A Contract Is Signed By a Certain Party?

I'm thinking about making a parameterised contract between two users. User A can be anyone i.e. any customer, But User B should always be the company. I want to make it so that the validator only ...
KryptoKing's user avatar
1 vote
2 answers
93 views

What is the mkValidator Script

In Plutus scripts there is a mkValidator where it takes in the datum , redeemer , and script context. In the plutus-pionner-program , the plutus scripts they show us uses these three parameters to ...
szhang9921's user avatar