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:
:<|> "...
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:
...
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/
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
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 ...
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 (...
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 ...
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 ...
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.
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.
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 ...
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.
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: ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
plutus-starter × 26plutus × 19
plutus-pioneer-program × 10
pab × 6
plutus-playground × 4
cabal × 4
plutustx × 3
smart-contract × 2
haskell × 2
vscode × 2
docker × 2
development × 2
wallet × 1
blockchain × 1
minting × 1
nix × 1
nix-shell × 1
simulator × 1
learning × 1
error × 1
haskell-language-server × 1
ghci × 1
create-new-project × 1
mintingpolicy × 1