New answers tagged

0 votes

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
0 votes

Using Endpoints in a PAB Schema

Here is my code I used to setup the PAB contract instances which works for the PAB simluator. getDefinitions = [ InitLottoContract, UseLottoContract ] getSchema = \case ...
user avatar
  • 131
0 votes

StateMachines on Testnet : How to step a client?

My first sugestion would be to avoid using the out-of-the box statemachine from the plutus library at the moment. In it's current form it is highly inneficient and you will quickly run into maxTx ...
user avatar
  • 131
2 votes

Building Plutus-apps on Mac M1

Apple M1 seems to be supported meanwhile. This finally worked for me: $ git clone https://github.com/input-output-hk/plutus-apps $ cabal update $ nix-build -A plutus-playground.server $ nix-build -A ...
user avatar
  • 21
0 votes

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

As a second answer, you can also try to inline wrappedMintingPolicy by hand by doing: threadTokenPolicy :: TTParams -> Scripts.MintingPolicy threadTokenPolicy params = Scripts.mkMintingPolicyScript ...
user avatar
0 votes

Plutus transaction error PT5

PT5 alone means that the validator returned False. You can break down your script into multiple steps of computation and add some traceIfFalse calls along the way to see more context why it happend to ...
user avatar
0 votes
Accepted

Bad File Descriptor on nix-build of Plutus-Apps on Mac M1

You may want to try to follow the guide for Mac M1 here: https://plutus-community.readthedocs.io/en/latest/#Environment/Build/Mac_M1/
user avatar
  • 378
2 votes
Accepted

How can I configure and send a transaction to the Cardano chain using python

Checkout PyCardano. It is able to serialize python objects to datum and redeemers. Maybe this test example can help: https://github.com/cffls/pycardano/blob/main/integration-test/test/test_all.py#L217 ...
user avatar
  • 313

Top 50 recent answers are included