All Questions
Tagged with plutus smart-contract
145
questions
18
votes
2
answers
356
views
How can smart contracts interact each other?
If the "context" of a smart contract can see only the transaction where it sits and its inputs-outputs, how can a smart contract interact with other smart contracts living in different ...
15
votes
4
answers
1k
views
On-chain and off-chain for Plutus SCs
Hi I am currently at lecture 5 of the Plutus Pioneers Programm and I was wondering which part of the code is on chain and which is offchain. I know that the valididation script is onchain but the ...
15
votes
3
answers
699
views
What's the difference between "on-chain" and "off-chain" in plutus smart contracts?
Smart contracts written in Plutus can be divided in two: an on-chain part and an off-chain part. What's the main difference between these two?
13
votes
2
answers
994
views
Where does a smart contract exist, in EUTxO?
In particular, I want to know whether the smart contract is somehow its own entity in the blockchain, or if a smart contract is just a property that EUTxOs may pick up.
EUTxOs are bound by smart ...
13
votes
6
answers
2k
views
The Concurrency Issue
Are there any solutions to the concurrency issue so far without sacrificing decentralization? MinSwap testnet was experiencing this last night and just looking for some clarification, haven't seen ...
13
votes
2
answers
556
views
Where is the on-chain code actually stored?
I've just read something that suggests Validators aren't actually kept on the blockchain. To save the space, only the hash of the Validator is kept at the UTxO and users willing to spend it must ...
10
votes
3
answers
349
views
How to properly start a new Plutus project, from scratch
I'm from ETH's ecosystem and recently just decided to get into Cardano development, specifically Plutus dev work thanks to Demeter.Run, and after going through the Plutus starters on there, I noticed ...
10
votes
2
answers
223
views
How can I write unit tests for Plutus contracts?
I'm a member of Plutus Pioneer Program. I already know about the Plutus Playground and like it very much. However, clicking all the blockchain action scenarios each time is very time-consuming, ...
9
votes
3
answers
355
views
How will DApps work on Cardano?
This may been too broad of a question but I was hoping to ask a few specific questions here rather than over multiple questions. I don't think DApps are available yet but I'm sure people have started ...
8
votes
2
answers
655
views
Is there a good tutorial to mint Cardano NFT using plutus script?
I used to mint Cardano NFT using "Time locking" following this guide https://developers.cardano.org/docs/native-tokens/minting-nfts/. But I know the more formal way is to use plutus script ...
7
votes
2
answers
166
views
Referencing onchain contract as 3rd party
In solidity and EVM, it is possible to reference external contracts by providing the address and interface to the contract:
address ckAddress = 0x06012c8cf97BEaD5deAe237070F9587f8E7A266d;
...
7
votes
2
answers
142
views
Why Strict Evaluation Operator "!" used in record definition implemented in Plutus Core?
While declaring records for use in Plutus strict operator is used like this:
data Auction = Auction
{ aSeller :: !PubKeyHash
, aDeadline :: !Slot
, aMinBid :: !Integer
, aCurrency :: !...
7
votes
2
answers
234
views
on multiple eUTxO and the validation proces
I have an in-depth question that needs good knowledge of the ledger rules.
I was thinking about how to program efficiently and design apps such that they are parallelizable, a good practice for ...
7
votes
1
answer
101
views
Cardano-Ethereum Bridge
What is the best way to write a smart contract that will work across both Cardano and Ethereum? It doesn't have to be released yet but preferably something that will be usable by the end of the year. ...
7
votes
1
answer
287
views
Questioning Plutus API design decision
In Lecture 10 from the Plutus Pioneer Programm there is a replica of the Uniswap Smart Contract built on top of Plutus. It is actually part of the standard Plutus use cases Plutus Uniswap
To have a ...