Hot answers tagged

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'...
user avatar
  • 939
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 ...
user avatar
  • 1,784
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 ...
user avatar
  • 369
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 ...
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 ...
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.
user avatar
  • 1,597
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/
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
user avatar
  • 333
1 vote
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 an entirely off-chain process. In short, "smart contracts" is a bit of a misnomer because of how very different ...
user avatar
  • 2,961
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.
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 ...
user avatar
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 @(...
user avatar
  • 1,624
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: ...
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.
user avatar
  • 355

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