Hot answers tagged

7 votes
Accepted

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

There is no Cardano equivalent to the EVM because code execution on Cardano is mostly an off-chain process. In short, "smart contracts" is a bit of a misnomer because of how very different ...
zhekson's user avatar
  • 3,629
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'...
sean's user avatar
  • 1,463
4 votes

Why do we need the PAB and how does it work?

This is my understanding. the runEmulatorTraceIO was executing transactions on an "Emulated chain" and "Emulated Wallet" and had did not interact with the outside world or real ...
raghu's user avatar
  • 1,834
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 ...
zarej's user avatar
  • 449
3 votes
Accepted

POSIXTime as payload

I had troubles making POSIXTime a part of JSON payload, you can just unwrap the Integer inside and use it instead. Anyway, JSON serialization is implemented here, you can check that instance for ...
Stanislav Zhdanovich's user avatar
2 votes

How to run Plutus code on Alonzo Purple without the PAB?

For now, and until we have tools for it (the PAB for instance), you have to write your off-chain code as CLI transactions, which is obviously not ideal but the only solution at the moment. I suggest ...
Alain Magazin's user avatar
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.
Andy Jazz's user avatar
  • 1,777
1 vote

Upload Smartcontract to Blockchain

PAB stands for Plutus Application Backend and as a backend is nothing more than a server responding to requests. The PAB takes care of smart contract interaction through the creation of transactions. ...
Michele Nuzzi's user avatar
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 ...
lley154's user avatar
  • 297
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/
dailyinvention's user avatar
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
james's user avatar
  • 1,505
1 vote

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

walletId is an identification of a wallet within PAB, so there is no way to provide it with an id outside the system. To list you current wallets, run: > curl -H "content-type: application/...
Marek Mahut - StakeNuts's user avatar
1 vote

How can I get a fully built transaction from the PAB

You cannot. If you want to use the PAB, you need to send the necessary information from the wallet (utxos, pkh, whatever your script needs) in the frontend and then yield the unbalancedTx back to the ...
Philip DiSarro's user avatar
1 vote

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

As far as I know, the wallet or its source code is not yet release. If you are looking for a metamask equivalent, you might want to check Nami wallet.
Marek Mahut - StakeNuts's user avatar
1 vote

Where can I find a good tutorial for PAB?

Lecture #6 and #10 from Plutus Pioneer Program would be a good start although it might be a bit outdated because there has been many changes since the lectures were published, and PAB itself does not ...
Archi - Pie Stake Pool's user avatar
1 vote

Where is the Datum stored in PAB?

Datum and redeemer (all required data for script execution) are stored on-chain as well so the node can optionally verify the script execution outcome when replaying the chain. Since chainindex ...
sorki's user avatar
  • 497
1 vote

How to get the final balances using the PAB+ the simulator?

You need to include these lines at the end: Simulator.logString @(Builtin TestContracts) "Balances at the end of the simulation" b <- Simulator.currentBalances Simulator.logBalances @(...
georgeos's user avatar
  • 1,754
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: ...
projection-error's user avatar
1 vote

Hypothetically, could someone other than the Cardano Foundation or IO publish an application back end first?

There would simply be two competing libraries and users could simply choose which one they prefer.
kolam's user avatar
  • 385

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