Skip to main content

Questions tagged [plutus-playground]

Plutus Playground provides an environment for writing and testing smart contracts before they are released on the Cardano blockchain.

7 votes
0 answers
98 views

Developers are having dismal experience building on Cardano [closed]

When developers get into plutus playground, 10 out pf 10 expect it to work like remix, an IDE. You put a code in. You compile and deploy. And then start interacting with the dApp. All in the same ...
Adam's user avatar
  • 343
4 votes
3 answers
149 views

How do users interact with smart contract?

In plutus playground, there is an example called “Vesting”. In the simulation, users can interact with this smart contract by click on “vest fund” or “retrieve funds”. Now suppose that we compile this ...
Adam's user avatar
  • 343
0 votes
2 answers
89 views

Error cabal build: "Failed to build lzma-0.0.0.3" even in nix-shell and also tried "sudo-apt install liblzma-dev"

I'm trying to run the command "cabal build" the Week02 code of plutus-pioneer-program but it has this error and I have tried everything but the same error keeps appear: Failed to build lzma-...
Anonymous's user avatar
0 votes
1 answer
34 views

Plutus Playground - mustPayToTheScript - unexpected char escapes - 0 converted to \NUL, 1 to \SOH

I am having trouble with the mustPayToTheScript function - I am getting this error Contract instance stopped with error: "WalletError (InsufficientFunds \"Total: Value (Map [(,Map [(\\\"...
NaeriKailash's user avatar
1 vote
0 answers
55 views

Plutus Playground WalletError: InsufficientFunds

I am running my smart contract on the plutus-playground and getting the error below: Contract instance stopped with error: "WalletError (InsufficientFunds \"Total: Value (Map [(,Map [(\\\&...
NaeriKailash's user avatar
3 votes
3 answers
281 views

How to turn (compile) “script.hs” into “script.plutus”?

I have a script that is developed in Plutus Playground. It is working well and now I want to deploy it to the Cardano blockchain via cardano-cli. Following this answer, I have to use cabal to turn my ...
Adam's user avatar
  • 343
1 vote
2 answers
79 views

Plutus playground error when running simulator: WalletContractError ToCardanoError (Tag \"toCardanoPolicyId\" (Tag \"1 bytes\" DeserialisationError))

Plutus-apps v2022-04-06 My smart contract compiles successfully however when i run the simulator i get this error Contract instance stopped with error: "WalletContractError (ToCardanoError (Tag \&...
NaeriKailash's user avatar
0 votes
1 answer
31 views

Convert ChainIndexTxOut to TxOutTx

I have this function that is expecting type TxOutTx, but it receives ChainIndexTxOut. I'm trying to convert to the type required but encountering issues getTradeDatum o = case txOutDatum (txOutTxOut o)...
NaeriKailash's user avatar
1 vote
1 answer
26 views

Plutus playground not starting with Interpreter error after running :set in GHCI

plutus-playground-server: user error (Error evaluating simulation: InterpreterError (CompilationErrors [CompilationError {filename = "\n/private/tmp/web-ghc-work-1626f2e537d27294/Main.hs", ...
et97's user avatar
  • 184
1 vote
1 answer
44 views

Plutus Playground parsing Wallet error: EndpointDecodeContractError

I ran the code from this plutus playground tutorial in the online playground https://playground.plutus.iohkdev.io/doc/plutus/tutorials/basic-apps.html# I'm getting this error when entering a number ...
A. J. Green's user avatar
1 vote
1 answer
107 views

Plutus Playground Server error: opening lock file '/nix/...root.lock': Permission denied

So I've been going through the Plutus Pioneers 3rd cohort lectures and last night accidentally left my computer unplugged. When I booted up Ubuntu Linux on the computer this morning I noticed I have 3 ...
Ryan Thackston's user avatar
1 vote
0 answers
17 views

Why can't I use the same wallet more than once in Plutus Playground?

I'm currently testing my app in the "Plutus Playground" and the simulation will not let me call an endpoint from the same contract more than once. When I try to use the same wallet, the ...
user7245's user avatar
0 votes
1 answer
37 views

Did I update Plutus Apps Repo Wrong?

I just did a git pull updating my plutus repos from the one used in plutus pioneers 3 to the full state. I did not choose to move the HEAD to the commit mentioned and wanted to see what happens if I ...
KryptoKing's user avatar
1 vote
1 answer
57 views

Where does the PAB run?

I understand that PAB is a backend that: provides a standardized environment in which Plutus applications run provides disciplined state management presents discoverable interfaces to the external ...
Falcon Stakepool's user avatar
0 votes
1 answer
45 views

Error signer not found - txInfoSignatories

I'm trying to implement lock and withdraw of an NFT, but when I tried to check the signer on-chain with the function: signer :: PubKeyHash signer = case txInfoSignatories (scriptContextTxInfo ctx) of ...
pprs's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
8