Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A digital agreement that specifies where funds/tokens/assets should go, and under what conditions they will be sent, executing a deal only when all the conditions are met.
0
votes
1
answer
123
views
How to Securely Serialise a Plutus Smart Contract Endpoint?
Assuming I made an arbitrary smart contract and want to serialise the endpoint after I have the validator hash and address hash, what should I do to ensure that the serialisation is as safe as possibl …
0
votes
1
answer
20
views
Where Do I Go To Find All The ScriptContexts Feilds and Functions?
Hi im getting lost in the documentation, I have found some things I was looking for but am failing to find the info and functions for script contents. Im using this link https://playground.plutus.iohk …
0
votes
1
answer
51
views
Can I Use TraceIfFalse in deployment?
So I use traceIfFalse to test a lot of my smart contracts now I'm ready to deploy some of then and I want to know if this is for development only or if its fine to have a smart contract use this funct …
0
votes
1
answer
80
views
How to PreSign a transaction
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 …
1
vote
1
answer
83
views
How do Endpoints work?
and cant figure out what Endpoint do (why are they in the code) and most important of all how should I code them. What are the best practices?
1
vote
0
answers
61
views
How to use Endpoints and Schema
I doing the PPP but Lars does not cover Endpoints or schema declarations in sufficient detail. I imagine that this is a problem that Plutus devs must overcome, but I cannot find suitable documentation …
0
votes
2
answers
74
views
How can you use Ledger.Constraints in the Validator?
Hi i have noticed that you can get the unspent UTxOs in an wallet address using the Ledger. Constraints module. I want to know can I use it the same in the mkValidator as in the Endpoints?
The general …
0
votes
0
answers
13
views
How to Ensure Constant Timing in Contracts Given Slots can be Changed?
The amount of time a slot represents can be changed. This means if I code a smart contract that has some sort of waiting function for N slots, the amount of time it waits for will change with the slot …
1
vote
0
answers
134
views
Whats the Diffrance between Plutus scripts and Cardano Native Scripts?
What are the key differences between Cardano native scripts and Plutus scripts, from a developer's perspective?
2
votes
1
answer
50
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 vali …
1
vote
0
answers
27
views
How to Send A Token to an Smart Contract Alongside a Datum?
I asked another question (How to Make Sure A Contract Is Signed By a Certain Party?) and got the answer I expected.
It raised the secondary Question of how to send a token with a datum to a smart cont …
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 an …
0
votes
1
answer
70
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 t …
2
votes
0
answers
41
views
Whats a Good Example of Interconnected Smart Contracts?
In the Contract Monad we have the use of w s e a. Now w is used to connect contracts is there a good example of how this is done, in particular how to validate a contract using the w of another contra …
1
vote
1
answer
26
views
Do I Need A Contract Monad For a Burn Wallet?
If I make a script address to be a burn address, I end up having a validator that never validates i.e. returns false all the time. Does a Smart Contract that never can validate need an instance of the …