5 votes
Accepted

How does a Cardano DApp client authorize a payment?

That sounds correct. However, you're very flexible in who composes the transaction and who actually submits it to the network. In general at some point a transaction needs to be signed by the end user'...
  • 1,364
4 votes
Accepted

PAB connection to public testnet or mainnet (Example/Tutorial)

You have the best instruction here https://gist.github.com/mikekeke/883d56c38e0237444ac98ae5257e174f Also after the setup on the above link, you can use this starter project generated from the Plutus ...
  • 399
2 votes
Accepted

How to get list of wallets generated by PAB

As I know, there is no such endpoint call. What you can get is all contract instances: By wallet: /api/contract/instances/wallet/<wallet-id> Or general: /api/contract/instances Check here all ...
  • 1,664
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: :<|> "...
  • 1,664
2 votes
Accepted

Good tutorials / resources for PAB (testnet)

You should read Plutus starter PAB testnet notes and Hosted PAB setup for Alonzo testnet gist.
  • 1,657
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

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 ...
  • 221
1 vote
Accepted

How to use Plutus chain index with real testnet

The easiest way is to use this tool to run everything you need: https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/pab-cli. You probably don't need the PAB or wallet ...
  • 553
1 vote

Why can't the PAB webserver find a socket in PAB-Nami demo?

Start up a Cardano Node. Also, make sure to set the node socket path to to location of your node.sock file is: export CARDANO_NODE_SOCKET_PATH=/cardano-node/example/socket/
1 vote
Accepted

Getting TypeError: EC is not a constructor running pab-nami

You're right. There's a bug open internally for this. In future, it's best to raise questions here and bug reports over in the plutus-apps Github repo. I've also raised it there now: #357
  • 553
1 vote

Error running plutus-playground-client in Linux

Thanks. The patch works: git checkout 3746610e53654a1167aeb4c6294c6096d16b0502
  • 188
1 vote
Accepted

Error running plutus-playground-client in Linux

Looks related to an issue I ran into where the directories were missing. I needed to git checkout a patch. Possible solution - https://cardano.stackexchange.com/a/6251/6004 The instructions are at : ...
  • 100
1 vote

nix-build -A plutus-pab? Where do you run this?

I think you don't need to build plutus-pab dependency, if you already have nix installed you can also follow the steps written here.
1 vote

(Solved) Error building Plutus Application Framework

Never mind. I figured out you have to run the command as root. My issue now is I am flagged I don't have enough space in my root partition. Luckily I already have a new drive so I will come back to ...
  • 188
1 vote

How to run smart contracts in the Cardano Blockchain?

You can run smart contracts with the cardano-serilization-lib and its js libraries. Check https://github.com/Berry-Pool/spacebudz to see an example. This allows you to host a web dApp where the user ...

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