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: :<|> "...
user avatar
  • 1,654
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: ...
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/
user avatar
  • 211
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 (...
user avatar
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.
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.
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 ...
user avatar
  • 201
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.
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: ...
user avatar

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