2 votes
Accepted

Endpoint contract response from PAB

As I understand, it's not possible to return a value different to unit because the endpoint response always returns unit () check here in endpoint line Here is the call to endpoint: :<|> "...
georgeos's user avatar
  • 1,754
2 votes
Accepted

Unable to start /plutus-apps client application

Fortunately, someone in the discord had this exact same problem. I had suggested running nix-build, but that errored out. Apparently the solution was to set this first, before running the command: ...
prodineeritecht's user avatar
2 votes

DAO Smart Contract on Cardano

There is an interesting proposal in Fund 8 that you may find useful. https://cardano.ideascale.com/c/idea/397172/comments or here on Ada Pulse https://adapulse.io/agora-a-plutus-governance-module/
lley154's user avatar
  • 297
2 votes
Accepted

Any up to date Plutus tutorials for how to use the Emulator Trace?

You can refer to the plutus-contract tests which use the Emulator Trace https://github.com/input-output-hk/plutus-apps/tree/main/plutus-contract/test/Spec
james's user avatar
  • 1,505
1 vote

VSCode HLS not working for plutus project

1 - Try running first the nix shell in a terminal then, from inside the nix shell, go to your project folder, and run: code . Than will open you project with vcode and all the terminals and the HSL ...
Manu Padilla's user avatar
1 vote
Accepted

Where does the PAB run?

You don't have to use it in your dApp stack. As a matter of fact, many existing dApps don't use it since it's not ready. It essentially is a module/ component that makes use of existing IO products (...
Will's user avatar
  • 1,162
1 vote

Starting a new Plutus Project

The plutus starter is the ideal template to start with new Plutus projects and like William said the IOG repo is quite outdated at this time. I have created an updated branch for the plutus-starter. I ...
lambda's user avatar
  • 804
1 vote
Accepted

Starting a new Plutus Project

Great point, unfortunately IO has been a bit behind in regards to updating some of its skeleton repos as you've already pointed out. In regards to the correct tags for repos - there is actually only ...
Will's user avatar
  • 1,162
1 vote

can't understand which part of the code is not "PlutusTx"

The name wrappedMintingPolicy in the where statement is not indicated with the INLINABLE pragma. Maybe adding the line {-# INLINEABLE wrappedMintingPolicy #-} solves the problem.
Barros's user avatar
  • 56
1 vote

How do I run doctests?

To run doctest, you don't need to add that to your cabal file. You need to install the doctest executable, and then run cabal repl --with-ghc=doctest. See the doctest documentation.
angerman's user avatar
  • 359
1 vote
Accepted

How do I build the Plutus starter template?

Okay, so I tried to replicate your issue (I'm using nix+cabal), but my cabal build works fine (I got some warnings, but everything compiled). Thus, all I can suggest is that you reclone the repo and ...
Dilworth's user avatar
  • 211
1 vote

Plutus starter cabal build issue

I believe there are some compatibility problems with M1s and Docker. It might be worth trying to run Cabal through nix-shell instead.
Mitchell Turner's user avatar
1 vote

Plutus-starter - cannot start contract instance

My Plutus build has an old version of the Wallet package (see https://cardano.stackexchange.com/a/3844/3951). I could get the contract instance ID by running: curl -s -H "Content-Type: ...
projection-error's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible