Questions tagged [pab]

the Plutus Application Back-end

Filter by
Sorted by
Tagged with
0 votes
1 answer
96 views

Webpack warning when starting plutus-playground-client

I am getting a warning when I run npm start on the plutus-playground-client: ℹ 「wds」: webpack output is served from / ℹ 「wds」: Content not from webpack is served from /home/datapool/plutus-apps/plutus-...
0 votes
1 answer
60 views

start-cluster - Command failed: genesis create - */genesis.alonzo.spec.json: openBinaryFile: does not exist (No such file or directory)

After cloning latest cardano-node and running nix-shell successfully I get an error running start-cluster and different error if I run with sudo: Do I need to download the latest genesis jason file? ...
0 votes
1 answer
18 views

Can someone help to understand how to use handleChainIndexClient?

I'm not guru with Eff system under Haskell. What i got that method could contains the constraints for monad that should be used with. module ChainIndexHelper where import Plutus.ChainIndex.Client ...
0 votes
1 answer
81 views

Is IOG’s PAB going to be deprecated?

I wonder if we should consider the official PAB deprecated.
0 votes
1 answer
117 views

Does anyone else have trouble syncing to the PAB end to end testnet?

Plutus PAB Testnode git checkout v2021-11-05 Following the instructions on the readme file leads me to a testnet node that is stuck due to a corrupt block error. [relay2:cardano.node.ChainDB:Error:34] ...
2 votes
2 answers
159 views

bootstrap chain-index.db

The process to sync the plutus-pab chain-index for the testnet takes over 3+ days now and will take longer as time goes on. Is it possible to bootstrap the chain-index sync process to reduce the ...
3 votes
1 answer
116 views

Issue compiling pab-local-cluster on M1 processor

I have been trying to get the new PAB beta release to compile on my M1 Mac and have run into an issue. Build log ( /Users/isaacpadberg/.cabal/logs/ghc-8.10.4/crdn-nd-1.30.0-8154d373.log ): Configuring ...
3 votes
2 answers
235 views

How to return funds from a smart contract

If I have assets (can be just ADA for simplicity) locked in a contract, how can I release the funds to the previous owners most efficiently? Some more context regarding the question. I created a pay ...
9 votes
1 answer
336 views

How can I get a fully built transaction from the PAB

According to the Plutus team, the standard way of generating signed transactions containing smart contracts is to have the off-chain code generate a so called unbalanced transaction that is then, in a ...
0 votes
1 answer
63 views

cardano-wallet for pab-local-cluster

Does anyone have an example of how to execute the cardano-wallet CLI for the pab-local-cluster in plutus-apps (tag: v2022-01-17)? I can get access to to the local wallet server APIs, but I need the ...
4 votes
1 answer
65 views

How to start a instance of a SC with PAB and Nami wallet?

I am runnin a PAB server in mainnet but now I am struggling to run it with a external wallet (Nami) I start the instance of the SC with the following command curl --location --request POST 'http://...
1 vote
2 answers
231 views

What is the Cardano's equivalent to the Ethereum's EVM?

What is Cardano's smart contract engine called? Smart contract language: Solidity (Ethereum) => Plutus (Cardano) Simple enough, I get this. Smart contract "engine": EVM (Ethereum) => ?...
5 votes
1 answer
182 views

Where is the Datum stored in PAB?

In utxo we store only the hash of the datum, so whenever you work with the Cardano cli to run a transaction - you should provide datum or its hash via tx-out-datum-embed-file, tx-in-datum-file, etc. ...
1 vote
1 answer
59 views

Why is String being interpreted as a type?

According type applications, this extension allows to give explicit type arguments to a polymorphic function. type VestingSchema = Endpoint "give" GiveParams .\/ ...
0 votes
2 answers
54 views

Upload Smartcontract to Blockchain

I've seen a tutorial where a smart-contract was uploaded to Cardano Blockchain using cardano-cli, so I would like to do the same thing using plutus PAB. How would I do that? The tutorial on lecture 6 ...
1 vote
0 answers
17 views

Why can't I use the same wallet more than once in Plutus Playground?

I'm currently testing my app in the "Plutus Playground" and the simulation will not let me call an endpoint from the same contract more than once. When I try to use the same wallet, the ...
1 vote
1 answer
99 views

Using Endpoints in a PAB Schema

I am trying to find a way to integrate endpoints from a native token staking contract and implement them into the PAB. I am assuming I will heavily be using the getSchema instance. Like so: instance ...
1 vote
0 answers
23 views

When is Contract instance actually finished running?

I'm trying to write tests for my smart contracts. I want to test if my contract has finished running by using this predicate: -- | A 'TracePredicate' checking that the wallet's contract instance ...
1 vote
1 answer
57 views

Where does the PAB run?

I understand that PAB is a backend that: provides a standardized environment in which Plutus applications run provides disciplined state management presents discoverable interfaces to the external ...
0 votes
1 answer
173 views

How to use Plutus chain index with real testnet

I would like to use Plutus API for getting script datum (datumFromHash) but how to setup and run Plutus chain index on testnet or main net? I saw there are methods in Plutus.ChainIndex.Types.
1 vote
1 answer
123 views

Why do we need the ```plutus-chain-index``` to run and why does it take so long to sync

I'm trying to set up a PAB in order to test my contracts Currently I have: fully synced a cardano-node running on testnet fully synced cardano-wallet tracking one wallet a plutus-chain-index syncing ...
4 votes
3 answers
290 views

Project One: IOHK light wallet in the making - where to find the source code?

There was a talk at the Cardano summit mentioning the new Cardano light wallet in the works by IOHK and Charles Hoskinson very briefly made a reference to the same project in his latest Dapps ...
1 vote
0 answers
50 views

setting up the PAB - could not start the plutus-chain-index

I'm trying to follow the lesson 6 of iteration 3 of the plutus-pioneer-program when trying to start che chain index trough the command (fromn the plutus-apps repository) plutus-chain-index --config ./...
0 votes
2 answers
49 views

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

I'm trying to run the PAB-Nami simple demo in the Plutus Apps repo. When I run the PAB, either using cabal or with the nix-shell script, I'm getting the error: plutus-pab-nami-demo: Network.Socket....
0 votes
1 answer
73 views

how to query the chain index tx endpoint?

The following curl is constructed via swagger that says it just needs the string, but this fails. What am I doing wrong? $curl -X 'POST' \ > 'http://localhost:9083/tx' \ > -H 'accept: ...
0 votes
1 answer
65 views

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

When running npm, start inside a nix-shell of plutus-apps/plutus-pab-executables/demo/pab-nami/client
2 votes
0 answers
78 views

Issues running Chain-index on WSL2 - fully syncing but not running the webserver

I've run into an issue with the chain-index while trying to run a PAB testnet environment. The index will start up, sync to 100%, update to new blocks, but the webserver will never start. In fact, the ...
2 votes
1 answer
168 views

Blockfrost and Plutus Application Backend [closed]

I am wondering if anyone has tried both backend services to develope smart contracts? I am aware that IOHK's PAB is compatible only with Plutus whereas Blockfrost's API allows to use other programming ...
0 votes
0 answers
44 views

Cannot send a transaction using Plutus

I get the following error when I try to send a transaction that locks some ADA in a UTXO: [pab:Warning:41] [2022-01-28 11:58:42.88 UTC] WalletClientError "ConnectionError (HttpExceptionRequest ...
0 votes
1 answer
23 views

Can GTK libraries used with Plutus?

Interested in GUI interfaces, is their restriction's in using GTK Haskell libraries with Plutus. Am only starting on Journey so wanted general feedback that might help guide me down right path.
6 votes
1 answer
92 views

Where can I find a good tutorial for PAB?

Up till now, I can't find any tutorial on how to use PAB on the Internet. I really want to try it out to develop Cardano Dapp. Anybody find good ones?
7 votes
1 answer
170 views

Good tutorials / resources for PAB (testnet)

Does anyone have good resources on the PAB connecting to the testnet? I know Lars Brünjes explained it in the pioneers program, but, at that time, we still had to rely on the emulator. I also know we ...
2 votes
1 answer
108 views

How does a Cardano DApp client authorize a payment?

Am I correct in thinking that this requires a DApp connector on the same device as the User's wallet? Or could you have an app on the user's device that doesn't connect to their wallet, but somehow ...
2 votes
0 answers
22 views

Does plutus-pab support parallel requests?

Does plutus-pab support parallel requests to the same smart contract instance? Does plutus-pab support parallel requests to different smart contract instances? By parallel requests I mean calling ...
1 vote
0 answers
99 views

How to use the plutus pab statemachine with RemoteWalletConfig for Nami and Yoroi

Looking at the demo contract provided in the plutus-apps folder, you can follow the example of the PayToWallet endpoint. In this endpoint, yieldUnbalancedTx provides the instance with an unbalanced TX....
1 vote
0 answers
62 views

plutus-pab still not building

I had plutus-playground up and running with a prior commit, but am trying to get the latest version running. I have cloned everything fresh in a new folder. I have successfully run the following ...
1 vote
3 answers
291 views

Error running plutus-playground-client in Linux

I have successfully installed nix, cabal and have setup the IOHK binary cache. I cloned the plutus-app repository and successfully built the Haskell packages and other artifacts with nix. Then running ...
1 vote
3 answers
72 views

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

I'm following this environment setup guide https://docs.plutus-community.com/docs/setup/WindowsWSL.html nix-build -A plutus-pab error: attribute 'plutus-pab' in selection path 'plutus-pab' not found I ...
2 votes
2 answers
111 views

(Solved) Error building Plutus Application Framework

I am trying to build the Plutus Application Framework. I'm running on Archlinux and both Nix and cabal are installed properly as far as I can tell. I have also set the IOHK Binary Caches. However when ...
1 vote
0 answers
149 views

User interaction with smart contracts

I want my users to interact with my smart contracts. All transactions come from these users. There are no transactions - except for setting up - that come from my wallets. As entry point for this ...
5 votes
1 answer
241 views

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

Does anyone know and want to share any information on how to connect PAB to public testnet (not simulator) or mainnet? Are there any examples/tutorials for it?