New answers tagged

0 votes

Building a transaction on cardano-cli/api without running node?

You could try building on/with parts of the plutus-apps repo. It doesn't need a node. However this is not its intended use case so it won't be without problems. You'll probably have to write your own ...
user avatar
  • 313
2 votes

Cardano CLI - Cardano Transaction Build for NFT from Guide Docs

The minimum Ada value is defined in the protocol parameter here: minUTxOValue So, you can query the network via cardano-cli to dynamically get the minUTxOValue. cardano-cli query protocol-parameters --...
user avatar
  • 121
2 votes
Accepted

How can I make QR codes that work with wallets like nami?

The content of the QR code data will need to match what each wallet is expecting eg receiving address. Each wallet will handle the data differently and could expect different things. Some might expect ...
user avatar
3 votes

Check status of past transaction using cli

The main option you have with cardano-cli is to keep running cardano-cli query utxo --tx-in df8c580d50c1b8f97bd0831edb622be2737bc2a7e46971a8b369ab12e51cb214#0 --mainnet Where ...
user avatar
  • 326
0 votes

Can you include a minting policy in a transaction without minting or burning any tokens?

I had a similar issue where I needed to break up the validator logic to keep under the maxTx size limits. I was able to do this by testing for the presence of threadtokens so that each of validators ...
user avatar
  • 121
0 votes

How can I allow users to update a public array of data based on whether they own a token or not?

I think there are two kinds of solutions. The first is the most cost efficient and is focused on offchain indexing of the database, anybody can do it but there is no logic onchain. The second one is ...
user avatar
  • 803
1 vote

How can I allow users to update a public array of data based on whether they own a token or not?

The transaction size is limited. So your list cannot grow too large. But assuming you stay within these constraints, you can achieve what you want by (i) parametrising your validator with a type that ...
user avatar
  • 1,256
0 votes

Can you include a minting policy in a transaction without minting or burning any tokens?

I know I'm not answering your exact question, but I think I can help you achieve your goal of "abstracting the script logic from the validator and only validate what's necessary for a specific ...
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
2 votes

What is precise calculation algorithm for native asset fees?

There is documentation to calculate the minimum ADA value for a tx output however it is not only out of date(e.g. coinSize has since increased to 2, asset names now hex-encoded instead of ASCII chars),...
user avatar
  • 326

Top 50 recent answers are included