All Questions
Tagged with plutus smart-contract
16
questions
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 ...
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 ...
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 ...
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 ...
1
vote
2
answers
253
views
What is the Cardano's equivalent to the Ethereum's EVM?
What is Cardano's smart contract engine called?
Smart contract language:
Solidity (Ethereum) => Plutus (Cardano) Simple enough, I get this.
Smart contract "engine":
EVM (Ethereum) => ?...
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 ...
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;
...
4
votes
2
answers
188
views
What documentation works with handling utxos at the Plutus Script?
I am trying to make a Plutus smart contract which takes tokens locked to the contract and then on endpoint call (purchase) sends 1 to the caller and then the rest back to the contract. I cant find a ...
4
votes
1
answer
224
views
Change minted tokens recepient
I am trying to create a dApp in which "accounts" are authenticated using a minting policy script. It should work by only allowing the minting of tokens if they are sent to an arbitrary ...
4
votes
1
answer
230
views
How do I make a Sidechain
I want to make a side chain on Cardano to so something that the protocol says should be done on a sidechain, but how do I make one?
Can I use Plutus or am I limited to the CLI?
3
votes
1
answer
295
views
Referencing an external plutus script
I would like to understand how one can reference an external plutus script in one transaction. In solidity (for the other script), one can import the contract interface into their script, create an ...
2
votes
1
answer
160
views
Getting the address of a parameterized contract from within the validator of another script
Suppose I have one contract, Contract 1, that is parameterized by type
Contract1Params{
tokenName :: BuiltinByteString
}
and I have a minting policy that will only mint a token with tokenName tn ...
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 ...
1
vote
0
answers
149
views
User interaction with smart contracts
I want my users to interact with my smart contracts. All transactions come from these users. There are no transactions - except for setting up - that come from my wallets. As entry point for this ...